; -------------------------------------------------------------------------------- ; @Title: Kinetis K50 On-Chip Peripherals ; @Props: Released ; @Author: KAP, KRW, KAO, PBU, ZUO, BCA ; @Changelog: 2014-01-23 KRW ; 2014-11-06 KAO ; 2015-10-20 ZUO ; 2018-08-06 BCA ; @Manufacturer: NXP - NXP Semiconductors ; @Doc: K53P144M100SF2V2RM.pdf (Rev.2), ; K52P144M100SF2V2RM.pdf (Rev.2), ; K50P100M72SF1RM.pdf (Rev.1.1, ) ; K53P144M100SF2V2.pdf (Rev.3, 2013-06), ; K52P144M100SF2V2.pdf (Rev.3, 2013-06), ; K51P81M100SF2V2.pdf (Rev.4, 2017-09), ; K51P81M100SF2V2RM.pdf (Rev.2, 2012-06), ; K51P100M100SF2V2.pdf (Rev.3, 2013-06), ; K51P100M100SF2V2RM.pdf (Rev.2, 2012-06), ; K51P121M100SF2V2.pdf (Rev.3, 2012-06), ; K51P121M100SF2V2RM.pdf (Rev.2, 2012-06), ; K51P144M100SF2V2.pdf (Rev.3, 2013-06), ; K51P144M100SF2V2RM.pdf (Rev.2, 2012-06), ; K51P64M72SF1.pdf (Rev.3, 2012-11), ; K51P64M72SF1RM.pdf (Rev.1.1, 2012-12), ; K51P81M72SF1.pdf (Rev.3, 2012-11), ; K51P81M72SF1RM.pdf (Rev.1.1, 2012-12), ; K51P100M72SF1.pdf (Rev.3, 2012-11), ; K51P100M72SF1RM.pdf (Rev.1.1, 2012-12), ; K50P81M100SF2V2.pdf (Rev.4, 2017-09), ; K50P81M100SF2V2RM.pdf (Rev.2, 2012-06), ; K50P100M100SF2V2.pdf (Rev.3, 2013-06), ; K50P100M100SF2V2RM.pdf (Rev.2, 2012-06), ; K50P121M100SF2V2.pdf (Rev.3, 2013-06), ; K50P121M100SF2V2RM.pdf (Rev.2, 2012-06), ; K50P144M100SF2V2.pdf (Rev.3, 2013-06), ; K50P144M100SF2V2RM.pdf (Rev.2, 2012-06), ; K50P64M72SF1.pdf (Rev.3, 2012-11), ; K50P64M72SF1RM.pdf (Rev.1.1, 2012-12), ; K50P81M72SF1.pdf (Rev.3, 2012-11), ; K50P81M72SF1RM.pdf (Rev.1.1, 2012-12), ; K50P100M72SF1.pdf (Rev.3, 2012-11), ; K50P100M100SF2.pdf (Rev.7, 2013-02), ; K50P100M100SF2RM.pdf (Rev.6, 2011-11), ; K50P144M100SF2.pdf (Rev.7, 2013-02), ; K50P144M100SF2RM.pdf (Rev.6, 2011-11), ; K51P100M100SF2.pdf (Rev.7, 2013-02), ; K51P100M100SF2RM.pdf (Rev.6, 2011-11), ; K51P121M100SF2.pdf (Rev.7, 2013-02), ; K51P121M100SF2RM.pdf (Rev.6, 2011-11), ; K51P144M100SF2.pdf (Rev.7, 2013-02), ; K51P144M100SF2RM.pdf (Rev.6, 2011-11), ; K52P144M100SF2.pdf (Rev.7, 2013-07), ; K52P144M100SF2RM.pdf (Rev.6, 2011-06), ; K53P144M100SF2.pdf (Rev.7, 2011-11), ; K53P144M100SF2RM.pdf (Rev.6, 2013-02) ; @Core: Cortex-M4 ; @Chip: MK50DN512ZCLL10, MK50DX256ZCLL10, MK50DN512ZCLQ10, MK50DX256ZCLQ10, MK51DN512ZCLL10, MK51DN512ZCMC10, MK51DX256ZCMC10 ; MK51DN256ZCMD10, MK51DN512ZCLQ10, MK52DN512ZCLQ10, MK52DN512ZCMD10, MK53DN512ZCLQ10, MK53DN512ZCMD10, MK53DX256ZCLQ10 ; @Copyright: (C) 1989-2018 Lauterbach GmbH, licensed for use with TRACE32(R) only ; -------------------------------------------------------------------------------- ; $Id: perk50.per 17736 2024-04-08 09:26:07Z kwisniewski $ ;Known problems: ; No documentation for MK50DX128CLL7 - implemented in accordance to MK50DX256CLL7 ; No documentation for MK50DX256CMD10 - not implemented ; No documentation for MK50DX256ZCLQ10 - implemented in accordance to MK50DN512ZCLQ10 ; No documentation for MCUs with EX and MB suffix - not implemented ; Suffix ML changed to MC by Freescale - implemented only MCUs with MC suffix tree.close "Core Registers (Cortex-M4)" AUTOINDENT.PUSH AUTOINDENT.OFF tree "System Control" sif COMPonent.AVAILABLE("COREDEBUG") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1)) width 12. group.long 0x08++0x03 line.long 0x00 "ACTLR,Auxiliary Control Register" bitfld.long 0x00 9. " DISFPCA ,Disables lazy stacking of floating point context" "No,Yes" bitfld.long 0x00 8. " DISOOFP ,Disables floating point instructions completing" "No,Yes" bitfld.long 0x00 2. " DISFOLD ,Disables folding of IT instructions" "No,Yes" textline " " bitfld.long 0x00 1. " DISDEFWBUF ,Disables write buffer use during default memory map accesses" "No,Yes" bitfld.long 0x00 0. " DISMCYCINT ,Disables interruption of multi-cycle instructions" "No,Yes" group.long 0x10++0x0B line.long 0x00 "SYST_CSR,SysTick Control and Status Register" rbitfld.long 0x00 16. " COUNTFLAG ,Counter Flag" "Not counted,Counted" bitfld.long 0x00 2. " CLKSOURCE ,SysTick clock source" "External,Core" bitfld.long 0x00 1. " TICKINT ,SysTick Handler" "No SysTick,SysTick" textline " " bitfld.long 0x00 0. " ENABLE ,Counter Enable" "Disabled,Enabled" line.long 0x04 "SYST_RVR,SysTick Reload Value Register" hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,The value to load into the SYST_CVR when the counter reaches 0" line.long 0x08 "SYST_CVR,SysTick Current Value Register" rgroup.long 0x1C++0x03 line.long 0x00 "SYST_CALIB,SysTick Calibration Value Register" bitfld.long 0x00 31. " NOREF ,Indicates whether the implementation defined reference clock is implemented" "Implemented,Not implemented" bitfld.long 0x00 30. " SKEW ,Indicates whether the 10ms calibration value is exact" "Exact,Inexact" hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Holds a reload value to be used for 10ms (100Hz) timing" rgroup.long 0xD00++0x03 line.long 0x00 "CPUID,CPU ID Base Register" hexmask.long.byte 0x00 24.--31. 1. " IMPLEMENTER ,Implementer Code" bitfld.long 0x00 20.--23. " VARIANT ,Indicates processor revision" "Revision 0,?..." bitfld.long 0x00 16.--19. " ARCHITECTURE ,Architecture" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " hexmask.long.word 0x00 4.--15. 1. " PARTNO ,Indicates part number" bitfld.long 0x00 0.--3. " REVISION ,Indicates patch release" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" group.long 0xD04++0x23 line.long 0x00 "ICSR,Interrupt Control State Register" bitfld.long 0x00 31. " NMIPENDSET ,Set Pending NMI Bit" "Inactive,Active" bitfld.long 0x00 28. " PENDSVSET ,Set Pending pendSV Bit" "Not pending,Pending" bitfld.long 0x00 27. " PENDSVCLR ,Removes the pending status of the PendSV exception" "No effect,Removed" textline " " bitfld.long 0x00 26. " PENDSTSET ,Set Pending SysTick Bit" "Not pending,Pending" bitfld.long 0x00 25. " PENDSTCLR ,Clear Pending SysTick Bit" "No effect,Removed" bitfld.long 0x00 23. " ISRPREEMPT ,Use Only at Debug Time" "Not active,Active" textline " " bitfld.long 0x00 22. " ISRPENDING ,Indicates whether an external interrupt" "Not pending,Pending" hexmask.long.word 0x00 12.--20. 1. " VECTPENDING ,Pending ISR Number Field" bitfld.long 0x00 11. " RETTOBASE ,Interrupt Exception" "Active,Not active" textline " " hexmask.long.word 0x00 0.--8. 1. " VECTACTIVE ,The exception number of the current executing exception" line.long 0x04 "VTOR,Vector Table Offset Register" hexmask.long 0x04 7.--31. 0x80 " TBLOFF ,Vector table address" line.long 0x08 "AIRCR,Application Interrupt and Reset Control Register" hexmask.long.word 0x08 16.--31. 1. " VECTKEY ,Register Key" rbitfld.long 0x08 15. " ENDIANESS ,Data endianness Bit" "Little,Big" bitfld.long 0x08 8.--10. " PRIGROUP ,Interrupt Priority Grouping Field" "[7:1]/[0],[7:2]/[1:0],[7:3]/[2:0],[7:4]/[3:0],[7:5]/[4:0],[7:6]/[5:0],[7]/[6:0],-/[7:0]" textline " " bitfld.long 0x08 2. " SYSRESETREQ ,System Reset Request" "Not requested,Requested" bitfld.long 0x08 1. " VECTCLRACTIVE ,Clear Active Vector Bit" "No effect,Clear" bitfld.long 0x08 0. " VECTRESET ,System Reset" "No effect,Reset" line.long 0x0C "SCR,System Control Register" bitfld.long 0x0C 4. " SEVONPEND ,Determines whether an interrupt transition from inactive state to pending state is a wakeup event" "Not wakeup,Wakeup" bitfld.long 0x0C 2. " SLEEPDEEP ,Provides a qualifying hint indicating that waking from sleep might take longer" "Not deep sleep,Deep sleep" bitfld.long 0x0C 1. " SLEEPONEXIT ,Determines whether, on an exit from an ISR that returns to the base level of execution priority, the processor enters a sleep state" "Disabled,Enabled" line.long 0x10 "CCR,Configuration Control Register" bitfld.long 0x10 18. " BP ,Branch prediction enable bit" "Disabled,Enabled" bitfld.long 0x10 17. " IC ,Instruction cache enable bit" "Disabled,Enabled" bitfld.long 0x10 16. " DC ,Cache enable bit" "Disabled,Enabled" textline " " bitfld.long 0x10 9. " STKALIGN ,8-byte Stack Frame Alignment" "4-byte/no adjustment,8-byte/adjustment" bitfld.long 0x10 8. " BFHFNMIGN ,Enable NMI and Hard Fault and FAULTMASK to Ignore Bus Fault" "Disabled,Enabled" bitfld.long 0x10 4. " DIV_0_TRP ,Trap Divide by Zero" "Disabled,Enabled" textline " " bitfld.long 0x10 3. " UNALIGN_TRP ,Trap for Unaligned Access" "Disabled,Enabled" bitfld.long 0x10 1. " USERSETMPEND ,Controls whether unprivileged software can access the STIR" "Denied,Allowed" bitfld.long 0x10 0. " NONEBASETHRDENA ,Control Entry to Thread Mode" "Only from last exception,Any level" line.long 0x14 "SHPR1,SSystem Handler Priority Register 1" hexmask.long.byte 0x14 24.--31. 1. " PRI_7 ,Priority of System Handler 7" hexmask.long.byte 0x14 16.--23. 1. " PRI_6 ,Priority of system handler 6(UsageFault)" hexmask.long.byte 0x14 8.--15. 1. " PRI_5 ,Priority of system handler 5(BusFault)" textline " " hexmask.long.byte 0x14 0.--7. 1. " PRI_4 ,Priority of system handler 4(MemManage)" line.long 0x18 "SHPR2,System Handler Priority Register 2" hexmask.long.byte 0x18 24.--31. 1. " PRI_11 ,Priority of system handler 11(SVCall)" hexmask.long.byte 0x18 16.--23. 1. " PRI_10 ,Priority of System Handler 10" hexmask.long.byte 0x18 8.--15. 1. " PRI_9 ,Priority of System Handler 9" textline " " hexmask.long.byte 0x18 0.--7. 1. " PRI_8 ,Priority of System Handler 8" line.long 0x1C "SHPR3,System Handler Priority Register 3" hexmask.long.byte 0x1C 24.--31. 1. " PRI_15 ,Priority of System Handler 15(SysTick)" hexmask.long.byte 0x1C 16.--23. 1. " PRI_14 ,Priority of System Handler 14(PendSV)" hexmask.long.byte 0x1C 8.--15. 1. " PRI_13 ,Priority of System Handler 13" textline " " hexmask.long.byte 0x1C 0.--7. 1. " PRI_12 ,Priority of System Handler 12(DebugMonitor)" line.long 0x20 "SHCSR,System Handler Control and State Register" bitfld.long 0x20 18. " USGFAULTENA ,Enable UsageFault" "Disabled,Enabled" bitfld.long 0x20 17. " BUSFAULTENA ,Enable BusFault" "Disabled,Enabled" bitfld.long 0x20 16. " MEMFAULTENA ,Enable MemManage fault" "Disabled,Enabled" textline " " bitfld.long 0x20 15. " SVCALLPENDED ,SVCall is pending" "Not pending,Pending" bitfld.long 0x20 14. " BUSFAULTPENDED ,BusFault is pending" "Not pending,Pending" bitfld.long 0x20 13. " MEMFAULTPENDED ,MemManage is pending" "Not pending,Pending" textline " " bitfld.long 0x20 12. " USGFAULTPENDED ,UsageFault is pending" "Not pending,Pending" bitfld.long 0x20 11. " SYSTICKACT ,SysTick is Active" "Not active,Active" bitfld.long 0x20 10. " PENDSVACT ,PendSV is Active" "Not active,Active" textline " " bitfld.long 0x20 8. " MONITORACT ,Monitor is Active" "Not active,Active" bitfld.long 0x20 7. " SVCALLACT ,SVCall is Active" "Not active,Active" bitfld.long 0x20 3. " USGFAULTACT ,UsageFault is Active" "Not active,Active" textline " " bitfld.long 0x20 1. " BUSFAULTACT ,BusFault is Active" "Not active,Active" bitfld.long 0x20 0. " MEMFAULTACT ,MemManage is Active" "Not active,Active" group.byte 0xD28++0x1 line.byte 0x00 "MMFSR,MemManage Status Register" bitfld.byte 0x00 7. " MMARVALID ,Address Valid Flag" "Not valid,Valid" bitfld.byte 0x00 5. " MLSPERR ,A MemManage fault occurred during FP lazy state preservation" "Not occurred,Occurred" bitfld.byte 0x00 4. " MSTKERR ,tacking Access Violations" "Not occurred,Occurred" textline " " bitfld.byte 0x00 3. " MUNSTKERR ,Unstack Access Violations" "Not occurred,Occurred" bitfld.byte 0x00 1. " DACCVIOL ,Data Access Violation" "Not occurred,Occurred" bitfld.byte 0x00 0. " IACCVIOL ,Instruction Access Violation" "Not occurred,Occurred" line.byte 0x01 "BFSR,Bus Fault Status Register" bitfld.byte 0x01 7. " BFARVALID ,Address Valid Flag" "Not valid,Valid" bitfld.byte 0x01 5. " LSPERR ,A bus fault occurred during FP lazy state preservation" "Not occurred,Occurred" bitfld.byte 0x01 4. " STKERR ,Derived bus fault(exception entry)" "Not occurred,Occurred" textline " " bitfld.byte 0x01 3. " UNSTKERR ,Derived bus fault(exception return)" "Not occurred,Occurred" bitfld.byte 0x01 2. " IMPRECISERR ,Imprecise data access error" "Not occurred,Occurred" bitfld.byte 0x01 1. " PRECISERR ,Precise data access error" "Not occurred,Occurred" textline " " bitfld.byte 0x01 0. " IBUSERR ,Bus fault on an instruction prefetch" "Not occurred,Occurred" group.word 0xD2A++0x1 line.word 0x00 "USAFAULT,Usage Fault Status Register" bitfld.word 0x00 9. " DIVBYZERO ,Divide by zero error" "No error,Error" bitfld.word 0x00 8. " UNALIGNED ,Unaligned access error" "No error,Error" bitfld.word 0x00 3. " NOCP ,A coprocessor access error" "No error,Error" textline " " bitfld.word 0x00 2. " INVPC ,An integrity check error" "No error,Error" bitfld.word 0x00 1. " INVSTATE ,Invalid Combination of EPSR and Instruction" "No error,Error" bitfld.word 0x00 0. " UNDEFINSTR ,Undefined instruction error" "No error,Error" group.long 0xD2C++0x07 line.long 0x00 "HFSR,Hard Fault Status Register" bitfld.long 0x00 31. " DEBUGEVT ,Indicates when a Debug event has occurred" "Not occurred,Occurred" bitfld.long 0x00 30. " FORCED ,Indicates that a fault with configurable priority" "Not occurred,Occurred" bitfld.long 0x00 1. " VECTTBL ,Indicates when a fault has occurred because of a vector table read error on exception processing" "Not occurred,Occurred" line.long 0x04 "DFSR,Debug Fault Status Register" bitfld.long 0x04 4. " EXTERNAL ,Indicates a debug event generated because of the assertion of EDBGRQ" "Not asserted,Asserted" bitfld.long 0x04 3. " VCATCH ,Vector Catch Flag" "Not occurred,Occurred" bitfld.long 0x04 2. " DWTTRAP ,Indicates a debug event generated by the DWT" "Not occurred,Occurred" textline " " bitfld.long 0x04 1. " BKPT ,BKPT Flag" "Not executed,Executed" bitfld.long 0x04 0. " HALTED ,Indicates a debug event generated by either" "Not requested,Requested" group.long 0xD34++0x0B line.long 0x00 "MMFAR,MemManage Fault Address Register" line.long 0x04 "BFAR,BusFault Address Register" line.long 0x08 "AFSR,Auxiliary Fault Status Register" group.long 0xD88++0x03 line.long 0x00 "CPACR,Coprocessor Access Control Register" bitfld.long 0x00 22.--23. " CP11 ,Access privileges for coprocessor 11" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 20.--21. " CP10 ,Access privileges for coprocessor 10" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 14.--15. " CP7 ,Access privileges for coprocessor 7" "Access denied,Privileged only,Reserved,Full access" textline " " bitfld.long 0x00 12.--13. " CP6 ,Access privileges for coprocessor 6" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 10.--11. " CP5 ,Access privileges for coprocessor 5" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 8.--9. " CP4 ,Access privileges for coprocessor 4" "Access denied,Privileged only,Reserved,Full access" textline " " bitfld.long 0x00 6.--7. " CP3 ,Access privileges for coprocessor 3" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 4.--5. " CP2 ,Access privileges for coprocessor 2" "Access denied,Privileged only,Reserved,Full access" bitfld.long 0x00 2.--3. " CP1 ,Access privileges for coprocessor 1" "Access denied,Privileged only,Reserved,Full access" textline " " bitfld.long 0x00 0.--1. " CP0 ,Access privileges for coprocessor 0" "Access denied,Privileged only,Reserved,Full access" wgroup.long 0xF00++0x03 line.long 0x00 "STIR,Software Trigger Interrupt Register" hexmask.long.word 0x00 0.--8. 1. " INTID ,Indicates the interrupt to be triggered" width 10. tree "Feature Registers" rgroup.long 0xD40++0x0B line.long 0x00 "ID_PFR0,Processor Feature Register 0" bitfld.long 0x00 4.--7. " STATE1 ,Thumb instruction set support" ",,,Supported,?..." bitfld.long 0x00 0.--3. " STATE0 ,ARM instruction set support" "Not supported,?..." line.long 0x04 "ID_PFR1,Processor Feature Register 1" bitfld.long 0x04 8.--11. " MPROF ,M profile programmers' model" ",,2-stack,?..." line.long 0x08 "ID_DFR0,Debug Feature Register 0" bitfld.long 0x08 20.--23. " DBGMOD ,Support for memory-mapped debug model for M profile processors" "Not supported,Supported,?..." hgroup.long 0xD4C++0x03 hide.long 0x00 "ID_AFR0,Auxiliary Feature Register 0" rgroup.long 0xD50++0x03 line.long 0x00 "ID_MMFR0,Memory Model Feature Register 0" bitfld.long 0x00 20.--23. " AUXREG ,Indicates the support for Auxiliary registers" "Not supported,ACTLR only,?..." bitfld.long 0x00 16.--19. " TCMSUP ,Indicates the support for Tightly Coupled Memory (TCM)" "Not supported,Supported,?..." bitfld.long 0x00 12.--15. " SHRLEV ,Indicates the number of shareability levels implemented" "Level 1,?..." textline " " bitfld.long 0x00 8.--11. " OUTMSHR ,Indicates the outermost shareability domain implemented" "Non-cacheable,,,,,,,,,,,,,,,Ignored" bitfld.long 0x00 4.--7. " PMSASUP ,Indicates support for a PMSA" "Not supported,,,PMSAv7,?..." hgroup.long 0xD54++0x03 hide.long 0x00 "ID_MMFR1,Memory Model Feature Register 1" rgroup.long 0xD58++0x03 line.long 0x00 "ID_MMFR2,Memory Model Feature Register 2" bitfld.long 0x00 24.--27. " WFISTALL ,Indicates the support for Wait For Interrupt (WFI) stalling" "Not supported,Supported,?..." rgroup.long 0xD60++0x13 line.long 0x00 "ID_ISAR0,Instruction Set Attributes Register 0" bitfld.long 0x00 24.--27. " DIVIDE ,Indicates the supported divide instructions" "Not supported,SDIV/UDIV,?..." bitfld.long 0x00 20.--23. " DEBUG ,Indicates the supported debug instructions" "Not supported,BKPT,?..." bitfld.long 0x00 16.--19. " COPROC ,Indicates the supported coprocessor instructions" "Not supported,CDP/LDC/MCR/STC,CDP2/LDC2/MCR2/STC2,MCRR/MRRC,MCRR2/MRRC2,?..." textline " " bitfld.long 0x00 12.--15. " CMPBRANCH ,Indicates the supported combined compare and branch instructions" "Not supported,CBNZ/CBZ,?..." bitfld.long 0x00 8.--11. " BITFIELD ,Indicates the supported bitfield instructions" "Not supported,BFC/BFI/SBFX/UBFX,?..." bitfld.long 0x00 4.--7. " BITCOUNT ,Indicates the supported bit counting instructions" "Not supported,CLZ,?..." line.long 0x04 "ID_ISAR1,Instruction Set Attributes Register 1" bitfld.long 0x04 24.--27. " INTERWORK ,Indicates the supported Interworking instructions" "Not supported,BX,BX/BLX,?..." bitfld.long 0x04 20.--23. " IMMEDIATE ,Indicates the support for data-processing instructions with long immediates" "Not supported,ADDW/MOVW/MOVT/SUBW,?..." bitfld.long 0x04 16.--19. " IFTHEN ,Indicates the supported IfThen instructions" "Not supported,IT,?..." textline " " bitfld.long 0x04 12.--15. " EXTEND ,Indicates the supported Extend instructions" "Not supported,Supported,Supported,?..." line.long 0x08 "ID_ISAR2,Instruction Set Attributes Register 2" bitfld.long 0x08 24.--27. " REVERSAL ,Indicates the supported reversal instructions" "Not supported,REV/REV16/REVSH,REV/REV16/REVSH/RBIT,?..." bitfld.long 0x08 20.--23. " MULTU ,Indicates the supported advanced unsigned multiply instructions" "Not supported,UMULL/UMLAL,UMULL/UMLAL/UMAAL,?..." bitfld.long 0x08 16.--19. " MULTS ,Indicates the supported advanced signed multiply instructions" "Not supported,Supported,Supported,Supported,?..." textline " " bitfld.long 0x08 12.--15. " MULT ,Indicates the supported additional multiply instructions" "Not supported,MLA,MLA/MLS,?..." bitfld.long 0x08 8.--11. " MULTIACCESSINT ,Indicates the support for multi-access interruptible instructions" "Not supported,LDM/STM restartable,LDM/STM continuable,?..." bitfld.long 0x08 4.--7. " MEMHINT ,Indicates the supported memory hint instructions" "Not supported,,,PLD/PLI,?..." textline " " bitfld.long 0x08 0.--3. " LOADSTORE ,Indicates the supported additional load and store instructions" "Not supported,LDRD/STRD,?..." line.long 0x0C "ID_ISAR3,Instruction Set Attributes Register 3" bitfld.long 0x0C 24.--27. " TRUENOP ,Indicates the support for a true NOP instruction" "Not supported,Supported,?..." bitfld.long 0x0C 20.--23. " THUMBCOPY ,Indicates the supported non flag-setting MOV instructions" "Not supported,Supported,?..." bitfld.long 0x0C 16.--19. " TABBRANCH ,Indicates the supported Table Branch instructions" "Not supported,TBB/TBH,?..." textline " " bitfld.long 0x0C 12.--15. " SYNCHPRIM ,Indicates the supported Table Branch instructions" "Not supported,Supported,Supported,Supported,?..." bitfld.long 0x0C 8.--11. " SVC ,Indicates the supported SVC instructions" "Not supported,SVC,?..." bitfld.long 0x0C 4.--7. " SIMD ,Indicates the supported SIMD instructions" "Not supported,Supported,,Supported,?..." textline " " bitfld.long 0x0C 0.--3. " SATURATE ,Indicates the supported Saturate instructions" "Not supported,QADD/QDADD/QDSUB/QSUB,?..." line.long 0x10 "ID_ISAR4,Instruction Set Attributes Register 4" bitfld.long 0x10 24.--27. " PSR_M ,Indicates the supported M profile instructions to modify the PSRs" "Not supported,Supported,?..." bitfld.long 0x10 20.--23. " SYNCHPRIMFRAC ,Indicates the supported M profile instructions to modify the PSRs" "Not supported,Supported,Supported,Supported,?..." bitfld.long 0x10 16.--19. " BARRIER ,Indicates the supported Barrier instructions" "Not supported,DMB/DSB/ISB,?..." textline " " bitfld.long 0x10 8.--11. " WRITEBACK ,Indicates the support for writeback addressing modes" "Basic support,Full support,?..." bitfld.long 0x10 4.--7. " WITHSHIFTS ,Indicates the support for instructions with shifts" "MOV/shift,Shift LSL 0-3,,Shift other,?..." bitfld.long 0x10 0.--3. " UNPRIV ,Indicates the supported unprivileged instructions" "Not supported,LDRBT/LDRT/STRBT/STRT,LDRBT/LDRT/STRBT/STRT/LDRHT/LDRSBT/LDRSHTSTRHT,?..." tree.end width 6. tree "CoreSight Identification Registers" rgroup.long 0xFE0++0x0F line.long 0x00 "PID0,Peripheral ID0" hexmask.long.byte 0x00 0.--7. 1. " Part_Num[7:0] ,Part Number bits[7:0]" line.long 0x04 "PID1,Peripheral ID1" hexmask.long.byte 0x04 4.--7. 1. " JEP106ID[3:0] ,JEP106 ID code bits[3:0]" hexmask.long.byte 0x04 0.--3. 1. " Part_Num[11:8] ,Part Number bits[11:8]" line.long 0x08 "PID2,Peripheral ID2" hexmask.long.byte 0x08 4.--7. 1. " Revision ,Revision" bitfld.long 0x08 3. " JEDEC ,JEDEC assigned ID fields" "0,JEDEC" hexmask.long.byte 0x08 0.--2. 1. " JEP106ID[6:4] ,JEP106 ID code bits[6:4]" line.long 0x0C "PID3,Peripheral ID3" hexmask.long.byte 0x0C 4.--7. 1. " RevAnd ,Minor revision field" hexmask.long.byte 0x0C 0.--3. 1. " CMB ,Customer-modified block" rgroup.long 0xFD0++0x03 line.long 0x00 "PID4,Peripheral Identification Register 4" hexmask.long.byte 0x00 4.--7. 1. " Count ,4KB count" hexmask.long.byte 0x00 0.--3. 1. " JEP106_CC ,JEP106 continuation code" rgroup.long 0xFF0++0x0F line.long 0x00 "CID0,Component ID0 (Preamble)" line.long 0x04 "CID1,Component ID1" hexmask.long.byte 0x04 4.--7. 1. " CC ,Component Class" hexmask.long.byte 0x04 0.--3. 1. " Preamble ,Preamble" line.long 0x08 "CID2,Component ID2" line.long 0x0C "CID3,Component ID3" tree.end width 0x0B else newline textline "COREDEBUG component base address not specified" newline endif tree.end tree "Memory Protection Unit" sif COMPonent.AVAILABLE("COREDEBUG") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1)) width 15. rgroup.long 0xD90++0x03 line.long 0x00 "MPU_TYPE,MPU Type Register" bitfld.long 0x00 16.--23. " IREGION ,Instruction region" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,?..." bitfld.long 0x00 8.--15. " DREGION ,Number of regions supported by the MPU" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,?..." bitfld.long 0x00 0. " SEPARATE ,Indicates support for separate instruction and data address maps" "Not supported,Supported" group.long 0xD94++0x03 line.long 0x00 "MPU_CTRL,MPU Control Register" bitfld.long 0x00 2. " PRIVDEFENA ,Enables the default memory map as a background region for privileged access" "Disabled,Enabled" bitfld.long 0x00 1. " HFNMIENA ,Handlers executing with priority less than 0 access memory with the MPU enabled or with the MPU disabled" "MPU disabled,MPU enabled" bitfld.long 0x00 0. " ENABLE ,Enables the MPU" "Disabled,Enabled" group.long 0xD98++0x03 line.long 0x00 "MPU_RNR,MPU Region Number Register" hexmask.long.byte 0x00 0.--7. 1. " REGION ,Indicates the memory region accessed by MPU_RBAR and MPU_RASR" tree.close "MPU regions" if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x0 group.long 0xD9C++0x03 "Region 0" saveout 0xD98 %l 0x0 line.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x0 line.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 0 (not implemented)" saveout 0xD98 %l 0x0 hide.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x0 hide.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x1 group.long 0xD9C++0x03 "Region 1" saveout 0xD98 %l 0x1 line.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x1 line.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 1 (not implemented)" saveout 0xD98 %l 0x1 hide.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x1 hide.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x2 group.long 0xD9C++0x03 "Region 2" saveout 0xD98 %l 0x2 line.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x2 line.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 2 (not implemented)" saveout 0xD98 %l 0x2 hide.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x2 hide.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x3 group.long 0xD9C++0x03 "Region 3" saveout 0xD98 %l 0x3 line.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x3 line.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 3 (not implemented)" saveout 0xD98 %l 0x3 hide.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x3 hide.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x4 group.long 0xD9C++0x03 "Region 4" saveout 0xD98 %l 0x4 line.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x4 line.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 4 (not implemented)" saveout 0xD98 %l 0x4 hide.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x4 hide.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x5 group.long 0xD9C++0x03 "Region 5" saveout 0xD98 %l 0x5 line.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x5 line.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 5 (not implemented)" saveout 0xD98 %l 0x5 hide.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x5 hide.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x6 group.long 0xD9C++0x03 "Region 6" saveout 0xD98 %l 0x6 line.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x6 line.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 6 (not implemented)" saveout 0xD98 %l 0x6 hide.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x6 hide.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x7 group.long 0xD9C++0x03 "Region 7" saveout 0xD98 %l 0x7 line.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x7 line.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 7 (not implemented)" saveout 0xD98 %l 0x7 hide.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x7 hide.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x8 group.long 0xD9C++0x03 "Region 8" saveout 0xD98 %l 0x8 line.long 0x00 "MPU_RBAR8,MPU Region Base Address Register 8" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x8 line.long 0x00 "MPU_RASR8,MPU Region Attribute and Size Register 8" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 8 (not implemented)" saveout 0xD98 %l 0x8 hide.long 0x00 "MPU_RBAR8,MPU Region Base Address Register 8" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x8 hide.long 0x00 "MPU_RASR8,MPU Region Attribute and Size Register 8" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x9 group.long 0xD9C++0x03 "Region 9" saveout 0xD98 %l 0x9 line.long 0x00 "MPU_RBAR9,MPU Region Base Address Register 9" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0x9 line.long 0x00 "MPU_RASR9,MPU Region Attribute and Size Register 9" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 9 (not implemented)" saveout 0xD98 %l 0x9 hide.long 0x00 "MPU_RBAR9,MPU Region Base Address Register 9" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0x9 hide.long 0x00 "MPU_RASR9,MPU Region Attribute and Size Register 9" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xA group.long 0xD9C++0x03 "Region 10" saveout 0xD98 %l 0xA line.long 0x00 "MPU_RBAR10,MPU Region Base Address Register 10" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xA line.long 0x00 "MPU_RASR10,MPU Region Attribute and Size Register 10" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 10 (not implemented)" saveout 0xD98 %l 0xA hide.long 0x00 "MPU_RBAR10,MPU Region Base Address Register 10" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xA hide.long 0x00 "MPU_RASR10,MPU Region Attribute and Size Register 10" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xB group.long 0xD9C++0x03 "Region 11" saveout 0xD98 %l 0xB line.long 0x00 "MPU_RBAR11,MPU Region Base Address Register 11" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xB line.long 0x00 "MPU_RASR11,MPU Region Attribute and Size Register 11" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 11 (not implemented)" saveout 0xD98 %l 0xB hide.long 0x00 "MPU_RBAR11,MPU Region Base Address Register 11" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xB hide.long 0x00 "MPU_RASR11,MPU Region Attribute and Size Register 11" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xC group.long 0xD9C++0x03 "Region 12" saveout 0xD98 %l 0xC line.long 0x00 "MPU_RBAR12,MPU Region Base Address Register 12" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xC line.long 0x00 "MPU_RASR12,MPU Region Attribute and Size Register 12" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 12 (not implemented)" saveout 0xD98 %l 0xC hide.long 0x00 "MPU_RBAR12,MPU Region Base Address Register 12" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xC hide.long 0x00 "MPU_RASR12,MPU Region Attribute and Size Register 12" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xD group.long 0xD9C++0x03 "Region 13" saveout 0xD98 %l 0xD line.long 0x00 "MPU_RBAR13,MPU Region Base Address Register 13" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xD line.long 0x00 "MPU_RASR13,MPU Region Attribute and Size Register 13" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 13 (not implemented)" saveout 0xD98 %l 0xD hide.long 0x00 "MPU_RBAR13,MPU Region Base Address Register 13" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xD hide.long 0x00 "MPU_RASR13,MPU Region Attribute and Size Register 13" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xE group.long 0xD9C++0x03 "Region 14" saveout 0xD98 %l 0xE line.long 0x00 "MPU_RBAR14,MPU Region Base Address Register 14" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xE line.long 0x00 "MPU_RASR14,MPU Region Attribute and Size Register 14" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 14 (not implemented)" saveout 0xD98 %l 0xE hide.long 0x00 "MPU_RBAR14,MPU Region Base Address Register 14" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xE hide.long 0x00 "MPU_RASR14,MPU Region Attribute and Size Register 14" textline " " textline " " endif if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0xF group.long 0xD9C++0x03 "Region 15" saveout 0xD98 %l 0xF line.long 0x00 "MPU_RBAR15,MPU Region Base Address Register 15" hexmask.long 0x00 5.--31. 0x20 " ADDR ,Base address of the region" group.long 0xDA0++0x03 saveout 0xD98 %l 0xF line.long 0x00 "MPU_RASR15,MPU Region Attribute and Size Register 15" bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute" bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RW,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-" bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7" textline " " bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable" bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable" bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable" textline " " bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1" bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1" bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1" bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1" bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1" bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1" bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1" bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1" bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,32 B,64 B,128 B,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB" bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled" else hgroup.long 0xD9C++0x03 "Region 15 (not implemented)" saveout 0xD98 %l 0xF hide.long 0x00 "MPU_RBAR15,MPU Region Base Address Register 15" hgroup.long 0xDA0++0x03 saveout 0xD98 %l 0xF hide.long 0x00 "MPU_RASR15,MPU Region Attribute and Size Register 15" textline " " textline " " endif tree.end width 0x0b else newline textline "COREDEBUG component base address not specified" newline endif tree.end tree "Nested Vectored Interrupt Controller" sif COMPonent.AVAILABLE("COREDEBUG") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1)) width 6. rgroup.long 0x04++0x03 line.long 0x00 "ICTR,Interrupt Controller Type Register" bitfld.long 0x00 0.--3. " INTLINESNUM ,Total Number of Interrupt" "0-32,33-64,65-96,97-128,129-160,161-192,193-224,225-240,?..." tree "Interrupt Enable Registers" width 23. if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x00) group.long 0x100++0x03 line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x01) group.long 0x100++0x7 line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x02) group.long 0x100++0x0B line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x03) group.long 0x100++0x0F line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " ENA127 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " ENA126 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " ENA125 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " ENA124 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " ENA123 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " ENA122 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " ENA121 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " ENA120 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " ENA119 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " ENA118 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " ENA117 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " ENA116 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " ENA115 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " ENA114 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " ENA113 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " ENA112 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " ENA111 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " ENA110 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " ENA109 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " ENA108 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " ENA107 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " ENA106 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " ENA105 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " ENA104 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " ENA103 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " ENA102 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " ENA101 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " ENA100 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " ENA99 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " ENA98 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " ENA97 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " ENA96 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x04) group.long 0x100++0x13 line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " ENA127 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " ENA126 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " ENA125 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " ENA124 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " ENA123 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " ENA122 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " ENA121 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " ENA120 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " ENA119 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " ENA118 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " ENA117 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " ENA116 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " ENA115 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " ENA114 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " ENA113 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " ENA112 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " ENA111 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " ENA110 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " ENA109 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " ENA108 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " ENA107 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " ENA106 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " ENA105 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " ENA104 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " ENA103 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " ENA102 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " ENA101 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " ENA100 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " ENA99 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " ENA98 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " ENA97 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " ENA96 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x10 "IRQ128_159_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " ENA159 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " ENA158 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " ENA157 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " ENA156 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " ENA155 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " ENA154 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " ENA153 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " ENA152 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " ENA151 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " ENA150 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " ENA149 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " ENA148 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " ENA147 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " ENA146 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " ENA145 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " ENA144 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " ENA143 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " ENA142 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " ENA141 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " ENA140 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " ENA139 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " ENA138 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " ENA137 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " ENA136 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " ENA135 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " ENA134 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " ENA133 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " ENA132 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " ENA131 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " ENA130 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " ENA129 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " ENA128 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x05) group.long 0x100++0x17 line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " ENA127 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " ENA126 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " ENA125 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " ENA124 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " ENA123 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " ENA122 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " ENA121 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " ENA120 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " ENA119 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " ENA118 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " ENA117 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " ENA116 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " ENA115 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " ENA114 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " ENA113 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " ENA112 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " ENA111 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " ENA110 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " ENA109 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " ENA108 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " ENA107 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " ENA106 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " ENA105 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " ENA104 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " ENA103 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " ENA102 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " ENA101 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " ENA100 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " ENA99 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " ENA98 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " ENA97 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " ENA96 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x10 "IRQ128_159_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " ENA159 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " ENA158 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " ENA157 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " ENA156 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " ENA155 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " ENA154 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " ENA153 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " ENA152 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " ENA151 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " ENA150 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " ENA149 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " ENA148 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " ENA147 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " ENA146 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " ENA145 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " ENA144 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " ENA143 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " ENA142 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " ENA141 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " ENA140 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " ENA139 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " ENA138 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " ENA137 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " ENA136 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " ENA135 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " ENA134 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " ENA133 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " ENA132 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " ENA131 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " ENA130 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " ENA129 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " ENA128 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x14 "IRQ160_191_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " ENA191 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " ENA190 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " ENA189 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " ENA188 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " ENA187 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " ENA186 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " ENA185 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " ENA184 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " ENA183 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " ENA182 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " ENA181 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " ENA180 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " ENA179 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " ENA178 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " ENA177 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " ENA176 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " ENA175 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " ENA174 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " ENA173 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " ENA172 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " ENA171 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " ENA170 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " ENA169 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " ENA168 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " ENA167 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " ENA166 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " ENA165 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " ENA164 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " ENA163 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " ENA162 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " ENA161 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " ENA160 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x06) group.long 0x100++0x1B line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " ENA127 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " ENA126 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " ENA125 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " ENA124 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " ENA123 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " ENA122 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " ENA121 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " ENA120 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " ENA119 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " ENA118 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " ENA117 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " ENA116 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " ENA115 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " ENA114 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " ENA113 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " ENA112 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " ENA111 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " ENA110 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " ENA109 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " ENA108 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " ENA107 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " ENA106 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " ENA105 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " ENA104 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " ENA103 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " ENA102 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " ENA101 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " ENA100 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " ENA99 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " ENA98 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " ENA97 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " ENA96 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x10 "IRQ128_159_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " ENA159 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " ENA158 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " ENA157 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " ENA156 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " ENA155 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " ENA154 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " ENA153 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " ENA152 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " ENA151 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " ENA150 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " ENA149 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " ENA148 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " ENA147 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " ENA146 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " ENA145 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " ENA144 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " ENA143 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " ENA142 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " ENA141 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " ENA140 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " ENA139 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " ENA138 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " ENA137 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " ENA136 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " ENA135 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " ENA134 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " ENA133 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " ENA132 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " ENA131 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " ENA130 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " ENA129 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " ENA128 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x14 "IRQ160_191_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " ENA191 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " ENA190 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " ENA189 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " ENA188 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " ENA187 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " ENA186 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " ENA185 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " ENA184 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " ENA183 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " ENA182 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " ENA181 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " ENA180 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " ENA179 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " ENA178 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " ENA177 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " ENA176 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " ENA175 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " ENA174 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " ENA173 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " ENA172 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " ENA171 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " ENA170 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " ENA169 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " ENA168 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " ENA167 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " ENA166 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " ENA165 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " ENA164 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " ENA163 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " ENA162 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " ENA161 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " ENA160 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x18 "IRQ192_223_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x18 31. 0x18 31. 0x98 31. " ENA223 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 30. 0x18 30. 0x98 30. " ENA222 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 29. 0x18 29. 0x98 29. " ENA221 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 28. 0x18 28. 0x98 28. " ENA220 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 27. 0x18 27. 0x98 27. " ENA219 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 26. 0x18 26. 0x98 26. " ENA218 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 25. 0x18 25. 0x98 25. " ENA217 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 24. 0x18 24. 0x98 24. " ENA216 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 23. 0x18 23. 0x98 23. " ENA215 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 22. 0x18 22. 0x98 22. " ENA214 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 21. 0x18 21. 0x98 21. " ENA213 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 20. 0x18 20. 0x98 20. " ENA212 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 19. 0x18 19. 0x98 19. " ENA211 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 18. 0x18 18. 0x98 18. " ENA210 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 17. 0x18 17. 0x98 17. " ENA209 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 16. 0x18 16. 0x98 16. " ENA208 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 15. 0x18 15. 0x98 15. " ENA207 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 14. 0x18 14. 0x98 14. " ENA206 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 13. 0x18 13. 0x98 13. " ENA205 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 12. 0x18 12. 0x98 12. " ENA204 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 11. 0x18 11. 0x98 11. " ENA203 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 10. 0x18 10. 0x98 10. " ENA202 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 9. 0x18 9. 0x98 9. " ENA201 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 8. 0x18 8. 0x98 8. " ENA200 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 7. 0x18 7. 0x98 7. " ENA199 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 6. 0x18 6. 0x98 6. " ENA198 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 5. 0x18 5. 0x98 5. " ENA197 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 4. 0x18 4. 0x98 4. " ENA196 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 3. 0x18 3. 0x98 3. " ENA195 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 2. 0x18 2. 0x98 2. " ENA194 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 1. 0x18 1. 0x98 1. " ENA193 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 0. 0x18 0. 0x98 0. " ENA192 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x07) group.long 0x100++0x1F line.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " ENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " ENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " ENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " ENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " ENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " ENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " ENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " ENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " ENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " ENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " ENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " ENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " ENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " ENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " ENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " ENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " ENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " ENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " ENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " ENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " ENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " ENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " ENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " ENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " ENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " ENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " ENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " ENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " ENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " ENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " ENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " ENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " ENA63 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " ENA62 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " ENA61 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " ENA60 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " ENA59 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " ENA58 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " ENA57 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " ENA56 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " ENA55 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " ENA54 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " ENA53 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " ENA52 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " ENA51 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " ENA50 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " ENA49 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " ENA48 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " ENA47 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " ENA46 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " ENA45 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " ENA44 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " ENA43 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " ENA42 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " ENA41 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " ENA40 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " ENA39 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " ENA38 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " ENA37 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " ENA36 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " ENA35 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " ENA34 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " ENA33 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " ENA32 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " ENA95 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " ENA94 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " ENA93 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " ENA92 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " ENA91 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " ENA90 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " ENA89 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " ENA88 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " ENA87 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " ENA86 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " ENA85 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " ENA84 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " ENA83 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " ENA82 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " ENA81 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " ENA80 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " ENA79 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " ENA78 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " ENA77 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " ENA76 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " ENA75 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " ENA74 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " ENA73 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " ENA72 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " ENA71 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " ENA70 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " ENA69 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " ENA68 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " ENA67 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " ENA66 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " ENA65 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " ENA64 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " ENA127 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " ENA126 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " ENA125 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " ENA124 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " ENA123 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " ENA122 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " ENA121 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " ENA120 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " ENA119 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " ENA118 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " ENA117 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " ENA116 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " ENA115 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " ENA114 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " ENA113 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " ENA112 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " ENA111 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " ENA110 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " ENA109 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " ENA108 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " ENA107 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " ENA106 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " ENA105 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " ENA104 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " ENA103 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " ENA102 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " ENA101 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " ENA100 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " ENA99 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " ENA98 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " ENA97 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " ENA96 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x10 "IRQ128_159_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " ENA159 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " ENA158 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " ENA157 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " ENA156 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " ENA155 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " ENA154 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " ENA153 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " ENA152 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " ENA151 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " ENA150 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " ENA149 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " ENA148 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " ENA147 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " ENA146 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " ENA145 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " ENA144 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " ENA143 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " ENA142 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " ENA141 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " ENA140 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " ENA139 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " ENA138 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " ENA137 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " ENA136 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " ENA135 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " ENA134 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " ENA133 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " ENA132 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " ENA131 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " ENA130 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " ENA129 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " ENA128 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x14 "IRQ160_191_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " ENA191 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " ENA190 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " ENA189 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " ENA188 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " ENA187 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " ENA186 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " ENA185 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " ENA184 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " ENA183 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " ENA182 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " ENA181 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " ENA180 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " ENA179 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " ENA178 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " ENA177 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " ENA176 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " ENA175 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " ENA174 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " ENA173 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " ENA172 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " ENA171 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " ENA170 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " ENA169 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " ENA168 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " ENA167 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " ENA166 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " ENA165 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " ENA164 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " ENA163 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " ENA162 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " ENA161 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " ENA160 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x18 "IRQ192_223_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x18 31. 0x18 31. 0x98 31. " ENA223 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 30. 0x18 30. 0x98 30. " ENA222 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 29. 0x18 29. 0x98 29. " ENA221 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 28. 0x18 28. 0x98 28. " ENA220 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 27. 0x18 27. 0x98 27. " ENA219 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 26. 0x18 26. 0x98 26. " ENA218 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 25. 0x18 25. 0x98 25. " ENA217 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 24. 0x18 24. 0x98 24. " ENA216 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 23. 0x18 23. 0x98 23. " ENA215 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 22. 0x18 22. 0x98 22. " ENA214 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 21. 0x18 21. 0x98 21. " ENA213 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 20. 0x18 20. 0x98 20. " ENA212 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 19. 0x18 19. 0x98 19. " ENA211 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 18. 0x18 18. 0x98 18. " ENA210 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 17. 0x18 17. 0x98 17. " ENA209 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 16. 0x18 16. 0x98 16. " ENA208 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 15. 0x18 15. 0x98 15. " ENA207 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 14. 0x18 14. 0x98 14. " ENA206 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 13. 0x18 13. 0x98 13. " ENA205 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 12. 0x18 12. 0x98 12. " ENA204 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 11. 0x18 11. 0x98 11. " ENA203 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 10. 0x18 10. 0x98 10. " ENA202 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 9. 0x18 9. 0x98 9. " ENA201 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 8. 0x18 8. 0x98 8. " ENA200 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 7. 0x18 7. 0x98 7. " ENA199 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 6. 0x18 6. 0x98 6. " ENA198 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 5. 0x18 5. 0x98 5. " ENA197 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 4. 0x18 4. 0x98 4. " ENA196 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 3. 0x18 3. 0x98 3. " ENA195 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 2. 0x18 2. 0x98 2. " ENA194 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x18 1. 0x18 1. 0x98 1. " ENA193 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x18 0. 0x18 0. 0x98 0. " ENA192 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" line.long 0x1c "IRQ224_239_EN_SET/CLR,Interrupt Enable Register" setclrfld.long 0x1c 15. 0x1c 15. 0x9c 15. " ENA239 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 14. 0x1c 14. 0x9c 14. " ENA238 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 13. 0x1c 13. 0x9c 13. " ENA237 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 12. 0x1c 12. 0x9c 12. " ENA236 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 11. 0x1c 11. 0x9c 11. " ENA235 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 10. 0x1c 10. 0x9c 10. " ENA234 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x1c 9. 0x1c 9. 0x9c 9. " ENA233 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 8. 0x1c 8. 0x9c 8. " ENA232 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 7. 0x1c 7. 0x9c 7. " ENA231 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 6. 0x1c 6. 0x9c 6. " ENA230 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 5. 0x1c 5. 0x9c 5. " ENA229 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 4. 0x1c 4. 0x9c 4. " ENA228 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" textline " " setclrfld.long 0x1c 3. 0x1c 3. 0x9c 3. " ENA227 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 2. 0x1c 2. 0x9c 2. " ENA226 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 1. 0x1c 1. 0x9c 1. " ENA225 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" setclrfld.long 0x1c 0. 0x1c 0. 0x9c 0. " ENA224 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled" else hgroup.long 0x100++0x1F hide.long 0x00 "IRQ0_31_EN_SET/CLR,Interrupt Enable Register" hide.long 0x04 "IRQ32_63_EN_SET/CLR,Interrupt Enable Register" hide.long 0x08 "IRQ64_95_EN_SET/CLR,Interrupt Enable Register" hide.long 0x0c "IRQ96_127_EN_SET/CLR,Interrupt Enable Register" hide.long 0x10 "IRQ128_159_EN_SET/CLR,Interrupt Enable Register" hide.long 0x14 "IRQ160_191_EN_SET/CLR,Interrupt Enable Register" hide.long 0x18 "IRQ192_223_EN_SET/CLR,Interrupt Enable Register" hide.long 0x1c "IRQ224_239_EN_SET/CLR,Interrupt Enable Register" endif tree.end tree "Interrupt Pending Registers" width 23. if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x00) group.long 0x200++0x03 line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x01) group.long 0x200++0x07 line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x02) group.long 0x200++0x0B line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x03) group.long 0x200++0x0F line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " PEN127 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " PEN126 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " PEN125 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " PEN124 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " PEN123 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " PEN122 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " PEN121 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " PEN120 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " PEN119 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " PEN118 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " PEN117 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " PEN116 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " PEN115 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " PEN114 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " PEN113 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " PEN112 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " PEN111 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " PEN110 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " PEN109 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " PEN108 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " PEN107 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " PEN106 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " PEN105 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " PEN104 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " PEN103 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " PEN102 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " PEN101 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " PEN100 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " PEN99 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " PEN98 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " PEN97 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " PEN96 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x04) group.long 0x200++0x13 line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " PEN127 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " PEN126 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " PEN125 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " PEN124 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " PEN123 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " PEN122 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " PEN121 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " PEN120 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " PEN119 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " PEN118 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " PEN117 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " PEN116 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " PEN115 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " PEN114 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " PEN113 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " PEN112 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " PEN111 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " PEN110 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " PEN109 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " PEN108 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " PEN107 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " PEN106 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " PEN105 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " PEN104 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " PEN103 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " PEN102 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " PEN101 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " PEN100 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " PEN99 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " PEN98 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " PEN97 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " PEN96 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x10 "IRQ128_159_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " PEN159 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " PEN158 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " PEN157 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " PEN156 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " PEN155 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " PEN154 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " PEN153 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " PEN152 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " PEN151 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " PEN150 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " PEN149 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " PEN148 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " PEN147 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " PEN146 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " PEN145 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " PEN144 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " PEN143 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " PEN142 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " PEN141 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " PEN140 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " PEN139 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " PEN138 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " PEN137 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " PEN136 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " PEN135 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " PEN134 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " PEN133 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " PEN132 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " PEN131 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " PEN130 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " PEN129 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " PEN128 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x05) group.long 0x200++0x17 line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " PEN127 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " PEN126 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " PEN125 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " PEN124 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " PEN123 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " PEN122 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " PEN121 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " PEN120 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " PEN119 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " PEN118 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " PEN117 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " PEN116 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " PEN115 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " PEN114 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " PEN113 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " PEN112 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " PEN111 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " PEN110 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " PEN109 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " PEN108 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " PEN107 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " PEN106 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " PEN105 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " PEN104 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " PEN103 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " PEN102 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " PEN101 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " PEN100 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " PEN99 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " PEN98 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " PEN97 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " PEN96 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x10 "IRQ128_159_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " PEN159 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " PEN158 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " PEN157 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " PEN156 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " PEN155 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " PEN154 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " PEN153 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " PEN152 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " PEN151 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " PEN150 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " PEN149 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " PEN148 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " PEN147 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " PEN146 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " PEN145 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " PEN144 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " PEN143 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " PEN142 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " PEN141 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " PEN140 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " PEN139 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " PEN138 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " PEN137 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " PEN136 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " PEN135 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " PEN134 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " PEN133 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " PEN132 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " PEN131 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " PEN130 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " PEN129 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " PEN128 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x14 "IRQ160_191_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " PEN191 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " PEN190 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " PEN189 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " PEN188 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " PEN187 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " PEN186 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " PEN185 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " PEN184 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " PEN183 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " PEN182 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " PEN181 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " PEN180 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " PEN179 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " PEN178 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " PEN177 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " PEN176 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " PEN175 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " PEN174 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " PEN173 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " PEN172 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " PEN171 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " PEN170 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " PEN169 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " PEN168 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " PEN167 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " PEN166 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " PEN165 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " PEN164 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " PEN163 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " PEN162 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " PEN161 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " PEN160 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x06) group.long 0x200++0x1B line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " PEN127 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " PEN126 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " PEN125 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " PEN124 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " PEN123 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " PEN122 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " PEN121 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " PEN120 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " PEN119 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " PEN118 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " PEN117 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " PEN116 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " PEN115 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " PEN114 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " PEN113 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " PEN112 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " PEN111 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " PEN110 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " PEN109 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " PEN108 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " PEN107 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " PEN106 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " PEN105 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " PEN104 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " PEN103 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " PEN102 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " PEN101 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " PEN100 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " PEN99 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " PEN98 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " PEN97 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " PEN96 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x10 "IRQ128_159_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " PEN159 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " PEN158 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " PEN157 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " PEN156 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " PEN155 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " PEN154 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " PEN153 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " PEN152 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " PEN151 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " PEN150 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " PEN149 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " PEN148 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " PEN147 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " PEN146 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " PEN145 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " PEN144 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " PEN143 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " PEN142 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " PEN141 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " PEN140 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " PEN139 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " PEN138 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " PEN137 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " PEN136 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " PEN135 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " PEN134 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " PEN133 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " PEN132 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " PEN131 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " PEN130 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " PEN129 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " PEN128 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x14 "IRQ160_191_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " PEN191 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " PEN190 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " PEN189 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " PEN188 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " PEN187 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " PEN186 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " PEN185 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " PEN184 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " PEN183 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " PEN182 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " PEN181 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " PEN180 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " PEN179 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " PEN178 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " PEN177 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " PEN176 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " PEN175 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " PEN174 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " PEN173 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " PEN172 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " PEN171 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " PEN170 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " PEN169 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " PEN168 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " PEN167 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " PEN166 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " PEN165 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " PEN164 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " PEN163 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " PEN162 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " PEN161 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " PEN160 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x18 "IRQ192_223_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x18 31. 0x18 31. 0x98 31. " PEN223 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 30. 0x18 30. 0x98 30. " PEN222 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 29. 0x18 29. 0x98 29. " PEN221 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 28. 0x18 28. 0x98 28. " PEN220 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 27. 0x18 27. 0x98 27. " PEN219 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 26. 0x18 26. 0x98 26. " PEN218 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 25. 0x18 25. 0x98 25. " PEN217 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 24. 0x18 24. 0x98 24. " PEN216 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 23. 0x18 23. 0x98 23. " PEN215 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 22. 0x18 22. 0x98 22. " PEN214 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 21. 0x18 21. 0x98 21. " PEN213 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 20. 0x18 20. 0x98 20. " PEN212 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 19. 0x18 19. 0x98 19. " PEN211 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 18. 0x18 18. 0x98 18. " PEN210 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 17. 0x18 17. 0x98 17. " PEN209 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 16. 0x18 16. 0x98 16. " PEN208 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 15. 0x18 15. 0x98 15. " PEN207 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 14. 0x18 14. 0x98 14. " PEN206 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 13. 0x18 13. 0x98 13. " PEN205 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 12. 0x18 12. 0x98 12. " PEN204 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 11. 0x18 11. 0x98 11. " PEN203 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 10. 0x18 10. 0x98 10. " PEN202 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 9. 0x18 9. 0x98 9. " PEN201 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 8. 0x18 8. 0x98 8. " PEN200 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 7. 0x18 7. 0x98 7. " PEN199 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 6. 0x18 6. 0x98 6. " PEN198 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 5. 0x18 5. 0x98 5. " PEN197 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 4. 0x18 4. 0x98 4. " PEN196 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 3. 0x18 3. 0x98 3. " PEN195 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 2. 0x18 2. 0x98 2. " PEN194 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 1. 0x18 1. 0x98 1. " PEN193 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 0. 0x18 0. 0x98 0. " PEN192 ,Interrupt Set/Clear Pending" "Not pending,Pending" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x07) group.long 0x200++0x1F line.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x00 31. 0x00 31. 0x80 31. " PEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 30. 0x00 30. 0x80 30. " PEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 29. 0x00 29. 0x80 29. " PEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 28. 0x00 28. 0x80 28. " PEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 27. 0x00 27. 0x80 27. " PEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 26. 0x00 26. 0x80 26. " PEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 25. 0x00 25. 0x80 25. " PEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 24. 0x00 24. 0x80 24. " PEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 23. 0x00 23. 0x80 23. " PEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 22. 0x00 22. 0x80 22. " PEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 21. 0x00 21. 0x80 21. " PEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 20. 0x00 20. 0x80 20. " PEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 19. 0x00 19. 0x80 19. " PEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 18. 0x00 18. 0x80 18. " PEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 17. 0x00 17. 0x80 17. " PEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 16. 0x00 16. 0x80 16. " PEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 15. 0x00 15. 0x80 15. " PEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 14. 0x00 14. 0x80 14. " PEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 13. 0x00 13. 0x80 13. " PEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 12. 0x00 12. 0x80 12. " PEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 11. 0x00 11. 0x80 11. " PEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 10. 0x00 10. 0x80 10. " PEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 9. 0x00 9. 0x80 9. " PEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 8. 0x00 8. 0x80 8. " PEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 7. 0x00 7. 0x80 7. " PEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 6. 0x00 6. 0x80 6. " PEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 5. 0x00 5. 0x80 5. " PEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 4. 0x00 4. 0x80 4. " PEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 3. 0x00 3. 0x80 3. " PEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 2. 0x00 2. 0x80 2. " PEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x00 1. 0x00 1. 0x80 1. " PEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x00 0. 0x00 0. 0x80 0. " PEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x04 31. 0x04 31. 0x84 31. " PEN63 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 30. 0x04 30. 0x84 30. " PEN62 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 29. 0x04 29. 0x84 29. " PEN61 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 28. 0x04 28. 0x84 28. " PEN60 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 27. 0x04 27. 0x84 27. " PEN59 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 26. 0x04 26. 0x84 26. " PEN58 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 25. 0x04 25. 0x84 25. " PEN57 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 24. 0x04 24. 0x84 24. " PEN56 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 23. 0x04 23. 0x84 23. " PEN55 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 22. 0x04 22. 0x84 22. " PEN54 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 21. 0x04 21. 0x84 21. " PEN53 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 20. 0x04 20. 0x84 20. " PEN52 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 19. 0x04 19. 0x84 19. " PEN51 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 18. 0x04 18. 0x84 18. " PEN50 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 17. 0x04 17. 0x84 17. " PEN49 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 16. 0x04 16. 0x84 16. " PEN48 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 15. 0x04 15. 0x84 15. " PEN47 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 14. 0x04 14. 0x84 14. " PEN46 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 13. 0x04 13. 0x84 13. " PEN45 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 12. 0x04 12. 0x84 12. " PEN44 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 11. 0x04 11. 0x84 11. " PEN43 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 10. 0x04 10. 0x84 10. " PEN42 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 9. 0x04 9. 0x84 9. " PEN41 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 8. 0x04 8. 0x84 8. " PEN40 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 7. 0x04 7. 0x84 7. " PEN39 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 6. 0x04 6. 0x84 6. " PEN38 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 5. 0x04 5. 0x84 5. " PEN37 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 4. 0x04 4. 0x84 4. " PEN36 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 3. 0x04 3. 0x84 3. " PEN35 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 2. 0x04 2. 0x84 2. " PEN34 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x04 1. 0x04 1. 0x84 1. " PEN33 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x04 0. 0x04 0. 0x84 0. " PEN32 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x08 31. 0x08 31. 0x88 31. " PEN95 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 30. 0x08 30. 0x88 30. " PEN94 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 29. 0x08 29. 0x88 29. " PEN93 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 28. 0x08 28. 0x88 28. " PEN92 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 27. 0x08 27. 0x88 27. " PEN91 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 26. 0x08 26. 0x88 26. " PEN90 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 25. 0x08 25. 0x88 25. " PEN89 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 24. 0x08 24. 0x88 24. " PEN88 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 23. 0x08 23. 0x88 23. " PEN87 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 22. 0x08 22. 0x88 22. " PEN86 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 21. 0x08 21. 0x88 21. " PEN85 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 20. 0x08 20. 0x88 20. " PEN84 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 19. 0x08 19. 0x88 19. " PEN83 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 18. 0x08 18. 0x88 18. " PEN82 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 17. 0x08 17. 0x88 17. " PEN81 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 16. 0x08 16. 0x88 16. " PEN80 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 15. 0x08 15. 0x88 15. " PEN79 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 14. 0x08 14. 0x88 14. " PEN78 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 13. 0x08 13. 0x88 13. " PEN77 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 12. 0x08 12. 0x88 12. " PEN76 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 11. 0x08 11. 0x88 11. " PEN75 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 10. 0x08 10. 0x88 10. " PEN74 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 9. 0x08 9. 0x88 9. " PEN73 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 8. 0x08 8. 0x88 8. " PEN72 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 7. 0x08 7. 0x88 7. " PEN71 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 6. 0x08 6. 0x88 6. " PEN70 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 5. 0x08 5. 0x88 5. " PEN69 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 4. 0x08 4. 0x88 4. " PEN68 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 3. 0x08 3. 0x88 3. " PEN67 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 2. 0x08 2. 0x88 2. " PEN66 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x08 1. 0x08 1. 0x88 1. " PEN65 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x08 0. 0x08 0. 0x88 0. " PEN64 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x0c 31. 0x0c 31. 0x8c 31. " PEN127 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 30. 0x0c 30. 0x8c 30. " PEN126 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 29. 0x0c 29. 0x8c 29. " PEN125 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 28. 0x0c 28. 0x8c 28. " PEN124 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 27. 0x0c 27. 0x8c 27. " PEN123 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 26. 0x0c 26. 0x8c 26. " PEN122 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 25. 0x0c 25. 0x8c 25. " PEN121 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 24. 0x0c 24. 0x8c 24. " PEN120 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 23. 0x0c 23. 0x8c 23. " PEN119 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 22. 0x0c 22. 0x8c 22. " PEN118 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 21. 0x0c 21. 0x8c 21. " PEN117 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 20. 0x0c 20. 0x8c 20. " PEN116 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 19. 0x0c 19. 0x8c 19. " PEN115 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 18. 0x0c 18. 0x8c 18. " PEN114 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 17. 0x0c 17. 0x8c 17. " PEN113 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 16. 0x0c 16. 0x8c 16. " PEN112 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 15. 0x0c 15. 0x8c 15. " PEN111 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 14. 0x0c 14. 0x8c 14. " PEN110 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 13. 0x0c 13. 0x8c 13. " PEN109 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 12. 0x0c 12. 0x8c 12. " PEN108 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 11. 0x0c 11. 0x8c 11. " PEN107 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 10. 0x0c 10. 0x8c 10. " PEN106 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 9. 0x0c 9. 0x8c 9. " PEN105 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 8. 0x0c 8. 0x8c 8. " PEN104 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 7. 0x0c 7. 0x8c 7. " PEN103 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 6. 0x0c 6. 0x8c 6. " PEN102 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 5. 0x0c 5. 0x8c 5. " PEN101 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 4. 0x0c 4. 0x8c 4. " PEN100 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 3. 0x0c 3. 0x8c 3. " PEN99 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 2. 0x0c 2. 0x8c 2. " PEN98 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x0c 1. 0x0c 1. 0x8c 1. " PEN97 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x0c 0. 0x0c 0. 0x8c 0. " PEN96 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x10 "IRQ128_159_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x10 31. 0x10 31. 0x90 31. " PEN159 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 30. 0x10 30. 0x90 30. " PEN158 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 29. 0x10 29. 0x90 29. " PEN157 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 28. 0x10 28. 0x90 28. " PEN156 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 27. 0x10 27. 0x90 27. " PEN155 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 26. 0x10 26. 0x90 26. " PEN154 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 25. 0x10 25. 0x90 25. " PEN153 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 24. 0x10 24. 0x90 24. " PEN152 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 23. 0x10 23. 0x90 23. " PEN151 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 22. 0x10 22. 0x90 22. " PEN150 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 21. 0x10 21. 0x90 21. " PEN149 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 20. 0x10 20. 0x90 20. " PEN148 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 19. 0x10 19. 0x90 19. " PEN147 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 18. 0x10 18. 0x90 18. " PEN146 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 17. 0x10 17. 0x90 17. " PEN145 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 16. 0x10 16. 0x90 16. " PEN144 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 15. 0x10 15. 0x90 15. " PEN143 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 14. 0x10 14. 0x90 14. " PEN142 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 13. 0x10 13. 0x90 13. " PEN141 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 12. 0x10 12. 0x90 12. " PEN140 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 11. 0x10 11. 0x90 11. " PEN139 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 10. 0x10 10. 0x90 10. " PEN138 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 9. 0x10 9. 0x90 9. " PEN137 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 8. 0x10 8. 0x90 8. " PEN136 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 7. 0x10 7. 0x90 7. " PEN135 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 6. 0x10 6. 0x90 6. " PEN134 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 5. 0x10 5. 0x90 5. " PEN133 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 4. 0x10 4. 0x90 4. " PEN132 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 3. 0x10 3. 0x90 3. " PEN131 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 2. 0x10 2. 0x90 2. " PEN130 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x10 1. 0x10 1. 0x90 1. " PEN129 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x10 0. 0x10 0. 0x90 0. " PEN128 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x14 "IRQ160_191_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x14 31. 0x14 31. 0x94 31. " PEN191 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 30. 0x14 30. 0x94 30. " PEN190 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 29. 0x14 29. 0x94 29. " PEN189 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 28. 0x14 28. 0x94 28. " PEN188 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 27. 0x14 27. 0x94 27. " PEN187 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 26. 0x14 26. 0x94 26. " PEN186 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 25. 0x14 25. 0x94 25. " PEN185 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 24. 0x14 24. 0x94 24. " PEN184 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 23. 0x14 23. 0x94 23. " PEN183 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 22. 0x14 22. 0x94 22. " PEN182 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 21. 0x14 21. 0x94 21. " PEN181 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 20. 0x14 20. 0x94 20. " PEN180 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 19. 0x14 19. 0x94 19. " PEN179 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 18. 0x14 18. 0x94 18. " PEN178 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 17. 0x14 17. 0x94 17. " PEN177 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 16. 0x14 16. 0x94 16. " PEN176 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 15. 0x14 15. 0x94 15. " PEN175 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 14. 0x14 14. 0x94 14. " PEN174 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 13. 0x14 13. 0x94 13. " PEN173 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 12. 0x14 12. 0x94 12. " PEN172 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 11. 0x14 11. 0x94 11. " PEN171 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 10. 0x14 10. 0x94 10. " PEN170 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 9. 0x14 9. 0x94 9. " PEN169 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 8. 0x14 8. 0x94 8. " PEN168 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 7. 0x14 7. 0x94 7. " PEN167 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 6. 0x14 6. 0x94 6. " PEN166 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 5. 0x14 5. 0x94 5. " PEN165 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 4. 0x14 4. 0x94 4. " PEN164 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 3. 0x14 3. 0x94 3. " PEN163 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 2. 0x14 2. 0x94 2. " PEN162 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x14 1. 0x14 1. 0x94 1. " PEN161 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x14 0. 0x14 0. 0x94 0. " PEN160 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x18 "IRQ192_223_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x18 31. 0x18 31. 0x98 31. " PEN223 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 30. 0x18 30. 0x98 30. " PEN222 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 29. 0x18 29. 0x98 29. " PEN221 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 28. 0x18 28. 0x98 28. " PEN220 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 27. 0x18 27. 0x98 27. " PEN219 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 26. 0x18 26. 0x98 26. " PEN218 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 25. 0x18 25. 0x98 25. " PEN217 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 24. 0x18 24. 0x98 24. " PEN216 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 23. 0x18 23. 0x98 23. " PEN215 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 22. 0x18 22. 0x98 22. " PEN214 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 21. 0x18 21. 0x98 21. " PEN213 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 20. 0x18 20. 0x98 20. " PEN212 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 19. 0x18 19. 0x98 19. " PEN211 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 18. 0x18 18. 0x98 18. " PEN210 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 17. 0x18 17. 0x98 17. " PEN209 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 16. 0x18 16. 0x98 16. " PEN208 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 15. 0x18 15. 0x98 15. " PEN207 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 14. 0x18 14. 0x98 14. " PEN206 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 13. 0x18 13. 0x98 13. " PEN205 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 12. 0x18 12. 0x98 12. " PEN204 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 11. 0x18 11. 0x98 11. " PEN203 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 10. 0x18 10. 0x98 10. " PEN202 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 9. 0x18 9. 0x98 9. " PEN201 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 8. 0x18 8. 0x98 8. " PEN200 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 7. 0x18 7. 0x98 7. " PEN199 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 6. 0x18 6. 0x98 6. " PEN198 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 5. 0x18 5. 0x98 5. " PEN197 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 4. 0x18 4. 0x98 4. " PEN196 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 3. 0x18 3. 0x98 3. " PEN195 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 2. 0x18 2. 0x98 2. " PEN194 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x18 1. 0x18 1. 0x98 1. " PEN193 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x18 0. 0x18 0. 0x98 0. " PEN192 ,Interrupt Set/Clear Pending" "Not pending,Pending" line.long 0x1c "IRQ224_239_PEN_SET/CLR,Interrupt Pending Register" setclrfld.long 0x1c 15. 0x1c 15. 0x9c 15. " PEN239 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 14. 0x1c 14. 0x9c 14. " PEN238 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 13. 0x1c 13. 0x9c 13. " PEN237 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 12. 0x1c 12. 0x9c 12. " PEN236 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 11. 0x1c 11. 0x9c 11. " PEN235 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 10. 0x1c 10. 0x9c 10. " PEN234 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x1c 9. 0x1c 9. 0x9c 9. " PEN233 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 8. 0x1c 8. 0x9c 8. " PEN232 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 7. 0x1c 7. 0x9c 7. " PEN231 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 6. 0x1c 6. 0x9c 6. " PEN230 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 5. 0x1c 5. 0x9c 5. " PEN229 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 4. 0x1c 4. 0x9c 4. " PEN228 ,Interrupt Set/Clear Pending" "Not pending,Pending" textline " " setclrfld.long 0x1c 3. 0x1c 3. 0x9c 3. " PEN227 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 2. 0x1c 2. 0x9c 2. " PEN226 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 1. 0x1c 1. 0x9c 1. " PEN225 ,Interrupt Set/Clear Pending" "Not pending,Pending" setclrfld.long 0x1c 0. 0x1c 0. 0x9c 0. " PEN224 ,Interrupt Set/Clear Pending" "Not pending,Pending" else hgroup.long 0x200++0x1F hide.long 0x00 "IRQ0_31_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x04 "IRQ32_63_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x08 "IRQ64_95_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x0c "IRQ96_127_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x10 "IRQ128_159_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x14 "IRQ160_191_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x18 "IRQ192_223_PEN_SET/CLR,Interrupt Pending Register" hide.long 0x1c "IRQ224_239_PEN_SET/CLR,Interrupt Pending Register" endif tree.end tree "Interrupt Active Bit Registers" width 9. if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x00) rgroup.long 0x300++0x03 line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x01) rgroup.long 0x300++0x07 line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x02) rgroup.long 0x300++0x0B line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x03) rgroup.long 0x300++0x0F line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" line.long 0x0c "ACTIVE4,Active Bit Register 4" bitfld.long 0x0c 31. " ACTIVE127 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 30. " ACTIVE126 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 29. " ACTIVE125 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 28. " ACTIVE124 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 27. " ACTIVE123 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 26. " ACTIVE122 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 25. " ACTIVE121 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 24. " ACTIVE120 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 23. " ACTIVE119 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 22. " ACTIVE118 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 21. " ACTIVE117 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 20. " ACTIVE116 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 19. " ACTIVE115 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 18. " ACTIVE114 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 17. " ACTIVE113 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 16. " ACTIVE112 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 15. " ACTIVE111 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 14. " ACTIVE110 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 13. " ACTIVE109 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 12. " ACTIVE108 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 11. " ACTIVE107 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 10. " ACTIVE106 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 9. " ACTIVE105 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 8. " ACTIVE104 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 7. " ACTIVE103 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 6. " ACTIVE102 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 5. " ACTIVE101 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 4. " ACTIVE100 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 3. " ACTIVE99 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 2. " ACTIVE98 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 1. " ACTIVE97 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 0. " ACTIVE96 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x04) rgroup.long 0x300++0x13 line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" line.long 0x0c "ACTIVE4,Active Bit Register 4" bitfld.long 0x0c 31. " ACTIVE127 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 30. " ACTIVE126 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 29. " ACTIVE125 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 28. " ACTIVE124 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 27. " ACTIVE123 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 26. " ACTIVE122 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 25. " ACTIVE121 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 24. " ACTIVE120 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 23. " ACTIVE119 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 22. " ACTIVE118 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 21. " ACTIVE117 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 20. " ACTIVE116 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 19. " ACTIVE115 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 18. " ACTIVE114 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 17. " ACTIVE113 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 16. " ACTIVE112 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 15. " ACTIVE111 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 14. " ACTIVE110 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 13. " ACTIVE109 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 12. " ACTIVE108 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 11. " ACTIVE107 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 10. " ACTIVE106 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 9. " ACTIVE105 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 8. " ACTIVE104 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 7. " ACTIVE103 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 6. " ACTIVE102 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 5. " ACTIVE101 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 4. " ACTIVE100 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 3. " ACTIVE99 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 2. " ACTIVE98 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 1. " ACTIVE97 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 0. " ACTIVE96 ,Interrupt Active Flag" "Not active,Active" line.long 0x10 "ACTIVE5,Active Bit Register 5" bitfld.long 0x10 31. " ACTIVE159 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 30. " ACTIVE158 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 29. " ACTIVE157 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 28. " ACTIVE156 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 27. " ACTIVE155 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 26. " ACTIVE154 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 25. " ACTIVE153 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 24. " ACTIVE152 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 23. " ACTIVE151 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 22. " ACTIVE150 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 21. " ACTIVE149 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 20. " ACTIVE148 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 19. " ACTIVE147 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 18. " ACTIVE146 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 17. " ACTIVE145 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 16. " ACTIVE144 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 15. " ACTIVE143 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 14. " ACTIVE142 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 13. " ACTIVE141 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 12. " ACTIVE140 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 11. " ACTIVE139 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 10. " ACTIVE138 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 9. " ACTIVE137 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 8. " ACTIVE136 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 7. " ACTIVE135 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 6. " ACTIVE134 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 5. " ACTIVE133 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 4. " ACTIVE132 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 3. " ACTIVE131 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 2. " ACTIVE130 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 1. " ACTIVE129 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 0. " ACTIVE128 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x05) rgroup.long 0x300++0x17 line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" line.long 0x0c "ACTIVE4,Active Bit Register 4" bitfld.long 0x0c 31. " ACTIVE127 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 30. " ACTIVE126 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 29. " ACTIVE125 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 28. " ACTIVE124 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 27. " ACTIVE123 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 26. " ACTIVE122 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 25. " ACTIVE121 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 24. " ACTIVE120 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 23. " ACTIVE119 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 22. " ACTIVE118 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 21. " ACTIVE117 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 20. " ACTIVE116 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 19. " ACTIVE115 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 18. " ACTIVE114 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 17. " ACTIVE113 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 16. " ACTIVE112 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 15. " ACTIVE111 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 14. " ACTIVE110 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 13. " ACTIVE109 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 12. " ACTIVE108 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 11. " ACTIVE107 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 10. " ACTIVE106 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 9. " ACTIVE105 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 8. " ACTIVE104 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 7. " ACTIVE103 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 6. " ACTIVE102 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 5. " ACTIVE101 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 4. " ACTIVE100 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 3. " ACTIVE99 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 2. " ACTIVE98 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 1. " ACTIVE97 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 0. " ACTIVE96 ,Interrupt Active Flag" "Not active,Active" line.long 0x10 "ACTIVE5,Active Bit Register 5" bitfld.long 0x10 31. " ACTIVE159 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 30. " ACTIVE158 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 29. " ACTIVE157 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 28. " ACTIVE156 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 27. " ACTIVE155 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 26. " ACTIVE154 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 25. " ACTIVE153 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 24. " ACTIVE152 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 23. " ACTIVE151 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 22. " ACTIVE150 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 21. " ACTIVE149 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 20. " ACTIVE148 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 19. " ACTIVE147 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 18. " ACTIVE146 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 17. " ACTIVE145 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 16. " ACTIVE144 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 15. " ACTIVE143 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 14. " ACTIVE142 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 13. " ACTIVE141 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 12. " ACTIVE140 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 11. " ACTIVE139 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 10. " ACTIVE138 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 9. " ACTIVE137 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 8. " ACTIVE136 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 7. " ACTIVE135 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 6. " ACTIVE134 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 5. " ACTIVE133 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 4. " ACTIVE132 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 3. " ACTIVE131 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 2. " ACTIVE130 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 1. " ACTIVE129 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 0. " ACTIVE128 ,Interrupt Active Flag" "Not active,Active" line.long 0x14 "ACTIVE6,Active Bit Register 6" bitfld.long 0x14 31. " ACTIVE191 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 30. " ACTIVE190 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 29. " ACTIVE189 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 28. " ACTIVE188 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 27. " ACTIVE187 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 26. " ACTIVE186 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 25. " ACTIVE185 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 24. " ACTIVE184 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 23. " ACTIVE183 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 22. " ACTIVE182 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 21. " ACTIVE181 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 20. " ACTIVE180 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 19. " ACTIVE179 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 18. " ACTIVE178 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 17. " ACTIVE177 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 16. " ACTIVE176 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 15. " ACTIVE175 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 14. " ACTIVE174 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 13. " ACTIVE173 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 12. " ACTIVE172 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 11. " ACTIVE171 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 10. " ACTIVE170 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 9. " ACTIVE169 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 8. " ACTIVE168 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 7. " ACTIVE167 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 6. " ACTIVE166 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 5. " ACTIVE165 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 4. " ACTIVE164 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 3. " ACTIVE163 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 2. " ACTIVE162 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 1. " ACTIVE161 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 0. " ACTIVE160 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x06) rgroup.long 0x300++0x1B line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" line.long 0x0c "ACTIVE4,Active Bit Register 4" bitfld.long 0x0c 31. " ACTIVE127 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 30. " ACTIVE126 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 29. " ACTIVE125 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 28. " ACTIVE124 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 27. " ACTIVE123 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 26. " ACTIVE122 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 25. " ACTIVE121 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 24. " ACTIVE120 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 23. " ACTIVE119 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 22. " ACTIVE118 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 21. " ACTIVE117 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 20. " ACTIVE116 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 19. " ACTIVE115 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 18. " ACTIVE114 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 17. " ACTIVE113 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 16. " ACTIVE112 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 15. " ACTIVE111 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 14. " ACTIVE110 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 13. " ACTIVE109 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 12. " ACTIVE108 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 11. " ACTIVE107 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 10. " ACTIVE106 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 9. " ACTIVE105 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 8. " ACTIVE104 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 7. " ACTIVE103 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 6. " ACTIVE102 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 5. " ACTIVE101 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 4. " ACTIVE100 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 3. " ACTIVE99 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 2. " ACTIVE98 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 1. " ACTIVE97 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 0. " ACTIVE96 ,Interrupt Active Flag" "Not active,Active" line.long 0x10 "ACTIVE5,Active Bit Register 5" bitfld.long 0x10 31. " ACTIVE159 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 30. " ACTIVE158 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 29. " ACTIVE157 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 28. " ACTIVE156 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 27. " ACTIVE155 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 26. " ACTIVE154 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 25. " ACTIVE153 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 24. " ACTIVE152 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 23. " ACTIVE151 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 22. " ACTIVE150 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 21. " ACTIVE149 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 20. " ACTIVE148 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 19. " ACTIVE147 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 18. " ACTIVE146 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 17. " ACTIVE145 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 16. " ACTIVE144 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 15. " ACTIVE143 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 14. " ACTIVE142 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 13. " ACTIVE141 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 12. " ACTIVE140 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 11. " ACTIVE139 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 10. " ACTIVE138 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 9. " ACTIVE137 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 8. " ACTIVE136 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 7. " ACTIVE135 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 6. " ACTIVE134 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 5. " ACTIVE133 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 4. " ACTIVE132 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 3. " ACTIVE131 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 2. " ACTIVE130 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 1. " ACTIVE129 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 0. " ACTIVE128 ,Interrupt Active Flag" "Not active,Active" line.long 0x14 "ACTIVE6,Active Bit Register 6" bitfld.long 0x14 31. " ACTIVE191 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 30. " ACTIVE190 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 29. " ACTIVE189 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 28. " ACTIVE188 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 27. " ACTIVE187 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 26. " ACTIVE186 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 25. " ACTIVE185 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 24. " ACTIVE184 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 23. " ACTIVE183 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 22. " ACTIVE182 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 21. " ACTIVE181 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 20. " ACTIVE180 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 19. " ACTIVE179 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 18. " ACTIVE178 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 17. " ACTIVE177 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 16. " ACTIVE176 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 15. " ACTIVE175 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 14. " ACTIVE174 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 13. " ACTIVE173 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 12. " ACTIVE172 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 11. " ACTIVE171 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 10. " ACTIVE170 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 9. " ACTIVE169 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 8. " ACTIVE168 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 7. " ACTIVE167 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 6. " ACTIVE166 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 5. " ACTIVE165 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 4. " ACTIVE164 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 3. " ACTIVE163 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 2. " ACTIVE162 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 1. " ACTIVE161 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 0. " ACTIVE160 ,Interrupt Active Flag" "Not active,Active" line.long 0x18 "ACTIVE7,Active Bit Register 7" bitfld.long 0x18 31. " ACTIVE223 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 30. " ACTIVE222 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 29. " ACTIVE221 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 28. " ACTIVE220 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 27. " ACTIVE219 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 26. " ACTIVE218 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 25. " ACTIVE217 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 24. " ACTIVE216 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 23. " ACTIVE215 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 22. " ACTIVE214 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 21. " ACTIVE213 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 20. " ACTIVE212 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 19. " ACTIVE211 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 18. " ACTIVE210 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 17. " ACTIVE209 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 16. " ACTIVE208 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 15. " ACTIVE207 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 14. " ACTIVE206 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 13. " ACTIVE205 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 12. " ACTIVE204 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 11. " ACTIVE203 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 10. " ACTIVE202 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 9. " ACTIVE201 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 8. " ACTIVE200 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 7. " ACTIVE199 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 6. " ACTIVE198 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 5. " ACTIVE197 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 4. " ACTIVE196 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 3. " ACTIVE195 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 2. " ACTIVE194 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 1. " ACTIVE193 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 0. " ACTIVE192 ,Interrupt Active Flag" "Not active,Active" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x07) rgroup.long 0x300++0x1F line.long 0x00 "ACTIVE1,Active Bit Register 1" bitfld.long 0x00 31. " ACTIVE31 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 30. " ACTIVE30 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 29. " ACTIVE29 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 28. " ACTIVE28 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 27. " ACTIVE27 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 26. " ACTIVE26 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 25. " ACTIVE25 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 24. " ACTIVE24 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 23. " ACTIVE23 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 22. " ACTIVE22 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 21. " ACTIVE21 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 20. " ACTIVE20 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 19. " ACTIVE19 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 18. " ACTIVE18 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 17. " ACTIVE17 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 16. " ACTIVE16 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 15. " ACTIVE15 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 14. " ACTIVE14 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 13. " ACTIVE13 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 12. " ACTIVE12 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 11. " ACTIVE11 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 10. " ACTIVE10 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 9. " ACTIVE9 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 8. " ACTIVE8 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 7. " ACTIVE7 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 6. " ACTIVE6 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 5. " ACTIVE5 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 4. " ACTIVE4 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 3. " ACTIVE3 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 2. " ACTIVE2 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x00 1. " ACTIVE1 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x00 0. " ACTIVE0 ,Interrupt Active Flag" "Not active,Active" line.long 0x04 "ACTIVE2,Active Bit Register 2" bitfld.long 0x04 31. " ACTIVE63 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 30. " ACTIVE62 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 29. " ACTIVE61 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 28. " ACTIVE60 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 27. " ACTIVE59 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 26. " ACTIVE58 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 25. " ACTIVE57 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 24. " ACTIVE56 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 23. " ACTIVE55 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 22. " ACTIVE54 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 21. " ACTIVE53 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 20. " ACTIVE52 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 19. " ACTIVE51 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 18. " ACTIVE50 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 17. " ACTIVE49 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 16. " ACTIVE48 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 15. " ACTIVE47 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 14. " ACTIVE46 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 13. " ACTIVE45 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 12. " ACTIVE44 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 11. " ACTIVE43 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 10. " ACTIVE42 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 9. " ACTIVE41 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 8. " ACTIVE40 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 7. " ACTIVE39 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 6. " ACTIVE38 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 5. " ACTIVE37 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 4. " ACTIVE36 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 3. " ACTIVE35 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 2. " ACTIVE34 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x04 1. " ACTIVE33 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x04 0. " ACTIVE32 ,Interrupt Active Flag" "Not active,Active" line.long 0x08 "ACTIVE3,Active Bit Register 3" bitfld.long 0x08 31. " ACTIVE95 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 30. " ACTIVE94 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 29. " ACTIVE93 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 28. " ACTIVE92 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 27. " ACTIVE91 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 26. " ACTIVE90 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 25. " ACTIVE89 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 24. " ACTIVE88 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 23. " ACTIVE87 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 22. " ACTIVE86 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 21. " ACTIVE85 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 20. " ACTIVE84 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 19. " ACTIVE83 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 18. " ACTIVE82 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 17. " ACTIVE81 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 16. " ACTIVE80 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 15. " ACTIVE79 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 14. " ACTIVE78 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 13. " ACTIVE77 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 12. " ACTIVE76 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 11. " ACTIVE75 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 10. " ACTIVE74 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 9. " ACTIVE73 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 8. " ACTIVE72 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 7. " ACTIVE71 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 6. " ACTIVE70 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 5. " ACTIVE69 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 4. " ACTIVE68 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 3. " ACTIVE67 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 2. " ACTIVE66 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x08 1. " ACTIVE65 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x08 0. " ACTIVE64 ,Interrupt Active Flag" "Not active,Active" line.long 0x0c "ACTIVE4,Active Bit Register 4" bitfld.long 0x0c 31. " ACTIVE127 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 30. " ACTIVE126 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 29. " ACTIVE125 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 28. " ACTIVE124 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 27. " ACTIVE123 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 26. " ACTIVE122 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 25. " ACTIVE121 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 24. " ACTIVE120 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 23. " ACTIVE119 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 22. " ACTIVE118 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 21. " ACTIVE117 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 20. " ACTIVE116 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 19. " ACTIVE115 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 18. " ACTIVE114 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 17. " ACTIVE113 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 16. " ACTIVE112 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 15. " ACTIVE111 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 14. " ACTIVE110 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 13. " ACTIVE109 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 12. " ACTIVE108 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 11. " ACTIVE107 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 10. " ACTIVE106 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 9. " ACTIVE105 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 8. " ACTIVE104 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 7. " ACTIVE103 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 6. " ACTIVE102 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 5. " ACTIVE101 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 4. " ACTIVE100 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 3. " ACTIVE99 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 2. " ACTIVE98 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x0c 1. " ACTIVE97 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x0c 0. " ACTIVE96 ,Interrupt Active Flag" "Not active,Active" line.long 0x10 "ACTIVE5,Active Bit Register 5" bitfld.long 0x10 31. " ACTIVE159 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 30. " ACTIVE158 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 29. " ACTIVE157 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 28. " ACTIVE156 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 27. " ACTIVE155 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 26. " ACTIVE154 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 25. " ACTIVE153 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 24. " ACTIVE152 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 23. " ACTIVE151 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 22. " ACTIVE150 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 21. " ACTIVE149 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 20. " ACTIVE148 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 19. " ACTIVE147 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 18. " ACTIVE146 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 17. " ACTIVE145 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 16. " ACTIVE144 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 15. " ACTIVE143 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 14. " ACTIVE142 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 13. " ACTIVE141 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 12. " ACTIVE140 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 11. " ACTIVE139 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 10. " ACTIVE138 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 9. " ACTIVE137 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 8. " ACTIVE136 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 7. " ACTIVE135 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 6. " ACTIVE134 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 5. " ACTIVE133 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 4. " ACTIVE132 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 3. " ACTIVE131 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 2. " ACTIVE130 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x10 1. " ACTIVE129 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x10 0. " ACTIVE128 ,Interrupt Active Flag" "Not active,Active" line.long 0x14 "ACTIVE6,Active Bit Register 6" bitfld.long 0x14 31. " ACTIVE191 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 30. " ACTIVE190 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 29. " ACTIVE189 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 28. " ACTIVE188 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 27. " ACTIVE187 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 26. " ACTIVE186 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 25. " ACTIVE185 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 24. " ACTIVE184 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 23. " ACTIVE183 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 22. " ACTIVE182 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 21. " ACTIVE181 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 20. " ACTIVE180 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 19. " ACTIVE179 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 18. " ACTIVE178 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 17. " ACTIVE177 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 16. " ACTIVE176 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 15. " ACTIVE175 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 14. " ACTIVE174 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 13. " ACTIVE173 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 12. " ACTIVE172 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 11. " ACTIVE171 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 10. " ACTIVE170 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 9. " ACTIVE169 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 8. " ACTIVE168 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 7. " ACTIVE167 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 6. " ACTIVE166 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 5. " ACTIVE165 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 4. " ACTIVE164 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 3. " ACTIVE163 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 2. " ACTIVE162 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x14 1. " ACTIVE161 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x14 0. " ACTIVE160 ,Interrupt Active Flag" "Not active,Active" line.long 0x18 "ACTIVE7,Active Bit Register 7" bitfld.long 0x18 31. " ACTIVE223 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 30. " ACTIVE222 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 29. " ACTIVE221 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 28. " ACTIVE220 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 27. " ACTIVE219 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 26. " ACTIVE218 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 25. " ACTIVE217 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 24. " ACTIVE216 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 23. " ACTIVE215 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 22. " ACTIVE214 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 21. " ACTIVE213 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 20. " ACTIVE212 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 19. " ACTIVE211 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 18. " ACTIVE210 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 17. " ACTIVE209 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 16. " ACTIVE208 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 15. " ACTIVE207 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 14. " ACTIVE206 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 13. " ACTIVE205 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 12. " ACTIVE204 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 11. " ACTIVE203 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 10. " ACTIVE202 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 9. " ACTIVE201 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 8. " ACTIVE200 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 7. " ACTIVE199 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 6. " ACTIVE198 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 5. " ACTIVE197 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 4. " ACTIVE196 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 3. " ACTIVE195 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 2. " ACTIVE194 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x18 1. " ACTIVE193 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x18 0. " ACTIVE192 ,Interrupt Active Flag" "Not active,Active" line.long 0x1c "ACTIVE8,Active Bit Register 8" bitfld.long 0x1c 15. " ACTIVE239 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 14. " ACTIVE238 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 13. " ACTIVE237 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 12. " ACTIVE236 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 11. " ACTIVE235 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 10. " ACTIVE234 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x1c 9. " ACTIVE233 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 8. " ACTIVE232 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 7. " ACTIVE231 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 6. " ACTIVE230 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 5. " ACTIVE229 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 4. " ACTIVE228 ,Interrupt Active Flag" "Not active,Active" textline " " bitfld.long 0x1c 3. " ACTIVE227 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 2. " ACTIVE226 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 1. " ACTIVE225 ,Interrupt Active Flag" "Not active,Active" bitfld.long 0x1c 0. " ACTIVE224 ,Interrupt Active Flag" "Not active,Active" else hgroup.long 0x300++0x1F hide.long 0x00 "ACTIVE1,Active Bit Register 1" hide.long 0x04 "ACTIVE2,Active Bit Register 2" hide.long 0x08 "ACTIVE3,Active Bit Register 3" hide.long 0x0c "ACTIVE4,Active Bit Register 4" hide.long 0x10 "ACTIVE5,Active Bit Register 5" hide.long 0x14 "ACTIVE6,Active Bit Register 6" hide.long 0x18 "ACTIVE7,Active Bit Register 7" hide.long 0x1c "ACTIVE8,Active Bit Register 8" endif tree.end tree "Interrupt Priority Registers" if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x00) group.long 0x400++0x1F line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x01) group.long 0x400++0x3F line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x02) group.long 0x400++0x5F line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x03) group.long 0x400++0x7F line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" line.long 0x60 "IPR24,Interrupt Priority Register" hexmask.long.byte 0x60 24.--31. 1. " PRI_99 ,Interrupt 99 Priority" hexmask.long.byte 0x60 16.--23. 1. " PRI_98 ,Interrupt 98 Priority" hexmask.long.byte 0x60 8.--15. 1. " PRI_97 ,Interrupt 97 Priority" hexmask.long.byte 0x60 0.--7. 1. " PRI_96 ,Interrupt 96 Priority" line.long 0x64 "IPR25,Interrupt Priority Register" hexmask.long.byte 0x64 24.--31. 1. " PRI_103 ,Interrupt 103 Priority" hexmask.long.byte 0x64 16.--23. 1. " PRI_102 ,Interrupt 102 Priority" hexmask.long.byte 0x64 8.--15. 1. " PRI_101 ,Interrupt 101 Priority" hexmask.long.byte 0x64 0.--7. 1. " PRI_100 ,Interrupt 100 Priority" line.long 0x68 "IPR26,Interrupt Priority Register" hexmask.long.byte 0x68 24.--31. 1. " PRI_107 ,Interrupt 107 Priority" hexmask.long.byte 0x68 16.--23. 1. " PRI_106 ,Interrupt 106 Priority" hexmask.long.byte 0x68 8.--15. 1. " PRI_105 ,Interrupt 105 Priority" hexmask.long.byte 0x68 0.--7. 1. " PRI_104 ,Interrupt 104 Priority" line.long 0x6C "IPR27,Interrupt Priority Register" hexmask.long.byte 0x6C 24.--31. 1. " PRI_111 ,Interrupt 111 Priority" hexmask.long.byte 0x6C 16.--23. 1. " PRI_110 ,Interrupt 110 Priority" hexmask.long.byte 0x6C 8.--15. 1. " PRI_109 ,Interrupt 109 Priority" hexmask.long.byte 0x6C 0.--7. 1. " PRI_108 ,Interrupt 108 Priority" line.long 0x70 "IPR28,Interrupt Priority Register" hexmask.long.byte 0x70 24.--31. 1. " PRI_115 ,Interrupt 115 Priority" hexmask.long.byte 0x70 16.--23. 1. " PRI_114 ,Interrupt 114 Priority" hexmask.long.byte 0x70 8.--15. 1. " PRI_113 ,Interrupt 113 Priority" hexmask.long.byte 0x70 0.--7. 1. " PRI_112 ,Interrupt 112 Priority" line.long 0x74 "IPR29,Interrupt Priority Register" hexmask.long.byte 0x74 24.--31. 1. " PRI_119 ,Interrupt 119 Priority" hexmask.long.byte 0x74 16.--23. 1. " PRI_118 ,Interrupt 118 Priority" hexmask.long.byte 0x74 8.--15. 1. " PRI_117 ,Interrupt 117 Priority" hexmask.long.byte 0x74 0.--7. 1. " PRI_116 ,Interrupt 116 Priority" line.long 0x78 "IPR30,Interrupt Priority Register" hexmask.long.byte 0x78 24.--31. 1. " PRI_123 ,Interrupt 123 Priority" hexmask.long.byte 0x78 16.--23. 1. " PRI_122 ,Interrupt 122 Priority" hexmask.long.byte 0x78 8.--15. 1. " PRI_121 ,Interrupt 121 Priority" hexmask.long.byte 0x78 0.--7. 1. " PRI_120 ,Interrupt 120 Priority" line.long 0x7C "IPR31,Interrupt Priority Register" hexmask.long.byte 0x7C 24.--31. 1. " PRI_127 ,Interrupt 127 Priority" hexmask.long.byte 0x7C 16.--23. 1. " PRI_126 ,Interrupt 126 Priority" hexmask.long.byte 0x7C 8.--15. 1. " PRI_125 ,Interrupt 125 Priority" hexmask.long.byte 0x7C 0.--7. 1. " PRI_124 ,Interrupt 124 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x04) group.long 0x400++0x9F line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" line.long 0x60 "IPR24,Interrupt Priority Register" hexmask.long.byte 0x60 24.--31. 1. " PRI_99 ,Interrupt 99 Priority" hexmask.long.byte 0x60 16.--23. 1. " PRI_98 ,Interrupt 98 Priority" hexmask.long.byte 0x60 8.--15. 1. " PRI_97 ,Interrupt 97 Priority" hexmask.long.byte 0x60 0.--7. 1. " PRI_96 ,Interrupt 96 Priority" line.long 0x64 "IPR25,Interrupt Priority Register" hexmask.long.byte 0x64 24.--31. 1. " PRI_103 ,Interrupt 103 Priority" hexmask.long.byte 0x64 16.--23. 1. " PRI_102 ,Interrupt 102 Priority" hexmask.long.byte 0x64 8.--15. 1. " PRI_101 ,Interrupt 101 Priority" hexmask.long.byte 0x64 0.--7. 1. " PRI_100 ,Interrupt 100 Priority" line.long 0x68 "IPR26,Interrupt Priority Register" hexmask.long.byte 0x68 24.--31. 1. " PRI_107 ,Interrupt 107 Priority" hexmask.long.byte 0x68 16.--23. 1. " PRI_106 ,Interrupt 106 Priority" hexmask.long.byte 0x68 8.--15. 1. " PRI_105 ,Interrupt 105 Priority" hexmask.long.byte 0x68 0.--7. 1. " PRI_104 ,Interrupt 104 Priority" line.long 0x6C "IPR27,Interrupt Priority Register" hexmask.long.byte 0x6C 24.--31. 1. " PRI_111 ,Interrupt 111 Priority" hexmask.long.byte 0x6C 16.--23. 1. " PRI_110 ,Interrupt 110 Priority" hexmask.long.byte 0x6C 8.--15. 1. " PRI_109 ,Interrupt 109 Priority" hexmask.long.byte 0x6C 0.--7. 1. " PRI_108 ,Interrupt 108 Priority" line.long 0x70 "IPR28,Interrupt Priority Register" hexmask.long.byte 0x70 24.--31. 1. " PRI_115 ,Interrupt 115 Priority" hexmask.long.byte 0x70 16.--23. 1. " PRI_114 ,Interrupt 114 Priority" hexmask.long.byte 0x70 8.--15. 1. " PRI_113 ,Interrupt 113 Priority" hexmask.long.byte 0x70 0.--7. 1. " PRI_112 ,Interrupt 112 Priority" line.long 0x74 "IPR29,Interrupt Priority Register" hexmask.long.byte 0x74 24.--31. 1. " PRI_119 ,Interrupt 119 Priority" hexmask.long.byte 0x74 16.--23. 1. " PRI_118 ,Interrupt 118 Priority" hexmask.long.byte 0x74 8.--15. 1. " PRI_117 ,Interrupt 117 Priority" hexmask.long.byte 0x74 0.--7. 1. " PRI_116 ,Interrupt 116 Priority" line.long 0x78 "IPR30,Interrupt Priority Register" hexmask.long.byte 0x78 24.--31. 1. " PRI_123 ,Interrupt 123 Priority" hexmask.long.byte 0x78 16.--23. 1. " PRI_122 ,Interrupt 122 Priority" hexmask.long.byte 0x78 8.--15. 1. " PRI_121 ,Interrupt 121 Priority" hexmask.long.byte 0x78 0.--7. 1. " PRI_120 ,Interrupt 120 Priority" line.long 0x7C "IPR31,Interrupt Priority Register" hexmask.long.byte 0x7C 24.--31. 1. " PRI_127 ,Interrupt 127 Priority" hexmask.long.byte 0x7C 16.--23. 1. " PRI_126 ,Interrupt 126 Priority" hexmask.long.byte 0x7C 8.--15. 1. " PRI_125 ,Interrupt 125 Priority" hexmask.long.byte 0x7C 0.--7. 1. " PRI_124 ,Interrupt 124 Priority" line.long 0x80 "IPR32,Interrupt Priority Register" hexmask.long.byte 0x80 24.--31. 1. " PRI_131 ,Interrupt 131 Priority" hexmask.long.byte 0x80 16.--23. 1. " PRI_130 ,Interrupt 130 Priority" hexmask.long.byte 0x80 8.--15. 1. " PRI_129 ,Interrupt 129 Priority" hexmask.long.byte 0x80 0.--7. 1. " PRI_128 ,Interrupt 128 Priority" line.long 0x84 "IPR33,Interrupt Priority Register" hexmask.long.byte 0x84 24.--31. 1. " PRI_135 ,Interrupt 135 Priority" hexmask.long.byte 0x84 16.--23. 1. " PRI_134 ,Interrupt 134 Priority" hexmask.long.byte 0x84 8.--15. 1. " PRI_133 ,Interrupt 133 Priority" hexmask.long.byte 0x84 0.--7. 1. " PRI_132 ,Interrupt 132 Priority" line.long 0x88 "IPR34,Interrupt Priority Register" hexmask.long.byte 0x88 24.--31. 1. " PRI_139 ,Interrupt 139 Priority" hexmask.long.byte 0x88 16.--23. 1. " PRI_138 ,Interrupt 138 Priority" hexmask.long.byte 0x88 8.--15. 1. " PRI_137 ,Interrupt 137 Priority" hexmask.long.byte 0x88 0.--7. 1. " PRI_136 ,Interrupt 136 Priority" line.long 0x8C "IPR35,Interrupt Priority Register" hexmask.long.byte 0x8C 24.--31. 1. " PRI_143 ,Interrupt 143 Priority" hexmask.long.byte 0x8C 16.--23. 1. " PRI_142 ,Interrupt 142 Priority" hexmask.long.byte 0x8C 8.--15. 1. " PRI_141 ,Interrupt 141 Priority" hexmask.long.byte 0x8C 0.--7. 1. " PRI_140 ,Interrupt 140 Priority" line.long 0x90 "IPR36,Interrupt Priority Register" hexmask.long.byte 0x90 24.--31. 1. " PRI_147 ,Interrupt 147 Priority" hexmask.long.byte 0x90 16.--23. 1. " PRI_146 ,Interrupt 146 Priority" hexmask.long.byte 0x90 8.--15. 1. " PRI_145 ,Interrupt 145 Priority" hexmask.long.byte 0x90 0.--7. 1. " PRI_144 ,Interrupt 144 Priority" line.long 0x94 "IPR37,Interrupt Priority Register" hexmask.long.byte 0x94 24.--31. 1. " PRI_151 ,Interrupt 151 Priority" hexmask.long.byte 0x94 16.--23. 1. " PRI_150 ,Interrupt 150 Priority" hexmask.long.byte 0x94 8.--15. 1. " PRI_149 ,Interrupt 149 Priority" hexmask.long.byte 0x94 0.--7. 1. " PRI_148 ,Interrupt 148 Priority" line.long 0x98 "IPR38,Interrupt Priority Register" hexmask.long.byte 0x98 24.--31. 1. " PRI_155 ,Interrupt 155 Priority" hexmask.long.byte 0x98 16.--23. 1. " PRI_154 ,Interrupt 154 Priority" hexmask.long.byte 0x98 8.--15. 1. " PRI_153 ,Interrupt 153 Priority" hexmask.long.byte 0x98 0.--7. 1. " PRI_152 ,Interrupt 152 Priority" line.long 0x9C "IPR39,Interrupt Priority Register" hexmask.long.byte 0x9C 24.--31. 1. " PRI_159 ,Interrupt 159 Priority" hexmask.long.byte 0x9C 16.--23. 1. " PRI_158 ,Interrupt 158 Priority" hexmask.long.byte 0x9C 8.--15. 1. " PRI_157 ,Interrupt 157 Priority" hexmask.long.byte 0x9C 0.--7. 1. " PRI_156 ,Interrupt 156 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x05) group.long 0x400++0xBF line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" line.long 0x60 "IPR24,Interrupt Priority Register" hexmask.long.byte 0x60 24.--31. 1. " PRI_99 ,Interrupt 99 Priority" hexmask.long.byte 0x60 16.--23. 1. " PRI_98 ,Interrupt 98 Priority" hexmask.long.byte 0x60 8.--15. 1. " PRI_97 ,Interrupt 97 Priority" hexmask.long.byte 0x60 0.--7. 1. " PRI_96 ,Interrupt 96 Priority" line.long 0x64 "IPR25,Interrupt Priority Register" hexmask.long.byte 0x64 24.--31. 1. " PRI_103 ,Interrupt 103 Priority" hexmask.long.byte 0x64 16.--23. 1. " PRI_102 ,Interrupt 102 Priority" hexmask.long.byte 0x64 8.--15. 1. " PRI_101 ,Interrupt 101 Priority" hexmask.long.byte 0x64 0.--7. 1. " PRI_100 ,Interrupt 100 Priority" line.long 0x68 "IPR26,Interrupt Priority Register" hexmask.long.byte 0x68 24.--31. 1. " PRI_107 ,Interrupt 107 Priority" hexmask.long.byte 0x68 16.--23. 1. " PRI_106 ,Interrupt 106 Priority" hexmask.long.byte 0x68 8.--15. 1. " PRI_105 ,Interrupt 105 Priority" hexmask.long.byte 0x68 0.--7. 1. " PRI_104 ,Interrupt 104 Priority" line.long 0x6C "IPR27,Interrupt Priority Register" hexmask.long.byte 0x6C 24.--31. 1. " PRI_111 ,Interrupt 111 Priority" hexmask.long.byte 0x6C 16.--23. 1. " PRI_110 ,Interrupt 110 Priority" hexmask.long.byte 0x6C 8.--15. 1. " PRI_109 ,Interrupt 109 Priority" hexmask.long.byte 0x6C 0.--7. 1. " PRI_108 ,Interrupt 108 Priority" line.long 0x70 "IPR28,Interrupt Priority Register" hexmask.long.byte 0x70 24.--31. 1. " PRI_115 ,Interrupt 115 Priority" hexmask.long.byte 0x70 16.--23. 1. " PRI_114 ,Interrupt 114 Priority" hexmask.long.byte 0x70 8.--15. 1. " PRI_113 ,Interrupt 113 Priority" hexmask.long.byte 0x70 0.--7. 1. " PRI_112 ,Interrupt 112 Priority" line.long 0x74 "IPR29,Interrupt Priority Register" hexmask.long.byte 0x74 24.--31. 1. " PRI_119 ,Interrupt 119 Priority" hexmask.long.byte 0x74 16.--23. 1. " PRI_118 ,Interrupt 118 Priority" hexmask.long.byte 0x74 8.--15. 1. " PRI_117 ,Interrupt 117 Priority" hexmask.long.byte 0x74 0.--7. 1. " PRI_116 ,Interrupt 116 Priority" line.long 0x78 "IPR30,Interrupt Priority Register" hexmask.long.byte 0x78 24.--31. 1. " PRI_123 ,Interrupt 123 Priority" hexmask.long.byte 0x78 16.--23. 1. " PRI_122 ,Interrupt 122 Priority" hexmask.long.byte 0x78 8.--15. 1. " PRI_121 ,Interrupt 121 Priority" hexmask.long.byte 0x78 0.--7. 1. " PRI_120 ,Interrupt 120 Priority" line.long 0x7C "IPR31,Interrupt Priority Register" hexmask.long.byte 0x7C 24.--31. 1. " PRI_127 ,Interrupt 127 Priority" hexmask.long.byte 0x7C 16.--23. 1. " PRI_126 ,Interrupt 126 Priority" hexmask.long.byte 0x7C 8.--15. 1. " PRI_125 ,Interrupt 125 Priority" hexmask.long.byte 0x7C 0.--7. 1. " PRI_124 ,Interrupt 124 Priority" line.long 0x80 "IPR32,Interrupt Priority Register" hexmask.long.byte 0x80 24.--31. 1. " PRI_131 ,Interrupt 131 Priority" hexmask.long.byte 0x80 16.--23. 1. " PRI_130 ,Interrupt 130 Priority" hexmask.long.byte 0x80 8.--15. 1. " PRI_129 ,Interrupt 129 Priority" hexmask.long.byte 0x80 0.--7. 1. " PRI_128 ,Interrupt 128 Priority" line.long 0x84 "IPR33,Interrupt Priority Register" hexmask.long.byte 0x84 24.--31. 1. " PRI_135 ,Interrupt 135 Priority" hexmask.long.byte 0x84 16.--23. 1. " PRI_134 ,Interrupt 134 Priority" hexmask.long.byte 0x84 8.--15. 1. " PRI_133 ,Interrupt 133 Priority" hexmask.long.byte 0x84 0.--7. 1. " PRI_132 ,Interrupt 132 Priority" line.long 0x88 "IPR34,Interrupt Priority Register" hexmask.long.byte 0x88 24.--31. 1. " PRI_139 ,Interrupt 139 Priority" hexmask.long.byte 0x88 16.--23. 1. " PRI_138 ,Interrupt 138 Priority" hexmask.long.byte 0x88 8.--15. 1. " PRI_137 ,Interrupt 137 Priority" hexmask.long.byte 0x88 0.--7. 1. " PRI_136 ,Interrupt 136 Priority" line.long 0x8C "IPR35,Interrupt Priority Register" hexmask.long.byte 0x8C 24.--31. 1. " PRI_143 ,Interrupt 143 Priority" hexmask.long.byte 0x8C 16.--23. 1. " PRI_142 ,Interrupt 142 Priority" hexmask.long.byte 0x8C 8.--15. 1. " PRI_141 ,Interrupt 141 Priority" hexmask.long.byte 0x8C 0.--7. 1. " PRI_140 ,Interrupt 140 Priority" line.long 0x90 "IPR36,Interrupt Priority Register" hexmask.long.byte 0x90 24.--31. 1. " PRI_147 ,Interrupt 147 Priority" hexmask.long.byte 0x90 16.--23. 1. " PRI_146 ,Interrupt 146 Priority" hexmask.long.byte 0x90 8.--15. 1. " PRI_145 ,Interrupt 145 Priority" hexmask.long.byte 0x90 0.--7. 1. " PRI_144 ,Interrupt 144 Priority" line.long 0x94 "IPR37,Interrupt Priority Register" hexmask.long.byte 0x94 24.--31. 1. " PRI_151 ,Interrupt 151 Priority" hexmask.long.byte 0x94 16.--23. 1. " PRI_150 ,Interrupt 150 Priority" hexmask.long.byte 0x94 8.--15. 1. " PRI_149 ,Interrupt 149 Priority" hexmask.long.byte 0x94 0.--7. 1. " PRI_148 ,Interrupt 148 Priority" line.long 0x98 "IPR38,Interrupt Priority Register" hexmask.long.byte 0x98 24.--31. 1. " PRI_155 ,Interrupt 155 Priority" hexmask.long.byte 0x98 16.--23. 1. " PRI_154 ,Interrupt 154 Priority" hexmask.long.byte 0x98 8.--15. 1. " PRI_153 ,Interrupt 153 Priority" hexmask.long.byte 0x98 0.--7. 1. " PRI_152 ,Interrupt 152 Priority" line.long 0x9C "IPR39,Interrupt Priority Register" hexmask.long.byte 0x9C 24.--31. 1. " PRI_159 ,Interrupt 159 Priority" hexmask.long.byte 0x9C 16.--23. 1. " PRI_158 ,Interrupt 158 Priority" hexmask.long.byte 0x9C 8.--15. 1. " PRI_157 ,Interrupt 157 Priority" hexmask.long.byte 0x9C 0.--7. 1. " PRI_156 ,Interrupt 156 Priority" line.long 0xA0 "IPR40,Interrupt Priority Register" hexmask.long.byte 0xA0 24.--31. 1. " PRI_163 ,Interrupt 163 Priority" hexmask.long.byte 0xA0 16.--23. 1. " PRI_162 ,Interrupt 162 Priority" hexmask.long.byte 0xA0 8.--15. 1. " PRI_161 ,Interrupt 161 Priority" hexmask.long.byte 0xA0 0.--7. 1. " PRI_160 ,Interrupt 160 Priority" line.long 0xA4 "IPR41,Interrupt Priority Register" hexmask.long.byte 0xA4 24.--31. 1. " PRI_167 ,Interrupt 167 Priority" hexmask.long.byte 0xA4 16.--23. 1. " PRI_166 ,Interrupt 166 Priority" hexmask.long.byte 0xA4 8.--15. 1. " PRI_165 ,Interrupt 165 Priority" hexmask.long.byte 0xA4 0.--7. 1. " PRI_164 ,Interrupt 164 Priority" line.long 0xA8 "IPR42,Interrupt Priority Register" hexmask.long.byte 0xA8 24.--31. 1. " PRI_171 ,Interrupt 171 Priority" hexmask.long.byte 0xA8 16.--23. 1. " PRI_170 ,Interrupt 170 Priority" hexmask.long.byte 0xA8 8.--15. 1. " PRI_169 ,Interrupt 169 Priority" hexmask.long.byte 0xA8 0.--7. 1. " PRI_168 ,Interrupt 168 Priority" line.long 0xAC "IPR43,Interrupt Priority Register" hexmask.long.byte 0xAC 24.--31. 1. " PRI_175 ,Interrupt 175 Priority" hexmask.long.byte 0xAC 16.--23. 1. " PRI_174 ,Interrupt 174 Priority" hexmask.long.byte 0xAC 8.--15. 1. " PRI_173 ,Interrupt 173 Priority" hexmask.long.byte 0xAC 0.--7. 1. " PRI_172 ,Interrupt 172 Priority" line.long 0xB0 "IPR44,Interrupt Priority Register" hexmask.long.byte 0xB0 24.--31. 1. " PRI_179 ,Interrupt 179 Priority" hexmask.long.byte 0xB0 16.--23. 1. " PRI_178 ,Interrupt 178 Priority" hexmask.long.byte 0xB0 8.--15. 1. " PRI_177 ,Interrupt 177 Priority" hexmask.long.byte 0xB0 0.--7. 1. " PRI_176 ,Interrupt 176 Priority" line.long 0xB4 "IPR45,Interrupt Priority Register" hexmask.long.byte 0xB4 24.--31. 1. " PRI_183 ,Interrupt 183 Priority" hexmask.long.byte 0xB4 16.--23. 1. " PRI_182 ,Interrupt 182 Priority" hexmask.long.byte 0xB4 8.--15. 1. " PRI_181 ,Interrupt 181 Priority" hexmask.long.byte 0xB4 0.--7. 1. " PRI_180 ,Interrupt 180 Priority" line.long 0xB8 "IPR46,Interrupt Priority Register" hexmask.long.byte 0xB8 24.--31. 1. " PRI_187 ,Interrupt 187 Priority" hexmask.long.byte 0xB8 16.--23. 1. " PRI_186 ,Interrupt 186 Priority" hexmask.long.byte 0xB8 8.--15. 1. " PRI_185 ,Interrupt 185 Priority" hexmask.long.byte 0xB8 0.--7. 1. " PRI_184 ,Interrupt 184 Priority" line.long 0xBC "IPR47,Interrupt Priority Register" hexmask.long.byte 0xBC 24.--31. 1. " PRI_191 ,Interrupt 191 Priority" hexmask.long.byte 0xBC 16.--23. 1. " PRI_190 ,Interrupt 190 Priority" hexmask.long.byte 0xBC 8.--15. 1. " PRI_189 ,Interrupt 189 Priority" hexmask.long.byte 0xBC 0.--7. 1. " PRI_188 ,Interrupt 188 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x06) group.long 0x400++0xDF line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" line.long 0x60 "IPR24,Interrupt Priority Register" hexmask.long.byte 0x60 24.--31. 1. " PRI_99 ,Interrupt 99 Priority" hexmask.long.byte 0x60 16.--23. 1. " PRI_98 ,Interrupt 98 Priority" hexmask.long.byte 0x60 8.--15. 1. " PRI_97 ,Interrupt 97 Priority" hexmask.long.byte 0x60 0.--7. 1. " PRI_96 ,Interrupt 96 Priority" line.long 0x64 "IPR25,Interrupt Priority Register" hexmask.long.byte 0x64 24.--31. 1. " PRI_103 ,Interrupt 103 Priority" hexmask.long.byte 0x64 16.--23. 1. " PRI_102 ,Interrupt 102 Priority" hexmask.long.byte 0x64 8.--15. 1. " PRI_101 ,Interrupt 101 Priority" hexmask.long.byte 0x64 0.--7. 1. " PRI_100 ,Interrupt 100 Priority" line.long 0x68 "IPR26,Interrupt Priority Register" hexmask.long.byte 0x68 24.--31. 1. " PRI_107 ,Interrupt 107 Priority" hexmask.long.byte 0x68 16.--23. 1. " PRI_106 ,Interrupt 106 Priority" hexmask.long.byte 0x68 8.--15. 1. " PRI_105 ,Interrupt 105 Priority" hexmask.long.byte 0x68 0.--7. 1. " PRI_104 ,Interrupt 104 Priority" line.long 0x6C "IPR27,Interrupt Priority Register" hexmask.long.byte 0x6C 24.--31. 1. " PRI_111 ,Interrupt 111 Priority" hexmask.long.byte 0x6C 16.--23. 1. " PRI_110 ,Interrupt 110 Priority" hexmask.long.byte 0x6C 8.--15. 1. " PRI_109 ,Interrupt 109 Priority" hexmask.long.byte 0x6C 0.--7. 1. " PRI_108 ,Interrupt 108 Priority" line.long 0x70 "IPR28,Interrupt Priority Register" hexmask.long.byte 0x70 24.--31. 1. " PRI_115 ,Interrupt 115 Priority" hexmask.long.byte 0x70 16.--23. 1. " PRI_114 ,Interrupt 114 Priority" hexmask.long.byte 0x70 8.--15. 1. " PRI_113 ,Interrupt 113 Priority" hexmask.long.byte 0x70 0.--7. 1. " PRI_112 ,Interrupt 112 Priority" line.long 0x74 "IPR29,Interrupt Priority Register" hexmask.long.byte 0x74 24.--31. 1. " PRI_119 ,Interrupt 119 Priority" hexmask.long.byte 0x74 16.--23. 1. " PRI_118 ,Interrupt 118 Priority" hexmask.long.byte 0x74 8.--15. 1. " PRI_117 ,Interrupt 117 Priority" hexmask.long.byte 0x74 0.--7. 1. " PRI_116 ,Interrupt 116 Priority" line.long 0x78 "IPR30,Interrupt Priority Register" hexmask.long.byte 0x78 24.--31. 1. " PRI_123 ,Interrupt 123 Priority" hexmask.long.byte 0x78 16.--23. 1. " PRI_122 ,Interrupt 122 Priority" hexmask.long.byte 0x78 8.--15. 1. " PRI_121 ,Interrupt 121 Priority" hexmask.long.byte 0x78 0.--7. 1. " PRI_120 ,Interrupt 120 Priority" line.long 0x7C "IPR31,Interrupt Priority Register" hexmask.long.byte 0x7C 24.--31. 1. " PRI_127 ,Interrupt 127 Priority" hexmask.long.byte 0x7C 16.--23. 1. " PRI_126 ,Interrupt 126 Priority" hexmask.long.byte 0x7C 8.--15. 1. " PRI_125 ,Interrupt 125 Priority" hexmask.long.byte 0x7C 0.--7. 1. " PRI_124 ,Interrupt 124 Priority" line.long 0x80 "IPR32,Interrupt Priority Register" hexmask.long.byte 0x80 24.--31. 1. " PRI_131 ,Interrupt 131 Priority" hexmask.long.byte 0x80 16.--23. 1. " PRI_130 ,Interrupt 130 Priority" hexmask.long.byte 0x80 8.--15. 1. " PRI_129 ,Interrupt 129 Priority" hexmask.long.byte 0x80 0.--7. 1. " PRI_128 ,Interrupt 128 Priority" line.long 0x84 "IPR33,Interrupt Priority Register" hexmask.long.byte 0x84 24.--31. 1. " PRI_135 ,Interrupt 135 Priority" hexmask.long.byte 0x84 16.--23. 1. " PRI_134 ,Interrupt 134 Priority" hexmask.long.byte 0x84 8.--15. 1. " PRI_133 ,Interrupt 133 Priority" hexmask.long.byte 0x84 0.--7. 1. " PRI_132 ,Interrupt 132 Priority" line.long 0x88 "IPR34,Interrupt Priority Register" hexmask.long.byte 0x88 24.--31. 1. " PRI_139 ,Interrupt 139 Priority" hexmask.long.byte 0x88 16.--23. 1. " PRI_138 ,Interrupt 138 Priority" hexmask.long.byte 0x88 8.--15. 1. " PRI_137 ,Interrupt 137 Priority" hexmask.long.byte 0x88 0.--7. 1. " PRI_136 ,Interrupt 136 Priority" line.long 0x8C "IPR35,Interrupt Priority Register" hexmask.long.byte 0x8C 24.--31. 1. " PRI_143 ,Interrupt 143 Priority" hexmask.long.byte 0x8C 16.--23. 1. " PRI_142 ,Interrupt 142 Priority" hexmask.long.byte 0x8C 8.--15. 1. " PRI_141 ,Interrupt 141 Priority" hexmask.long.byte 0x8C 0.--7. 1. " PRI_140 ,Interrupt 140 Priority" line.long 0x90 "IPR36,Interrupt Priority Register" hexmask.long.byte 0x90 24.--31. 1. " PRI_147 ,Interrupt 147 Priority" hexmask.long.byte 0x90 16.--23. 1. " PRI_146 ,Interrupt 146 Priority" hexmask.long.byte 0x90 8.--15. 1. " PRI_145 ,Interrupt 145 Priority" hexmask.long.byte 0x90 0.--7. 1. " PRI_144 ,Interrupt 144 Priority" line.long 0x94 "IPR37,Interrupt Priority Register" hexmask.long.byte 0x94 24.--31. 1. " PRI_151 ,Interrupt 151 Priority" hexmask.long.byte 0x94 16.--23. 1. " PRI_150 ,Interrupt 150 Priority" hexmask.long.byte 0x94 8.--15. 1. " PRI_149 ,Interrupt 149 Priority" hexmask.long.byte 0x94 0.--7. 1. " PRI_148 ,Interrupt 148 Priority" line.long 0x98 "IPR38,Interrupt Priority Register" hexmask.long.byte 0x98 24.--31. 1. " PRI_155 ,Interrupt 155 Priority" hexmask.long.byte 0x98 16.--23. 1. " PRI_154 ,Interrupt 154 Priority" hexmask.long.byte 0x98 8.--15. 1. " PRI_153 ,Interrupt 153 Priority" hexmask.long.byte 0x98 0.--7. 1. " PRI_152 ,Interrupt 152 Priority" line.long 0x9C "IPR39,Interrupt Priority Register" hexmask.long.byte 0x9C 24.--31. 1. " PRI_159 ,Interrupt 159 Priority" hexmask.long.byte 0x9C 16.--23. 1. " PRI_158 ,Interrupt 158 Priority" hexmask.long.byte 0x9C 8.--15. 1. " PRI_157 ,Interrupt 157 Priority" hexmask.long.byte 0x9C 0.--7. 1. " PRI_156 ,Interrupt 156 Priority" line.long 0xA0 "IPR40,Interrupt Priority Register" hexmask.long.byte 0xA0 24.--31. 1. " PRI_163 ,Interrupt 163 Priority" hexmask.long.byte 0xA0 16.--23. 1. " PRI_162 ,Interrupt 162 Priority" hexmask.long.byte 0xA0 8.--15. 1. " PRI_161 ,Interrupt 161 Priority" hexmask.long.byte 0xA0 0.--7. 1. " PRI_160 ,Interrupt 160 Priority" line.long 0xA4 "IPR41,Interrupt Priority Register" hexmask.long.byte 0xA4 24.--31. 1. " PRI_167 ,Interrupt 167 Priority" hexmask.long.byte 0xA4 16.--23. 1. " PRI_166 ,Interrupt 166 Priority" hexmask.long.byte 0xA4 8.--15. 1. " PRI_165 ,Interrupt 165 Priority" hexmask.long.byte 0xA4 0.--7. 1. " PRI_164 ,Interrupt 164 Priority" line.long 0xA8 "IPR42,Interrupt Priority Register" hexmask.long.byte 0xA8 24.--31. 1. " PRI_171 ,Interrupt 171 Priority" hexmask.long.byte 0xA8 16.--23. 1. " PRI_170 ,Interrupt 170 Priority" hexmask.long.byte 0xA8 8.--15. 1. " PRI_169 ,Interrupt 169 Priority" hexmask.long.byte 0xA8 0.--7. 1. " PRI_168 ,Interrupt 168 Priority" line.long 0xAC "IPR43,Interrupt Priority Register" hexmask.long.byte 0xAC 24.--31. 1. " PRI_175 ,Interrupt 175 Priority" hexmask.long.byte 0xAC 16.--23. 1. " PRI_174 ,Interrupt 174 Priority" hexmask.long.byte 0xAC 8.--15. 1. " PRI_173 ,Interrupt 173 Priority" hexmask.long.byte 0xAC 0.--7. 1. " PRI_172 ,Interrupt 172 Priority" line.long 0xB0 "IPR44,Interrupt Priority Register" hexmask.long.byte 0xB0 24.--31. 1. " PRI_179 ,Interrupt 179 Priority" hexmask.long.byte 0xB0 16.--23. 1. " PRI_178 ,Interrupt 178 Priority" hexmask.long.byte 0xB0 8.--15. 1. " PRI_177 ,Interrupt 177 Priority" hexmask.long.byte 0xB0 0.--7. 1. " PRI_176 ,Interrupt 176 Priority" line.long 0xB4 "IPR45,Interrupt Priority Register" hexmask.long.byte 0xB4 24.--31. 1. " PRI_183 ,Interrupt 183 Priority" hexmask.long.byte 0xB4 16.--23. 1. " PRI_182 ,Interrupt 182 Priority" hexmask.long.byte 0xB4 8.--15. 1. " PRI_181 ,Interrupt 181 Priority" hexmask.long.byte 0xB4 0.--7. 1. " PRI_180 ,Interrupt 180 Priority" line.long 0xB8 "IPR46,Interrupt Priority Register" hexmask.long.byte 0xB8 24.--31. 1. " PRI_187 ,Interrupt 187 Priority" hexmask.long.byte 0xB8 16.--23. 1. " PRI_186 ,Interrupt 186 Priority" hexmask.long.byte 0xB8 8.--15. 1. " PRI_185 ,Interrupt 185 Priority" hexmask.long.byte 0xB8 0.--7. 1. " PRI_184 ,Interrupt 184 Priority" line.long 0xBC "IPR47,Interrupt Priority Register" hexmask.long.byte 0xBC 24.--31. 1. " PRI_191 ,Interrupt 191 Priority" hexmask.long.byte 0xBC 16.--23. 1. " PRI_190 ,Interrupt 190 Priority" hexmask.long.byte 0xBC 8.--15. 1. " PRI_189 ,Interrupt 189 Priority" hexmask.long.byte 0xBC 0.--7. 1. " PRI_188 ,Interrupt 188 Priority" line.long 0xC0 "IPR48,Interrupt Priority Register" hexmask.long.byte 0xC0 24.--31. 1. " PRI_195 ,Interrupt 195 Priority" hexmask.long.byte 0xC0 16.--23. 1. " PRI_194 ,Interrupt 194 Priority" hexmask.long.byte 0xC0 8.--15. 1. " PRI_193 ,Interrupt 193 Priority" hexmask.long.byte 0xC0 0.--7. 1. " PRI_192 ,Interrupt 192 Priority" line.long 0xC4 "IPR49,Interrupt Priority Register" hexmask.long.byte 0xC4 24.--31. 1. " PRI_199 ,Interrupt 199 Priority" hexmask.long.byte 0xC4 16.--23. 1. " PRI_198 ,Interrupt 198 Priority" hexmask.long.byte 0xC4 8.--15. 1. " PRI_197 ,Interrupt 197 Priority" hexmask.long.byte 0xC4 0.--7. 1. " PRI_196 ,Interrupt 196 Priority" line.long 0xC8 "IPR50,Interrupt Priority Register" hexmask.long.byte 0xC8 24.--31. 1. " PRI_203 ,Interrupt 203 Priority" hexmask.long.byte 0xC8 16.--23. 1. " PRI_202 ,Interrupt 202 Priority" hexmask.long.byte 0xC8 8.--15. 1. " PRI_201 ,Interrupt 201 Priority" hexmask.long.byte 0xC8 0.--7. 1. " PRI_200 ,Interrupt 200 Priority" line.long 0xCC "IPR51,Interrupt Priority Register" hexmask.long.byte 0xCC 24.--31. 1. " PRI_207 ,Interrupt 207 Priority" hexmask.long.byte 0xCC 16.--23. 1. " PRI_206 ,Interrupt 206 Priority" hexmask.long.byte 0xCC 8.--15. 1. " PRI_205 ,Interrupt 205 Priority" hexmask.long.byte 0xCC 0.--7. 1. " PRI_204 ,Interrupt 204 Priority" line.long 0xD0 "IPR52,Interrupt Priority Register" hexmask.long.byte 0xD0 24.--31. 1. " PRI_211 ,Interrupt 211 Priority" hexmask.long.byte 0xD0 16.--23. 1. " PRI_210 ,Interrupt 210 Priority" hexmask.long.byte 0xD0 8.--15. 1. " PRI_209 ,Interrupt 209 Priority" hexmask.long.byte 0xD0 0.--7. 1. " PRI_208 ,Interrupt 208 Priority" line.long 0xD4 "IPR53,Interrupt Priority Register" hexmask.long.byte 0xD4 24.--31. 1. " PRI_215 ,Interrupt 215 Priority" hexmask.long.byte 0xD4 16.--23. 1. " PRI_214 ,Interrupt 214 Priority" hexmask.long.byte 0xD4 8.--15. 1. " PRI_213 ,Interrupt 213 Priority" hexmask.long.byte 0xD4 0.--7. 1. " PRI_212 ,Interrupt 212 Priority" line.long 0xD8 "IPR54,Interrupt Priority Register" hexmask.long.byte 0xD8 24.--31. 1. " PRI_219 ,Interrupt 219 Priority" hexmask.long.byte 0xD8 16.--23. 1. " PRI_218 ,Interrupt 218 Priority" hexmask.long.byte 0xD8 8.--15. 1. " PRI_217 ,Interrupt 217 Priority" hexmask.long.byte 0xD8 0.--7. 1. " PRI_216 ,Interrupt 216 Priority" line.long 0xDC "IPR55,Interrupt Priority Register" hexmask.long.byte 0xDC 24.--31. 1. " PRI_223 ,Interrupt 223 Priority" hexmask.long.byte 0xDC 16.--23. 1. " PRI_222 ,Interrupt 222 Priority" hexmask.long.byte 0xDC 8.--15. 1. " PRI_221 ,Interrupt 221 Priority" hexmask.long.byte 0xDC 0.--7. 1. " PRI_220 ,Interrupt 220 Priority" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0x04))&0x0F)==0x07) group.long 0x400++0xEF line.long 0x0 "IPR0,Interrupt Priority Register" hexmask.long.byte 0x0 24.--31. 1. " PRI_3 ,Interrupt 3 Priority" hexmask.long.byte 0x0 16.--23. 1. " PRI_2 ,Interrupt 2 Priority" hexmask.long.byte 0x0 8.--15. 1. " PRI_1 ,Interrupt 1 Priority" hexmask.long.byte 0x0 0.--7. 1. " PRI_0 ,Interrupt 0 Priority" line.long 0x4 "IPR1,Interrupt Priority Register" hexmask.long.byte 0x4 24.--31. 1. " PRI_7 ,Interrupt 7 Priority" hexmask.long.byte 0x4 16.--23. 1. " PRI_6 ,Interrupt 6 Priority" hexmask.long.byte 0x4 8.--15. 1. " PRI_5 ,Interrupt 5 Priority" hexmask.long.byte 0x4 0.--7. 1. " PRI_4 ,Interrupt 4 Priority" line.long 0x8 "IPR2,Interrupt Priority Register" hexmask.long.byte 0x8 24.--31. 1. " PRI_11 ,Interrupt 11 Priority" hexmask.long.byte 0x8 16.--23. 1. " PRI_10 ,Interrupt 10 Priority" hexmask.long.byte 0x8 8.--15. 1. " PRI_9 ,Interrupt 9 Priority" hexmask.long.byte 0x8 0.--7. 1. " PRI_8 ,Interrupt 8 Priority" line.long 0xC "IPR3,Interrupt Priority Register" hexmask.long.byte 0xC 24.--31. 1. " PRI_15 ,Interrupt 15 Priority" hexmask.long.byte 0xC 16.--23. 1. " PRI_14 ,Interrupt 14 Priority" hexmask.long.byte 0xC 8.--15. 1. " PRI_13 ,Interrupt 13 Priority" hexmask.long.byte 0xC 0.--7. 1. " PRI_12 ,Interrupt 12 Priority" line.long 0x10 "IPR4,Interrupt Priority Register" hexmask.long.byte 0x10 24.--31. 1. " PRI_19 ,Interrupt 19 Priority" hexmask.long.byte 0x10 16.--23. 1. " PRI_18 ,Interrupt 18 Priority" hexmask.long.byte 0x10 8.--15. 1. " PRI_17 ,Interrupt 17 Priority" hexmask.long.byte 0x10 0.--7. 1. " PRI_16 ,Interrupt 16 Priority" line.long 0x14 "IPR5,Interrupt Priority Register" hexmask.long.byte 0x14 24.--31. 1. " PRI_23 ,Interrupt 23 Priority" hexmask.long.byte 0x14 16.--23. 1. " PRI_22 ,Interrupt 22 Priority" hexmask.long.byte 0x14 8.--15. 1. " PRI_21 ,Interrupt 21 Priority" hexmask.long.byte 0x14 0.--7. 1. " PRI_20 ,Interrupt 20 Priority" line.long 0x18 "IPR6,Interrupt Priority Register" hexmask.long.byte 0x18 24.--31. 1. " PRI_27 ,Interrupt 27 Priority" hexmask.long.byte 0x18 16.--23. 1. " PRI_26 ,Interrupt 26 Priority" hexmask.long.byte 0x18 8.--15. 1. " PRI_25 ,Interrupt 25 Priority" hexmask.long.byte 0x18 0.--7. 1. " PRI_24 ,Interrupt 24 Priority" line.long 0x1C "IPR7,Interrupt Priority Register" hexmask.long.byte 0x1C 24.--31. 1. " PRI_31 ,Interrupt 31 Priority" hexmask.long.byte 0x1C 16.--23. 1. " PRI_30 ,Interrupt 30 Priority" hexmask.long.byte 0x1C 8.--15. 1. " PRI_29 ,Interrupt 29 Priority" hexmask.long.byte 0x1C 0.--7. 1. " PRI_28 ,Interrupt 28 Priority" line.long 0x20 "IPR8,Interrupt Priority Register" hexmask.long.byte 0x20 24.--31. 1. " PRI_35 ,Interrupt 35 Priority" hexmask.long.byte 0x20 16.--23. 1. " PRI_34 ,Interrupt 34 Priority" hexmask.long.byte 0x20 8.--15. 1. " PRI_33 ,Interrupt 33 Priority" hexmask.long.byte 0x20 0.--7. 1. " PRI_32 ,Interrupt 32 Priority" line.long 0x24 "IPR9,Interrupt Priority Register" hexmask.long.byte 0x24 24.--31. 1. " PRI_39 ,Interrupt 39 Priority" hexmask.long.byte 0x24 16.--23. 1. " PRI_38 ,Interrupt 38 Priority" hexmask.long.byte 0x24 8.--15. 1. " PRI_37 ,Interrupt 37 Priority" hexmask.long.byte 0x24 0.--7. 1. " PRI_36 ,Interrupt 36 Priority" line.long 0x28 "IPR10,Interrupt Priority Register" hexmask.long.byte 0x28 24.--31. 1. " PRI_43 ,Interrupt 43 Priority" hexmask.long.byte 0x28 16.--23. 1. " PRI_42 ,Interrupt 42 Priority" hexmask.long.byte 0x28 8.--15. 1. " PRI_41 ,Interrupt 41 Priority" hexmask.long.byte 0x28 0.--7. 1. " PRI_40 ,Interrupt 40 Priority" line.long 0x2C "IPR11,Interrupt Priority Register" hexmask.long.byte 0x2C 24.--31. 1. " PRI_47 ,Interrupt 47 Priority" hexmask.long.byte 0x2C 16.--23. 1. " PRI_46 ,Interrupt 46 Priority" hexmask.long.byte 0x2C 8.--15. 1. " PRI_45 ,Interrupt 45 Priority" hexmask.long.byte 0x2C 0.--7. 1. " PRI_44 ,Interrupt 44 Priority" line.long 0x30 "IPR12,Interrupt Priority Register" hexmask.long.byte 0x30 24.--31. 1. " PRI_51 ,Interrupt 51 Priority" hexmask.long.byte 0x30 16.--23. 1. " PRI_50 ,Interrupt 50 Priority" hexmask.long.byte 0x30 8.--15. 1. " PRI_49 ,Interrupt 49 Priority" hexmask.long.byte 0x30 0.--7. 1. " PRI_48 ,Interrupt 48 Priority" line.long 0x34 "IPR13,Interrupt Priority Register" hexmask.long.byte 0x34 24.--31. 1. " PRI_55 ,Interrupt 55 Priority" hexmask.long.byte 0x34 16.--23. 1. " PRI_54 ,Interrupt 54 Priority" hexmask.long.byte 0x34 8.--15. 1. " PRI_53 ,Interrupt 53 Priority" hexmask.long.byte 0x34 0.--7. 1. " PRI_52 ,Interrupt 52 Priority" line.long 0x38 "IPR14,Interrupt Priority Register" hexmask.long.byte 0x38 24.--31. 1. " PRI_59 ,Interrupt 59 Priority" hexmask.long.byte 0x38 16.--23. 1. " PRI_58 ,Interrupt 58 Priority" hexmask.long.byte 0x38 8.--15. 1. " PRI_57 ,Interrupt 57 Priority" hexmask.long.byte 0x38 0.--7. 1. " PRI_56 ,Interrupt 56 Priority" line.long 0x3C "IPR15,Interrupt Priority Register" hexmask.long.byte 0x3C 24.--31. 1. " PRI_63 ,Interrupt 63 Priority" hexmask.long.byte 0x3C 16.--23. 1. " PRI_62 ,Interrupt 62 Priority" hexmask.long.byte 0x3C 8.--15. 1. " PRI_61 ,Interrupt 61 Priority" hexmask.long.byte 0x3C 0.--7. 1. " PRI_60 ,Interrupt 60 Priority" line.long 0x40 "IPR16,Interrupt Priority Register" hexmask.long.byte 0x40 24.--31. 1. " PRI_67 ,Interrupt 67 Priority" hexmask.long.byte 0x40 16.--23. 1. " PRI_66 ,Interrupt 66 Priority" hexmask.long.byte 0x40 8.--15. 1. " PRI_65 ,Interrupt 65 Priority" hexmask.long.byte 0x40 0.--7. 1. " PRI_64 ,Interrupt 64 Priority" line.long 0x44 "IPR17,Interrupt Priority Register" hexmask.long.byte 0x44 24.--31. 1. " PRI_71 ,Interrupt 71 Priority" hexmask.long.byte 0x44 16.--23. 1. " PRI_70 ,Interrupt 70 Priority" hexmask.long.byte 0x44 8.--15. 1. " PRI_69 ,Interrupt 69 Priority" hexmask.long.byte 0x44 0.--7. 1. " PRI_68 ,Interrupt 68 Priority" line.long 0x48 "IPR18,Interrupt Priority Register" hexmask.long.byte 0x48 24.--31. 1. " PRI_75 ,Interrupt 75 Priority" hexmask.long.byte 0x48 16.--23. 1. " PRI_74 ,Interrupt 74 Priority" hexmask.long.byte 0x48 8.--15. 1. " PRI_73 ,Interrupt 73 Priority" hexmask.long.byte 0x48 0.--7. 1. " PRI_72 ,Interrupt 72 Priority" line.long 0x4C "IPR19,Interrupt Priority Register" hexmask.long.byte 0x4C 24.--31. 1. " PRI_79 ,Interrupt 79 Priority" hexmask.long.byte 0x4C 16.--23. 1. " PRI_78 ,Interrupt 78 Priority" hexmask.long.byte 0x4C 8.--15. 1. " PRI_77 ,Interrupt 77 Priority" hexmask.long.byte 0x4C 0.--7. 1. " PRI_76 ,Interrupt 76 Priority" line.long 0x50 "IPR20,Interrupt Priority Register" hexmask.long.byte 0x50 24.--31. 1. " PRI_83 ,Interrupt 83 Priority" hexmask.long.byte 0x50 16.--23. 1. " PRI_82 ,Interrupt 82 Priority" hexmask.long.byte 0x50 8.--15. 1. " PRI_81 ,Interrupt 81 Priority" hexmask.long.byte 0x50 0.--7. 1. " PRI_80 ,Interrupt 80 Priority" line.long 0x54 "IPR21,Interrupt Priority Register" hexmask.long.byte 0x54 24.--31. 1. " PRI_87 ,Interrupt 87 Priority" hexmask.long.byte 0x54 16.--23. 1. " PRI_86 ,Interrupt 86 Priority" hexmask.long.byte 0x54 8.--15. 1. " PRI_85 ,Interrupt 85 Priority" hexmask.long.byte 0x54 0.--7. 1. " PRI_84 ,Interrupt 84 Priority" line.long 0x58 "IPR22,Interrupt Priority Register" hexmask.long.byte 0x58 24.--31. 1. " PRI_91 ,Interrupt 91 Priority" hexmask.long.byte 0x58 16.--23. 1. " PRI_90 ,Interrupt 90 Priority" hexmask.long.byte 0x58 8.--15. 1. " PRI_89 ,Interrupt 89 Priority" hexmask.long.byte 0x58 0.--7. 1. " PRI_88 ,Interrupt 88 Priority" line.long 0x5C "IPR23,Interrupt Priority Register" hexmask.long.byte 0x5C 24.--31. 1. " PRI_95 ,Interrupt 95 Priority" hexmask.long.byte 0x5C 16.--23. 1. " PRI_94 ,Interrupt 94 Priority" hexmask.long.byte 0x5C 8.--15. 1. " PRI_93 ,Interrupt 93 Priority" hexmask.long.byte 0x5C 0.--7. 1. " PRI_92 ,Interrupt 92 Priority" line.long 0x60 "IPR24,Interrupt Priority Register" hexmask.long.byte 0x60 24.--31. 1. " PRI_99 ,Interrupt 99 Priority" hexmask.long.byte 0x60 16.--23. 1. " PRI_98 ,Interrupt 98 Priority" hexmask.long.byte 0x60 8.--15. 1. " PRI_97 ,Interrupt 97 Priority" hexmask.long.byte 0x60 0.--7. 1. " PRI_96 ,Interrupt 96 Priority" line.long 0x64 "IPR25,Interrupt Priority Register" hexmask.long.byte 0x64 24.--31. 1. " PRI_103 ,Interrupt 103 Priority" hexmask.long.byte 0x64 16.--23. 1. " PRI_102 ,Interrupt 102 Priority" hexmask.long.byte 0x64 8.--15. 1. " PRI_101 ,Interrupt 101 Priority" hexmask.long.byte 0x64 0.--7. 1. " PRI_100 ,Interrupt 100 Priority" line.long 0x68 "IPR26,Interrupt Priority Register" hexmask.long.byte 0x68 24.--31. 1. " PRI_107 ,Interrupt 107 Priority" hexmask.long.byte 0x68 16.--23. 1. " PRI_106 ,Interrupt 106 Priority" hexmask.long.byte 0x68 8.--15. 1. " PRI_105 ,Interrupt 105 Priority" hexmask.long.byte 0x68 0.--7. 1. " PRI_104 ,Interrupt 104 Priority" line.long 0x6C "IPR27,Interrupt Priority Register" hexmask.long.byte 0x6C 24.--31. 1. " PRI_111 ,Interrupt 111 Priority" hexmask.long.byte 0x6C 16.--23. 1. " PRI_110 ,Interrupt 110 Priority" hexmask.long.byte 0x6C 8.--15. 1. " PRI_109 ,Interrupt 109 Priority" hexmask.long.byte 0x6C 0.--7. 1. " PRI_108 ,Interrupt 108 Priority" line.long 0x70 "IPR28,Interrupt Priority Register" hexmask.long.byte 0x70 24.--31. 1. " PRI_115 ,Interrupt 115 Priority" hexmask.long.byte 0x70 16.--23. 1. " PRI_114 ,Interrupt 114 Priority" hexmask.long.byte 0x70 8.--15. 1. " PRI_113 ,Interrupt 113 Priority" hexmask.long.byte 0x70 0.--7. 1. " PRI_112 ,Interrupt 112 Priority" line.long 0x74 "IPR29,Interrupt Priority Register" hexmask.long.byte 0x74 24.--31. 1. " PRI_119 ,Interrupt 119 Priority" hexmask.long.byte 0x74 16.--23. 1. " PRI_118 ,Interrupt 118 Priority" hexmask.long.byte 0x74 8.--15. 1. " PRI_117 ,Interrupt 117 Priority" hexmask.long.byte 0x74 0.--7. 1. " PRI_116 ,Interrupt 116 Priority" line.long 0x78 "IPR30,Interrupt Priority Register" hexmask.long.byte 0x78 24.--31. 1. " PRI_123 ,Interrupt 123 Priority" hexmask.long.byte 0x78 16.--23. 1. " PRI_122 ,Interrupt 122 Priority" hexmask.long.byte 0x78 8.--15. 1. " PRI_121 ,Interrupt 121 Priority" hexmask.long.byte 0x78 0.--7. 1. " PRI_120 ,Interrupt 120 Priority" line.long 0x7C "IPR31,Interrupt Priority Register" hexmask.long.byte 0x7C 24.--31. 1. " PRI_127 ,Interrupt 127 Priority" hexmask.long.byte 0x7C 16.--23. 1. " PRI_126 ,Interrupt 126 Priority" hexmask.long.byte 0x7C 8.--15. 1. " PRI_125 ,Interrupt 125 Priority" hexmask.long.byte 0x7C 0.--7. 1. " PRI_124 ,Interrupt 124 Priority" line.long 0x80 "IPR32,Interrupt Priority Register" hexmask.long.byte 0x80 24.--31. 1. " PRI_131 ,Interrupt 131 Priority" hexmask.long.byte 0x80 16.--23. 1. " PRI_130 ,Interrupt 130 Priority" hexmask.long.byte 0x80 8.--15. 1. " PRI_129 ,Interrupt 129 Priority" hexmask.long.byte 0x80 0.--7. 1. " PRI_128 ,Interrupt 128 Priority" line.long 0x84 "IPR33,Interrupt Priority Register" hexmask.long.byte 0x84 24.--31. 1. " PRI_135 ,Interrupt 135 Priority" hexmask.long.byte 0x84 16.--23. 1. " PRI_134 ,Interrupt 134 Priority" hexmask.long.byte 0x84 8.--15. 1. " PRI_133 ,Interrupt 133 Priority" hexmask.long.byte 0x84 0.--7. 1. " PRI_132 ,Interrupt 132 Priority" line.long 0x88 "IPR34,Interrupt Priority Register" hexmask.long.byte 0x88 24.--31. 1. " PRI_139 ,Interrupt 139 Priority" hexmask.long.byte 0x88 16.--23. 1. " PRI_138 ,Interrupt 138 Priority" hexmask.long.byte 0x88 8.--15. 1. " PRI_137 ,Interrupt 137 Priority" hexmask.long.byte 0x88 0.--7. 1. " PRI_136 ,Interrupt 136 Priority" line.long 0x8C "IPR35,Interrupt Priority Register" hexmask.long.byte 0x8C 24.--31. 1. " PRI_143 ,Interrupt 143 Priority" hexmask.long.byte 0x8C 16.--23. 1. " PRI_142 ,Interrupt 142 Priority" hexmask.long.byte 0x8C 8.--15. 1. " PRI_141 ,Interrupt 141 Priority" hexmask.long.byte 0x8C 0.--7. 1. " PRI_140 ,Interrupt 140 Priority" line.long 0x90 "IPR36,Interrupt Priority Register" hexmask.long.byte 0x90 24.--31. 1. " PRI_147 ,Interrupt 147 Priority" hexmask.long.byte 0x90 16.--23. 1. " PRI_146 ,Interrupt 146 Priority" hexmask.long.byte 0x90 8.--15. 1. " PRI_145 ,Interrupt 145 Priority" hexmask.long.byte 0x90 0.--7. 1. " PRI_144 ,Interrupt 144 Priority" line.long 0x94 "IPR37,Interrupt Priority Register" hexmask.long.byte 0x94 24.--31. 1. " PRI_151 ,Interrupt 151 Priority" hexmask.long.byte 0x94 16.--23. 1. " PRI_150 ,Interrupt 150 Priority" hexmask.long.byte 0x94 8.--15. 1. " PRI_149 ,Interrupt 149 Priority" hexmask.long.byte 0x94 0.--7. 1. " PRI_148 ,Interrupt 148 Priority" line.long 0x98 "IPR38,Interrupt Priority Register" hexmask.long.byte 0x98 24.--31. 1. " PRI_155 ,Interrupt 155 Priority" hexmask.long.byte 0x98 16.--23. 1. " PRI_154 ,Interrupt 154 Priority" hexmask.long.byte 0x98 8.--15. 1. " PRI_153 ,Interrupt 153 Priority" hexmask.long.byte 0x98 0.--7. 1. " PRI_152 ,Interrupt 152 Priority" line.long 0x9C "IPR39,Interrupt Priority Register" hexmask.long.byte 0x9C 24.--31. 1. " PRI_159 ,Interrupt 159 Priority" hexmask.long.byte 0x9C 16.--23. 1. " PRI_158 ,Interrupt 158 Priority" hexmask.long.byte 0x9C 8.--15. 1. " PRI_157 ,Interrupt 157 Priority" hexmask.long.byte 0x9C 0.--7. 1. " PRI_156 ,Interrupt 156 Priority" line.long 0xA0 "IPR40,Interrupt Priority Register" hexmask.long.byte 0xA0 24.--31. 1. " PRI_163 ,Interrupt 163 Priority" hexmask.long.byte 0xA0 16.--23. 1. " PRI_162 ,Interrupt 162 Priority" hexmask.long.byte 0xA0 8.--15. 1. " PRI_161 ,Interrupt 161 Priority" hexmask.long.byte 0xA0 0.--7. 1. " PRI_160 ,Interrupt 160 Priority" line.long 0xA4 "IPR41,Interrupt Priority Register" hexmask.long.byte 0xA4 24.--31. 1. " PRI_167 ,Interrupt 167 Priority" hexmask.long.byte 0xA4 16.--23. 1. " PRI_166 ,Interrupt 166 Priority" hexmask.long.byte 0xA4 8.--15. 1. " PRI_165 ,Interrupt 165 Priority" hexmask.long.byte 0xA4 0.--7. 1. " PRI_164 ,Interrupt 164 Priority" line.long 0xA8 "IPR42,Interrupt Priority Register" hexmask.long.byte 0xA8 24.--31. 1. " PRI_171 ,Interrupt 171 Priority" hexmask.long.byte 0xA8 16.--23. 1. " PRI_170 ,Interrupt 170 Priority" hexmask.long.byte 0xA8 8.--15. 1. " PRI_169 ,Interrupt 169 Priority" hexmask.long.byte 0xA8 0.--7. 1. " PRI_168 ,Interrupt 168 Priority" line.long 0xAC "IPR43,Interrupt Priority Register" hexmask.long.byte 0xAC 24.--31. 1. " PRI_175 ,Interrupt 175 Priority" hexmask.long.byte 0xAC 16.--23. 1. " PRI_174 ,Interrupt 174 Priority" hexmask.long.byte 0xAC 8.--15. 1. " PRI_173 ,Interrupt 173 Priority" hexmask.long.byte 0xAC 0.--7. 1. " PRI_172 ,Interrupt 172 Priority" line.long 0xB0 "IPR44,Interrupt Priority Register" hexmask.long.byte 0xB0 24.--31. 1. " PRI_179 ,Interrupt 179 Priority" hexmask.long.byte 0xB0 16.--23. 1. " PRI_178 ,Interrupt 178 Priority" hexmask.long.byte 0xB0 8.--15. 1. " PRI_177 ,Interrupt 177 Priority" hexmask.long.byte 0xB0 0.--7. 1. " PRI_176 ,Interrupt 176 Priority" line.long 0xB4 "IPR45,Interrupt Priority Register" hexmask.long.byte 0xB4 24.--31. 1. " PRI_183 ,Interrupt 183 Priority" hexmask.long.byte 0xB4 16.--23. 1. " PRI_182 ,Interrupt 182 Priority" hexmask.long.byte 0xB4 8.--15. 1. " PRI_181 ,Interrupt 181 Priority" hexmask.long.byte 0xB4 0.--7. 1. " PRI_180 ,Interrupt 180 Priority" line.long 0xB8 "IPR46,Interrupt Priority Register" hexmask.long.byte 0xB8 24.--31. 1. " PRI_187 ,Interrupt 187 Priority" hexmask.long.byte 0xB8 16.--23. 1. " PRI_186 ,Interrupt 186 Priority" hexmask.long.byte 0xB8 8.--15. 1. " PRI_185 ,Interrupt 185 Priority" hexmask.long.byte 0xB8 0.--7. 1. " PRI_184 ,Interrupt 184 Priority" line.long 0xBC "IPR47,Interrupt Priority Register" hexmask.long.byte 0xBC 24.--31. 1. " PRI_191 ,Interrupt 191 Priority" hexmask.long.byte 0xBC 16.--23. 1. " PRI_190 ,Interrupt 190 Priority" hexmask.long.byte 0xBC 8.--15. 1. " PRI_189 ,Interrupt 189 Priority" hexmask.long.byte 0xBC 0.--7. 1. " PRI_188 ,Interrupt 188 Priority" line.long 0xC0 "IPR48,Interrupt Priority Register" hexmask.long.byte 0xC0 24.--31. 1. " PRI_195 ,Interrupt 195 Priority" hexmask.long.byte 0xC0 16.--23. 1. " PRI_194 ,Interrupt 194 Priority" hexmask.long.byte 0xC0 8.--15. 1. " PRI_193 ,Interrupt 193 Priority" hexmask.long.byte 0xC0 0.--7. 1. " PRI_192 ,Interrupt 192 Priority" line.long 0xC4 "IPR49,Interrupt Priority Register" hexmask.long.byte 0xC4 24.--31. 1. " PRI_199 ,Interrupt 199 Priority" hexmask.long.byte 0xC4 16.--23. 1. " PRI_198 ,Interrupt 198 Priority" hexmask.long.byte 0xC4 8.--15. 1. " PRI_197 ,Interrupt 197 Priority" hexmask.long.byte 0xC4 0.--7. 1. " PRI_196 ,Interrupt 196 Priority" line.long 0xC8 "IPR50,Interrupt Priority Register" hexmask.long.byte 0xC8 24.--31. 1. " PRI_203 ,Interrupt 203 Priority" hexmask.long.byte 0xC8 16.--23. 1. " PRI_202 ,Interrupt 202 Priority" hexmask.long.byte 0xC8 8.--15. 1. " PRI_201 ,Interrupt 201 Priority" hexmask.long.byte 0xC8 0.--7. 1. " PRI_200 ,Interrupt 200 Priority" line.long 0xCC "IPR51,Interrupt Priority Register" hexmask.long.byte 0xCC 24.--31. 1. " PRI_207 ,Interrupt 207 Priority" hexmask.long.byte 0xCC 16.--23. 1. " PRI_206 ,Interrupt 206 Priority" hexmask.long.byte 0xCC 8.--15. 1. " PRI_205 ,Interrupt 205 Priority" hexmask.long.byte 0xCC 0.--7. 1. " PRI_204 ,Interrupt 204 Priority" line.long 0xD0 "IPR52,Interrupt Priority Register" hexmask.long.byte 0xD0 24.--31. 1. " PRI_211 ,Interrupt 211 Priority" hexmask.long.byte 0xD0 16.--23. 1. " PRI_210 ,Interrupt 210 Priority" hexmask.long.byte 0xD0 8.--15. 1. " PRI_209 ,Interrupt 209 Priority" hexmask.long.byte 0xD0 0.--7. 1. " PRI_208 ,Interrupt 208 Priority" line.long 0xD4 "IPR53,Interrupt Priority Register" hexmask.long.byte 0xD4 24.--31. 1. " PRI_215 ,Interrupt 215 Priority" hexmask.long.byte 0xD4 16.--23. 1. " PRI_214 ,Interrupt 214 Priority" hexmask.long.byte 0xD4 8.--15. 1. " PRI_213 ,Interrupt 213 Priority" hexmask.long.byte 0xD4 0.--7. 1. " PRI_212 ,Interrupt 212 Priority" line.long 0xD8 "IPR54,Interrupt Priority Register" hexmask.long.byte 0xD8 24.--31. 1. " PRI_219 ,Interrupt 219 Priority" hexmask.long.byte 0xD8 16.--23. 1. " PRI_218 ,Interrupt 218 Priority" hexmask.long.byte 0xD8 8.--15. 1. " PRI_217 ,Interrupt 217 Priority" hexmask.long.byte 0xD8 0.--7. 1. " PRI_216 ,Interrupt 216 Priority" line.long 0xDC "IPR55,Interrupt Priority Register" hexmask.long.byte 0xDC 24.--31. 1. " PRI_223 ,Interrupt 223 Priority" hexmask.long.byte 0xDC 16.--23. 1. " PRI_222 ,Interrupt 222 Priority" hexmask.long.byte 0xDC 8.--15. 1. " PRI_221 ,Interrupt 221 Priority" hexmask.long.byte 0xDC 0.--7. 1. " PRI_220 ,Interrupt 220 Priority" line.long 0xE0 "IPR56,Interrupt Priority Register" hexmask.long.byte 0xE0 24.--31. 1. " PRI_227 ,Interrupt 227 Priority" hexmask.long.byte 0xE0 16.--23. 1. " PRI_226 ,Interrupt 226 Priority" hexmask.long.byte 0xE0 8.--15. 1. " PRI_225 ,Interrupt 225 Priority" hexmask.long.byte 0xE0 0.--7. 1. " PRI_224 ,Interrupt 224 Priority" line.long 0xE4 "IPR57,Interrupt Priority Register" hexmask.long.byte 0xE4 24.--31. 1. " PRI_231 ,Interrupt 231 Priority" hexmask.long.byte 0xE4 16.--23. 1. " PRI_230 ,Interrupt 230 Priority" hexmask.long.byte 0xE4 8.--15. 1. " PRI_229 ,Interrupt 229 Priority" hexmask.long.byte 0xE4 0.--7. 1. " PRI_228 ,Interrupt 228 Priority" line.long 0xE8 "IPR58,Interrupt Priority Register" hexmask.long.byte 0xE8 24.--31. 1. " PRI_235 ,Interrupt 235 Priority" hexmask.long.byte 0xE8 16.--23. 1. " PRI_234 ,Interrupt 234 Priority" hexmask.long.byte 0xE8 8.--15. 1. " PRI_233 ,Interrupt 233 Priority" hexmask.long.byte 0xE8 0.--7. 1. " PRI_232 ,Interrupt 232 Priority" line.long 0xEC "IPR59,Interrupt Priority Register" hexmask.long.byte 0xEC 24.--31. 1. " PRI_239 ,Interrupt 239 Priority" hexmask.long.byte 0xEC 16.--23. 1. " PRI_238 ,Interrupt 238 Priority" hexmask.long.byte 0xEC 8.--15. 1. " PRI_237 ,Interrupt 237 Priority" hexmask.long.byte 0xEC 0.--7. 1. " PRI_236 ,Interrupt 236 Priority" else hgroup.long 0x400++0xEF hide.long 0x0 "IPR0,Interrupt Priority Register" hide.long 0x4 "IPR1,Interrupt Priority Register" hide.long 0x8 "IPR2,Interrupt Priority Register" hide.long 0xC "IPR3,Interrupt Priority Register" hide.long 0x10 "IPR4,Interrupt Priority Register" hide.long 0x14 "IPR5,Interrupt Priority Register" hide.long 0x18 "IPR6,Interrupt Priority Register" hide.long 0x1C "IPR7,Interrupt Priority Register" hide.long 0x20 "IPR8,Interrupt Priority Register" hide.long 0x24 "IPR9,Interrupt Priority Register" hide.long 0x28 "IPR10,Interrupt Priority Register" hide.long 0x2C "IPR11,Interrupt Priority Register" hide.long 0x30 "IPR12,Interrupt Priority Register" hide.long 0x34 "IPR13,Interrupt Priority Register" hide.long 0x38 "IPR14,Interrupt Priority Register" hide.long 0x3C "IPR15,Interrupt Priority Register" hide.long 0x40 "IPR16,Interrupt Priority Register" hide.long 0x44 "IPR17,Interrupt Priority Register" hide.long 0x48 "IPR18,Interrupt Priority Register" hide.long 0x4C "IPR19,Interrupt Priority Register" hide.long 0x50 "IPR20,Interrupt Priority Register" hide.long 0x54 "IPR21,Interrupt Priority Register" hide.long 0x58 "IPR22,Interrupt Priority Register" hide.long 0x5C "IPR23,Interrupt Priority Register" hide.long 0x60 "IPR24,Interrupt Priority Register" hide.long 0x64 "IPR25,Interrupt Priority Register" hide.long 0x68 "IPR26,Interrupt Priority Register" hide.long 0x6C "IPR27,Interrupt Priority Register" hide.long 0x70 "IPR28,Interrupt Priority Register" hide.long 0x74 "IPR29,Interrupt Priority Register" hide.long 0x78 "IPR30,Interrupt Priority Register" hide.long 0x7C "IPR31,Interrupt Priority Register" hide.long 0x80 "IPR32,Interrupt Priority Register" hide.long 0x84 "IPR33,Interrupt Priority Register" hide.long 0x88 "IPR34,Interrupt Priority Register" hide.long 0x8C "IPR35,Interrupt Priority Register" hide.long 0x90 "IPR36,Interrupt Priority Register" hide.long 0x94 "IPR37,Interrupt Priority Register" hide.long 0x98 "IPR38,Interrupt Priority Register" hide.long 0x9C "IPR39,Interrupt Priority Register" hide.long 0xA0 "IPR40,Interrupt Priority Register" hide.long 0xA4 "IPR41,Interrupt Priority Register" hide.long 0xA8 "IPR42,Interrupt Priority Register" hide.long 0xAC "IPR43,Interrupt Priority Register" hide.long 0xB0 "IPR44,Interrupt Priority Register" hide.long 0xB4 "IPR45,Interrupt Priority Register" hide.long 0xB8 "IPR46,Interrupt Priority Register" hide.long 0xBC "IPR47,Interrupt Priority Register" hide.long 0xC0 "IPR48,Interrupt Priority Register" hide.long 0xC4 "IPR49,Interrupt Priority Register" hide.long 0xC8 "IPR50,Interrupt Priority Register" hide.long 0xCC "IPR51,Interrupt Priority Register" hide.long 0xD0 "IPR52,Interrupt Priority Register" hide.long 0xD4 "IPR53,Interrupt Priority Register" hide.long 0xD8 "IPR54,Interrupt Priority Register" hide.long 0xDC "IPR55,Interrupt Priority Register" hide.long 0xE0 "IPR56,Interrupt Priority Register" hide.long 0xE4 "IPR57,Interrupt Priority Register" hide.long 0xE8 "IPR58,Interrupt Priority Register" hide.long 0xEC "IPR59,Interrupt Priority Register" endif tree.end width 0x0b else newline textline "COREDEBUG component base address not specified" newline endif tree.end sif CORENAME()=="CORTEXM4F" tree "Floating-point Unit (FPU)" sif COMPonent.AVAILABLE("COREDEBUG") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1)) width 8. group.long 0xF34++0x0B line.long 0x00 "FPCCR,Floating-Point Context Control Register" bitfld.long 0x00 31. " ASPEN ,Execution of a floating-point instruction sets the CONTROL.FPCA bit to 1" "Disabled,Enabled" bitfld.long 0x00 30. " LSPEN ,Enables lazy context save of FP state" "Disabled,Enabled" bitfld.long 0x00 8. " MONRDY ,Indicates whether the software executing when the processor allocated the FP stack frame was able to set the DebugMonitor exception to pending" "Not able,Able" textline " " bitfld.long 0x00 6. " BFRDY ,Indicates whether the software executing when the processor allocated the FP stack frame was able to set the BusFault exception to pending" "Not able,Able" bitfld.long 0x00 5. " MMRDY ,Indicates whether the software executing when the processor allocated the FP stack frame was able to set the MemManage exception to pending" "Not able,Able" bitfld.long 0x00 4. " HFRDY ,Indicates whether the software executing when the processor allocated the FP stack frame was able to set the HardFault exception to pending" "Not able,Able" textline " " bitfld.long 0x00 3. " THREAD ,Indicates the processor mode when it allocated the FP stack frame" "Handler,Thread" bitfld.long 0x00 1. " USER ,Indicates the privilege level of the software executing" "Privileged,Unprivileged" bitfld.long 0x00 0. " LSPACT ,Indicates whether Lazy preservation of the FP state is active" "Not active,Active" line.long 0x04 "FPCAR,Floating-Point Context Address Register" hexmask.long 0x04 3.--31. 0x8 " ADDRESS ,The location of the unpopulated floating-point register space allocated on an exception stack frame" line.long 0x08 "FPDSCR,Floating-Point Default Status Control Register" bitfld.long 0x08 26. " AHP ,Default value for FPSCR.AHP" "IEEE 754-2008,Alternative" bitfld.long 0x08 25. " DN ,Default value for FPSCR.DN" "NaN operands,Any operation" bitfld.long 0x08 24. " FZ ,Default value for FPSCR.FZ" "No Flush mode,Flush mode" textline " " bitfld.long 0x08 22.--23. " RMODE ,Default value for FPSCR.RMode" "Round to Nearest,Round towards Plus Infinity,Round towards Minus Infinity,Round towards Zero" rgroup.long 0xF40++0x07 line.long 0x00 "MVFR0,Media and FP Feature Register 0" bitfld.long 0x00 28.--31. " FPRNDMOD ,Indicates the rounding modes supported by the FP floating-point hardware" ",All supported,?..." bitfld.long 0x00 24.--27. " SRTERR ,Indicates the hardware support for FP short vectors" "Not supported,?..." bitfld.long 0x00 20.--23. " SQRROOT ,Indicates the hardware support for FP square root operations" ",Supported,?..." textline " " bitfld.long 0x00 16.--19. " DIV ,Indicates the hardware support for FP divide operations" ",Supported,?..." bitfld.long 0x00 12.--15. " FPEXTRP ,Indicates whether the FP hardware implementation supports exception trapping" "Not supported,?..." bitfld.long 0x00 8.--11. " DBLPREC ,Indicates the hardware support for FP double_precision operations" "Not supported,,Supported,?..." textline " " bitfld.long 0x00 4.--7. " SNGLPREC ,Indicates the hardware support for FP single-precision operations" ",,Supported,?..." bitfld.long 0x00 0.--3. " A_SIMD ,Indicates the size of the FP register bank" ",Supported-16x64-bit,?..." line.long 0x04 "MVFR1,Media and FP Feature Register 1" bitfld.long 0x04 28.--31. " FP_FUSED_MAC ,Indicates whether the FP supports fused multiply accumulate operations" ",Supported,?..." bitfld.long 0x04 24.--27. " FP_HPFP ,Indicates whether the FP supports half-precision and double-precision floating-point conversion instructions" ",Half-single,Half-single and half-double,?..." textline " " bitfld.long 0x04 4.--7. " D_NAN ,Indicates whether the FP hardware implementation supports only the Default NaN mode" ",NaN propagation,?..." bitfld.long 0x04 0.--3. " FTZ_MODE ,Indicates whether the FP hardware implementation supports only the Flush-to-Zero mode of operation" ",Full denorm. num. arit.,?..." width 0xB else newline textline "COREDEBUG component base address not specified" newline endif tree.end endif tree "Debug" tree "Core Debug" sif COMPonent.AVAILABLE("COREDEBUG") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1)) width 7. group.long 0xD30++0x03 line.long 0x00 "DFSR,Debug Fault Status Register" eventfld.long 0x00 4. " EXTERNAL ,Indicates a debug event generated because of the assertion of an external debug request" "Not generated,Generated" eventfld.long 0x00 3. " VCATCH ,Indicates triggering of a Vector catch" "Not triggered,Triggered" eventfld.long 0x00 2. " DWTTRAP ,Indicates a debug event generated by the DWT" "Not generated,Generated" newline eventfld.long 0x00 1. " BKPT ,Indicates a debug event generated by BKPT instruction execution or a breakpoint match in FPB" "Not generated,Generated" eventfld.long 0x00 0. " HALTED ,Indicates a debug event generated by either a C_HALT or C_STEP request, triggered by a write to the DHCSR or a step request triggered by setting DEMCR.MON_STEP to 1" "Not generated,Generated" newline hgroup.long 0xDF0++0x03 hide.long 0x00 "DHCSR,Debug Halting Control and Status Register" in newline wgroup.long 0xDF4++0x03 line.long 0x00 "DCRSR,Debug Core Register Selector Register" bitfld.long 0x00 16. " REGWNR ,Register Read/Write" "Read,Write" hexmask.long.byte 0x00 0.--6. 1. " REGSEL ,Specifies the ARM core register or special-purpose register or Floating-point extension register" group.long 0xDF8++0x03 line.long 0x00 "DCRDR,Debug Core Register Data Register" if (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDFC))&0x10000)==0x10000) group.long 0xDFC++0x03 line.long 0x00 "DEMCR,Debug Exception and Monitor Control Register" bitfld.long 0x00 24. " TRCENA ,Global enable for all DWT and ITM features" "Disabled,Enabled" bitfld.long 0x00 19. " MON_REQ ,DebugMonitor semaphore bit" "0,1" bitfld.long 0x00 18. " MON_STEP ,Setting this bit to 1 makes the step request pending" "No step,Step" newline bitfld.long 0x00 17. " MON_PEND ,Sets or clears the pending state of the DebugMonitor exception" "Not pending,Pending" bitfld.long 0x00 16. " MON_EN ,Enable the DebugMonitor exception" "Disabled,Enabled" bitfld.long 0x00 10. " VC_HARDERR ,Enable halting debug trap on a HardFault exception" "Disabled,Enabled" newline bitfld.long 0x00 9. " VC_INTERR ,Enable halting debug trap" "Disabled,Enabled" bitfld.long 0x00 8. " VC_BUSERR ,Enable halting debug trap on a BusFault exception" "Disabled,Enabled" bitfld.long 0x00 7. " VC_STATERR ,Enable halting debug trap on a UsageFault exception" "Disabled,Enabled" newline bitfld.long 0x00 6. " VC_CHKERR ,Enable halting debug trap on a UsageFault exception" "Disabled,Enabled" bitfld.long 0x00 5. " VC_NOCPERR ,Enable halting debug trap on a UsageFault caused by an access to a Coprocessor" "Disabled,Enabled" bitfld.long 0x00 4. " VC_MMERR ,Enable halting debug trap on a MemManage exception" "Disabled,Enabled" newline bitfld.long 0x00 0. " VC_CORERESET ,Enable Reset Vector Catch" "Disabled,Enabled" else group.long 0xDFC++0x03 line.long 0x00 "DEMCR,Debug Exception and Monitor Control Register" bitfld.long 0x00 24. " TRCENA ,Global enable for all DWT and ITM features" "Disabled,Enabled" bitfld.long 0x00 19. " MON_REQ ,DebugMonitor semaphore bit" "0,1" newline bitfld.long 0x00 17. " MON_PEND ,Sets or clears the pending state of the DebugMonitor exception" "Not pending,Pending" bitfld.long 0x00 16. " MON_EN ,Enable the DebugMonitor exception" "Disabled,Enabled" bitfld.long 0x00 10. " VC_HARDERR ,Enable halting debug trap on a HardFault exception" "Disabled,Enabled" newline bitfld.long 0x00 9. " VC_INTERR ,Enable halting debug trap" "Disabled,Enabled" bitfld.long 0x00 8. " VC_BUSERR ,Enable halting debug trap on a BusFault exception" "Disabled,Enabled" bitfld.long 0x00 7. " VC_STATERR ,Enable halting debug trap on a UsageFault exception" "Disabled,Enabled" newline bitfld.long 0x00 6. " VC_CHKERR ,Enable halting debug trap on a UsageFault exception" "Disabled,Enabled" bitfld.long 0x00 5. " VC_NOCPERR ,Enable halting debug trap on a UsageFault caused by an access to a Coprocessor" "Disabled,Enabled" bitfld.long 0x00 4. " VC_MMERR ,Enable halting debug trap on a MemManage exception" "Disabled,Enabled" newline bitfld.long 0x00 0. " VC_CORERESET ,Enable Reset Vector Catch" "Disabled,Enabled" endif width 0x0B else newline textline "COREDEBUG component base address not specified" newline endif tree.end tree "Flash Patch and Breakpoint Unit (FPB)" sif COMPonent.AVAILABLE("FPB") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1)) width 10. group.long 0x00++0x07 line.long 0x00 "FP_CTRL,Flash Patch Control Register" bitfld.long 0x00 28.--31. " REV ,Flash Patch Breakpoint architecture revision" "Version 1,Version 2,?..." rbitfld.long 0x00 4.--7. 12.--14. " NUM_CODE ,The number of instruction address comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127" bitfld.long 0x00 1. " KEY ,Key Field" "Low,High" bitfld.long 0x00 0. " ENABLE ,Flash Patch Unit Enable" "Disabled,Enabled" textline "" line.long 0x04 "FP_REMAP,Flash Patch Remap Register" bitfld.long 0x04 29. " RMPSPT ,Indicates whether the FPB unit supports flash patch remap" "Not supported,SRAM region" hexmask.long.tbyte 0x04 5.--28. 0x20 " REMAP ,Remap Base Address Field" if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x8++0x03 line.long 0x00 "FP_COMP0,Flash Patch Comparator Register 0" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x8))&0x01)==0x00) group.long 0x8++0x03 line.long 0x00 "FP_COMP0,Flash Patch Comparator Register 0" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x8++0x03 line.long 0x00 "FP_COMP0,Flash Patch Comparator Register 0" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0xC++0x03 line.long 0x00 "FP_COMP1,Flash Patch Comparator Register 1" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0xC))&0x01)==0x00) group.long 0xC++0x03 line.long 0x00 "FP_COMP1,Flash Patch Comparator Register 1" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0xC++0x03 line.long 0x00 "FP_COMP1,Flash Patch Comparator Register 1" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x10++0x03 line.long 0x00 "FP_COMP2,Flash Patch Comparator Register 2" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x10))&0x01)==0x00) group.long 0x10++0x03 line.long 0x00 "FP_COMP2,Flash Patch Comparator Register 2" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x10++0x03 line.long 0x00 "FP_COMP2,Flash Patch Comparator Register 2" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x14++0x03 line.long 0x00 "FP_COMP3,Flash Patch Comparator Register 3" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x14))&0x01)==0x00) group.long 0x14++0x03 line.long 0x00 "FP_COMP3,Flash Patch Comparator Register 3" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x14++0x03 line.long 0x00 "FP_COMP3,Flash Patch Comparator Register 3" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x18++0x03 line.long 0x00 "FP_COMP4,Flash Patch Comparator Register 4" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x18))&0x01)==0x00) group.long 0x18++0x03 line.long 0x00 "FP_COMP4,Flash Patch Comparator Register 4" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x18++0x03 line.long 0x00 "FP_COMP4,Flash Patch Comparator Register 4" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x1C++0x03 line.long 0x00 "FP_COMP5,Flash Patch Comparator Register 5" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x1C))&0x01)==0x00) group.long 0x1C++0x03 line.long 0x00 "FP_COMP5,Flash Patch Comparator Register 5" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x1C++0x03 line.long 0x00 "FP_COMP5,Flash Patch Comparator Register 5" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x20++0x03 line.long 0x00 "FP_COMP6,Flash Patch Comparator Register 6" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x20))&0x01)==0x00) group.long 0x20++0x03 line.long 0x00 "FP_COMP6,Flash Patch Comparator Register 6" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x20++0x03 line.long 0x00 "FP_COMP6,Flash Patch Comparator Register 6" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x00) group.long 0x24++0x03 line.long 0x00 "FP_COMP7,Flash Patch Comparator Register 7" bitfld.long 0x00 30.--31. " REPLACE ,Defines the behaviour when the COMP address is matched" ",Set BKPT on lower halfword,Set BKPT on upper halfword,Set BKPT on both" hexmask.long 0x00 2.--28. 0x04 " COMP ,Comparison Address" bitfld.long 0x00 0. " ENABLE ,Compare and Remap Enable" "Disabled,Enabled" elif (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))))&0x10000000)==0x10000000) if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("FPB",-1))+0x24))&0x01)==0x00) group.long 0x24++0x03 line.long 0x00 "FP_COMP7,Flash Patch Comparator Register 7" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" else group.long 0x24++0x03 line.long 0x00 "FP_COMP7,Flash Patch Comparator Register 7" hexmask.long 0x00 1.--31. 0x02 " BPADDR ,Breakpoint address" bitfld.long 0x00 0. " BE ,Enable bit for Breakpoint" "Disabled,Enabled" endif endif width 6. tree "CoreSight Identification Registers" rgroup.long 0xFE0++0x0F line.long 0x00 "PID0,Peripheral ID0" hexmask.long.byte 0x00 0.--7. 1. " Part_Num[7:0] ,Part Number bits[7:0]" line.long 0x04 "PID1,Peripheral ID1" hexmask.long.byte 0x04 4.--7. 1. " JEP106ID[3:0] ,JEP106 ID code bits[3:0]" hexmask.long.byte 0x04 0.--3. 1. " Part_Num[11:8] ,Part Number bits[11:8]" line.long 0x08 "PID2,Peripheral ID2" hexmask.long.byte 0x08 4.--7. 1. " Revision ,Revision" bitfld.long 0x08 3. " JEDEC ,JEDEC assigned ID fields" "0,JEDEC" hexmask.long.byte 0x08 0.--2. 1. " JEP106ID[6:4] ,JEP106 ID code bits[6:4]" line.long 0x0c "PID3,Peripheral ID3" hexmask.long.byte 0x0C 4.--7. 1. " RevAnd ,Minor revision field" hexmask.long.byte 0x0C 0.--3. 1. " CMB ,Customer-modified block" rgroup.long 0xFD0++0x03 line.long 0x00 "PID4,Peripheral Identification Register 4" hexmask.long.byte 0x00 4.--7. 1. " Count ,4KB count" hexmask.long.byte 0x00 0.--3. 1. " JEP106_CC ,JEP106 continuation code" rgroup.long 0xFF0++0x0F line.long 0x00 "CID0,Component ID0 (Preamble)" line.long 0x04 "CID1,Component ID1" hexmask.long.byte 0x04 4.--7. 1. " CC ,Component Class" hexmask.long.byte 0x04 0.--3. 1. " Preamble ,Preamble" line.long 0x08 "CID2,Component ID2" line.long 0x0c "CID3,Component ID3" tree.end width 0xB else newline textline "FPB component base address not specified" newline endif tree.end tree "Data Watchpoint and Trace Unit (DWT)" sif COMPonent.AVAILABLE("DWT") base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1)) width 15. group.long 0x00++0x1B line.long 0x00 "DWT_CTRL,Control Register" rbitfld.long 0x00 28.--31. " NUMCOMP ,Number of comparators implemented" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 27. " NOTRCPKT ,Shows whether the implementation supports trace sampling and exception tracing" "Supported,Not supported" rbitfld.long 0x00 26. " NOEXTTRIG ,Shows whether the implementation includes external match signals" "Supported,Not supported" textline " " rbitfld.long 0x00 25. " NOCYCCNT ,Shows whether the implementation supports a cycle counter" "Supported,Not supported" rbitfld.long 0x00 24. " NOPRFCNT ,Shows whether the implementation supports the profiling counters" "Supported,Not supported" bitfld.long 0x00 22. " CYCEVTENA ,Enables POSTCNT underflow Event counter packets generation" "Disabled,Enabled" textline " " bitfld.long 0x00 21. " FOLDEVTENA ,Enables generation of the Folded-instruction counter overflow event" "Disabled,Enabled" bitfld.long 0x00 20. " LSUEVTENA ,Enables generation of the LSU counter overflow event" "Disabled,Enabled" bitfld.long 0x00 19. " SLEEPEVTENA ,Enables generation of the Sleep counter overflow event" "Disabled,Enabled" textline " " bitfld.long 0x00 18. " EXCEVTENA ,Enables generation of the Exception overhead counter overflow event" "Disabled,Enabled" bitfld.long 0x00 17. " CPIEVTENA ,Enables generation of the CPI counter overflow event" "Disabled,Enabled" bitfld.long 0x00 16. " EXCTRCENA ,Enables generation of exception trace" "Disabled,Enabled" textline " " bitfld.long 0x00 12. " PCSAMPLEENA ,Enables use of POSTCNT counter as a timer for Periodic PC sample packet generation" "Disabled,Enabled" bitfld.long 0x00 10.--11. " SYNCTAP ,Selects the position of the synchronization packet counter tap on the CYCCNT counter" "Disabled,CYCCNT[24],CYCCNT[26],CYCCNT[28]" bitfld.long 0x00 9. " CYCTAP ,Selects the position of the POSTCNT tap on the CYCCNT counter" "CYCCNT[6],CYCCNT[10]" textline " " bitfld.long 0x00 5.--8. " POSTINIT ,Initial value for the POSTCNT counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 1.--4. " POSTPRESET ,Reload value for the POSTCNT counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 0. " CYCCNTENA ,Enables CYCCNT" "Disabled,Enabled" line.long 0x04 "DWT_CYCCNT,Cycle Count Register" line.long 0x08 "DWT_CPICNT,CPI Count Register" hexmask.long.byte 0x08 0.--7. 1. " CPICNT ,The base CPI counter" line.long 0x0c "DWT_EXCCNT,Exception Overhead Count Register" hexmask.long.byte 0x0c 0.--7. 1. " EXCCNT ,The exception overhead counter" line.long 0x10 "DWT_SLEEPCNT,Sleep Count Register" hexmask.long.byte 0x10 0.--7. 1. " SLEEPCNT ,Sleep Counter" line.long 0x14 "DWT_LSUCNT,LSU Count Register" hexmask.long.byte 0x14 0.--7. 1. " LSUCNT ,Load-store counter" line.long 0x18 "DWT_FOLDCNT,Folded-instruction Count Register" hexmask.long.byte 0x18 0.--7. 1. " FOLDCNT ,Folded-instruction counter" rgroup.long 0x1C++0x03 line.long 0x00 "DWT_PCSR,Program Counter Sample register" textline " " group.long 0x20++0x07 line.long 0x00 "DWT_COMP0,DWT Comparator Register 0" line.long 0x04 "DWT_MASK0,DWT Mask Registers 0" bitfld.long 0x04 0.--4. " MASK ,The size of the ignore mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x28))&0x1A0)==0x20) group.long 0x28++0x03 line.long 0x00 "DWT_FUNCTION0,DWT Function Registers 0" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " CYCMATCH ,Enable cycle count comparison for comparator 0" "Disabled,Enabled" bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send address trace packet on READ/WRITE,Send data value + address packet on READ/WRITE,Send data value + address packet on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data address trace packet on READ,Send data address trace packet on WRITE,Send data address + PC value on READ,Send data address + PC value on WRITE" elif (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x28))&0x1A0)==0x00) group.long 0x28++0x03 line.long 0x00 "DWT_FUNCTION0,DWT Function Registers 0" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " CYCMATCH ,Enable cycle count comparison for comparator 0" "Disabled,Enabled" bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send PC value trace packet on READ/WRITE,Send data value trace packet on READ/WRITE,Send data value + PC value on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data value trace packet on READ,Send data value trace packet on WRITE,Send data value + PC value on READ,Send data value + PC value on WRITE" elif (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x28))&0x180)==0x80) group.long 0x28++0x03 line.long 0x00 "DWT_FUNCTION0,DWT Function Registers 0" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " CYCMATCH ,Enable cycle count comparison for comparator 0" "Disabled,Enabled" bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send PC value trace packet,UNPREDICTABLE,UNPREDICTABLE,Generate watchpoint debug event,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,CMPMATCH[N] event,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE" else group.long 0x28++0x03 line.long 0x00 "DWT_FUNCTION0,DWT Function Registers 0" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " CYCMATCH ,Enable cycle count comparison for comparator 0" "Disabled,Enabled" bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,UNPREDICTABLE,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE" endif group.long (0x30)++0x07 line.long 0x00 "DWT_COMP1,DWT Comparator Register 1" line.long 0x04 "DWT_MASK1,DWT Mask Registers 1" bitfld.long 0x04 0.--4. " MASK ,The size of the ignore mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x30+0x08))&0x120)==0x20) group.long (0x30+0x08)++0x03 line.long 0x00 "DWT_FUNCTION1,DWT Function Registers 1" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send address trace packet on READ/WRITE,Send data value + address packet on READ/WRITE,Send data value + address packet on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data address trace packet on READ,Send data address trace packet on WRITE,Send data address + PC value on READ,Send data address + PC value on WRITE" elif (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x30+0x08))&0x120)==0x00) group.long (0x30+0x08)++0x03 line.long 0x00 "DWT_FUNCTION1,DWT Function Registers 1" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send PC value trace packet on READ/WRITE,Send data value trace packet on READ/WRITE,Send data value + PC value on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data value trace packet on READ,Send data value trace packet on WRITE,Send data value + PC value on READ,Send data value + PC value on WRITE" else group.long (0x30+0x08)++0x03 line.long 0x00 "DWT_FUNCTION1,DWT Function Registers 1" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,Enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,UNPREDICTABLE,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE" endif group.long (0x40)++0x07 line.long 0x00 "DWT_COMP2,DWT Comparator Register 2" line.long 0x04 "DWT_MASK2,DWT Mask Registers 2" bitfld.long 0x04 0.--4. " MASK ,The size of the ignore mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x40+0x08))&0x120)==0x20) group.long (0x40+0x08)++0x03 line.long 0x00 "DWT_FUNCTION2,DWT Function Registers 2" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send address trace packet on READ/WRITE,Send data value + address packet on READ/WRITE,Send data value + address packet on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data address trace packet on READ,Send data address trace packet on WRITE,Send data address + PC value on READ,Send data address + PC value on WRITE" elif (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x40+0x08))&0x120)==0x00) group.long (0x40+0x08)++0x03 line.long 0x00 "DWT_FUNCTION2,DWT Function Registers 2" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send PC value trace packet on READ/WRITE,Send data value trace packet on READ/WRITE,Send data value + PC value on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data value trace packet on READ,Send data value trace packet on WRITE,Send data value + PC value on READ,Send data value + PC value on WRITE" else group.long (0x40+0x08)++0x03 line.long 0x00 "DWT_FUNCTION2,DWT Function Registers 2" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,Enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,UNPREDICTABLE,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE" endif group.long (0x50)++0x07 line.long 0x00 "DWT_COMP3,DWT Comparator Register 3" line.long 0x04 "DWT_MASK3,DWT Mask Registers 3" bitfld.long 0x04 0.--4. " MASK ,The size of the ignore mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x50+0x08))&0x120)==0x20) group.long (0x50+0x08)++0x03 line.long 0x00 "DWT_FUNCTION3,DWT Function Registers 3" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send address trace packet on READ/WRITE,Send data value + address packet on READ/WRITE,Send data value + address packet on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data address trace packet on READ,Send data address trace packet on WRITE,Send data address + PC value on READ,Send data address + PC value on WRITE" elif (((per.long(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))+0x50+0x08))&0x120)==0x00) group.long (0x50+0x08)++0x03 line.long 0x00 "DWT_FUNCTION3,DWT Function Registers 3" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,Send PC value trace packet on READ/WRITE,Send data value trace packet on READ/WRITE,Send data value + PC value on READ/WRITE,Watchpoint debug event on PC match,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,CMPMATCH[N] event on PC match,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ/WRITE,Send data value trace packet on READ,Send data value trace packet on WRITE,Send data value + PC value on READ,Send data value + PC value on WRITE" else group.long (0x50+0x08)++0x03 line.long 0x00 "DWT_FUNCTION3,DWT Function Registers 3" bitfld.long 0x00 24. " MATCHED ,Comparator match" "No matched,Matched" bitfld.long 0x00 16.--19. " DATAVADDR1 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 12.--15. " DATAVADDR0 ,Data Value Comparator ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " bitfld.long 0x00 10.--11. " DATAVSIZE ,Data Value Size" "8-bit,16-bit,32-bit,Reserved" bitfld.long 0x00 9. " LNK1ENA ,Supports use of a second linked comparator" "Not Supported,Supported" bitfld.long 0x00 8. " DATAVMATCH ,Data value compare" "Disabled,Enabled" textline " " bitfld.long 0x00 5. " EMITRANGE ,Enables generation of Data trace address offset packets" "Disabled,Enabled" bitfld.long 0x00 0.--3. " FUNCTION ,Selects action taken on comparator match" "Disabled,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,Watchpoint debug event on READ,Watchpoint debug event on WRITE,Watchpoint debug event on READ/WRITE,UNPREDICTABLE,CMPMATCH[N] event on READ,CMPMATCH[N] event on WRITE,CMPMATCH[N] event on READ,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE,UNPREDICTABLE" endif width 6. tree "CoreSight Identification Registers" rgroup.long 0xFE0++0x0F line.long 0x00 "PID0,Peripheral ID0" hexmask.long.byte 0x00 0.--7. 1. " Part_Num[7:0] ,Part Number bits[7:0]" line.long 0x04 "PID1,Peripheral ID1" hexmask.long.byte 0x04 4.--7. 1. " JEP106ID[3:0] ,JEP106 ID code bits[3:0]" hexmask.long.byte 0x04 0.--3. 1. " Part_Num[11:8] ,Part Number bits[11:8]" line.long 0x08 "PID2,Peripheral ID2" hexmask.long.byte 0x08 4.--7. 1. " Revision ,Revision" bitfld.long 0x08 3. " JEDEC ,JEDEC assigned ID fields" "0,JEDEC" hexmask.long.byte 0x08 0.--2. 1. " JEP106ID[6:4] ,JEP106 ID code bits[6:4]" line.long 0x0c "PID3,Peripheral ID3" hexmask.long.byte 0x0C 4.--7. 1. " RevAnd ,Minor revision field" hexmask.long.byte 0x0C 0.--3. 1. " CMB ,Customer-modified block" rgroup.long 0xFD0++0x03 line.long 0x00 "PID4,Peripheral Identification Register 4" hexmask.long.byte 0x00 4.--7. 1. " Count ,4KB count" hexmask.long.byte 0x00 0.--3. 1. " JEP106_CC ,JEP106 continuation code" rgroup.long 0xFF0++0x0F line.long 0x00 "CID0,Component ID0 (Preamble)" line.long 0x04 "CID1,Component ID1" hexmask.long.byte 0x04 4.--7. 1. " CC ,Component Class" hexmask.long.byte 0x04 0.--3. 1. " Preamble ,Preamble" line.long 0x08 "CID2,Component ID2" line.long 0x0c "CID3,Component ID3" tree.end width 0x0B else newline textline "DWT component base address not specified" newline endif tree.end tree.end AUTOINDENT.POP tree.end config 16. 8. tree.open "PORT (Pin control and interrupts)" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") tree "PORTA" base ad:0x40049000 width 8. group.long 0x00++0x17 line.long 0x00 "PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "TSI0_CH1,PTA0,UART0_CTS_B,FTM0_CH5,,,,JTAG_TCLK/SWD_CLK" textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_1,PORTA Pin Control Register 1" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "TSI0_CH2,PTA1,UART0_RX,FTM0_CH6,,,,JTAG_TDI" textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_2,PORTA Pin Control Register 2" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "TSI0_CH3,PTA2,UART0_TX,FTM0_CH7,,,,JTAG_TDO/TRACE_SWO" textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_3,PORTA Pin Control Register 3" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "TSI0_CH4,PTA3,UART0_RTS_B,FTM0_CH0,,,,JTAG_TMS/SWD_DIO" textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_4,PORTA Pin Control Register 4" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x10 8.--10. " MUX ,Pin mux control" "TSI0_CH5,PTA4/LLWU_P3,,FTM0_CH1,,,,NMI_B" textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x14++0x03 line.long 0x00 "PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA5,,FTM0_CH2,,CMP2_OUT,I2S0_RX_BCLK,JTAG_TRST" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA5,,FTM0_CH2,RMII0_RXER/MII0_RXER,CMP2_OUT,I2S0_RX_BCLK,JTAG_TRST" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") group.long 0x18++0x0F line.long 0x00 "PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA6,,FTM0_CH3,,FB_CLKOUT,,TRACE_CLKOUT" else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA6,,FTM0_CH3,,,,TRACE_CLKOUT" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_7,PORTA Pin Control Register 7" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE10,PTA7,,FTM0_CH4,,FB_AD18,,TRACE_D3" else textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE10,PTA7,,FTM0_CH4,,,,TRACE_D3" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_8,PORTA Pin Control Register 8" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC0_SE11,PTA8,,FTM1_CH0,,FB_AD17,FTM1_QD_PHA,TRACE_D2" else textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC0_SE11,PTA8,,FTM1_CH0,,,FTM1_QD_PHA,TRACE_D2" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_9,PORTA Pin Control Register 9" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA9,,FTM1_CH1,,FB_AD16,FTM1_QD_PHB,TRACE_D1" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA9,,FTM1_CH1,MII0_RXD3,,FTM1_QD_PHB,TRACE_D1" elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA9,,FTM1_CH1,MII0_RXD3,FB_AD16,FTM1_QD_PHB,TRACE_D1" else textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA9,,FTM1_CH1,,,FTM1_QD_PHB,TRACE_D1" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x28++0x03 line.long 0x00 "PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA10,,FTM2_CH0,,FB_AD15,FTM2_QD_PHA,TRACE_D0" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA10,,FTM2_CH0,MII0_RXD2,,FTM2_QD_PHA,TRACE_D0" elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA10,,FTM2_CH0,MII0_RXD2,FB_AD15,FTM2_QD_PHA,TRACE_D0" else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA10,,FTM2_CH0,,,FTM2_QD_PHA,TRACE_D0" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") group.long 0x2C++0x03 line.long 0x00 "PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA11,,FTM2_CH1,,FB_OE_b,FTM2_QD_PHB,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA11,,FTM2_CH1,MII0_RXCLK,,FTM2_QD_PHB,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA11,,FTM2_CH1,MII0_RXCLK,FB_OE_b,FTM2_QD_PHB,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA11,,FTM2_CH1,,,FTM2_QD_PHB,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif endif group.long 0x30++0x0F line.long 0x00 "PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "CMP2_IN0,PTA12,,FTM1_CH0,,,I2S0_TXD,FTM1_QD_PHA" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "CMP2_IN0,PTA12,,FTM1_CH0,,FB_CS5_b/FB_TSIZ1/FB_BE23_16_b,I2S0_TXD,FTM1_QD_PHA" elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "CMP2_IN0,PTA12,,FTM1_CH0,RMII0_RXD1/MII0_RXD1,FB_CS5_b/FB_TSIZ1/FB_BE23_16_b,I2S0_TXD,FTM1_QD_PHA" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "CMP2_IN0,PTA12,,FTM1_CH0,RMII0_RXD1/MII0_RXD1,,I2S0_TXD,FTM1_QD_PHA" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_13,PORTA Pin Control Register 13" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "CMP2_IN1,PTA13/LLWU_P4,,FTM1_CH1,,,I2S0_TX_FS,FTM1_QD_PHB" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "CMP2_IN1,PTA13/LLWU_P4,,FTM1_CH1,,FB_CS4_b/FB_TSIZ0/FB_BE31_24_b,I2S0_TX_FS,FTM1_QD_PHB" elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "CMP2_IN1,PTA13/LLWU_P4,,FTM1_CH1,RMII0_RXD0/MII0_RXD0,FB_CS4_b/FB_TSIZ0/FB_BE31_24_b,I2S0_TX_FS,FTM1_QD_PHB" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "CMP2_IN1,PTA13/LLWU_P4,,FTM1_CH1,RMII0_RXD0/MII0_RXD0,,I2S0_TX_FS,FTM1_QD_PHB" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_14,PORTA Pin Control Register 14" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA14,SPI0_PCS0,UART0_TX,,,I2S0_TX_BCLK,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA14,SPI0_PCS0,UART0_TX,,FB_AD31,I2S0_TX_BCLK,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA14,SPI0_PCS0,UART0_TX,RMII0_CRS_DV/MII0_RXDV,FB_AD31,I2S0_TX_BCLK,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA14,SPI0_PCS0,UART0_TX,RMII0_CRS_DV/MII0_RXDV,,I2S0_TX_BCLK,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_15,PORTA Pin Control Register 15" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA15,SPI0_SCK,UART0_RX,,,I2S0_RXD,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA15,SPI0_SCK,UART0_RX,,FB_AD30,I2S0_RXD,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA15,SPI0_SCK,UART0_RX,RMII0_TXEN/MII0_TXEN,FB_AD30,I2S0_RXD,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA15,SPI0_SCK,UART0_RX,RMII0_TXEN/MII0_TXEN,,I2S0_RXD,?..." endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") group.long 0x40++0x07 line.long 0x00 "PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA16,SPI0_SOUT,UART0_CTS_B,,,I2S0_RX_FS,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA16,SPI0_SOUT,UART0_CTS_B,,FB_AD29,I2S0_RX_FS,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA16,SPI0_SOUT,UART0_CTS_B,RMII0_TXD0/MII0_TXD0,FB_AD29,I2S0_RX_FS,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA16,SPI0_SOUT,UART0_CTS_B,RMII0_TXD0/MII0_TXD0,,I2S0_RX_FS,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_17,PORTA Pin Control Register 17" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE17,PTA17,SPI0_SIN,UART0_RTS_B,,,I2S0_MCLK,I2S0_CLKIN" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE17,PTA17,SPI0_SIN,UART0_RTS_B,,FB_AD28,I2S0_MCLK,I2S0_CLKIN" elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE17,PTA17,SPI0_SIN,UART0_RTS_B,RMII0_TXD1/MII0_TXD1,FB_AD28,I2S0_MCLK,I2S0_CLKIN" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE17,PTA17,SPI0_SIN,UART0_RTS_B,RMII0_TXD1/MII0_TXD1,,I2S0_MCLK,I2S0_CLKIN" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x48++0x07 line.long 0x00 "PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "EXTAL,PTA18,,FTM0_FLT2,FTM_CLKIN0,?..." textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_19,PORTA Pin Control Register 19" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "XTAL,PTA19,,FTM1_FLT0,FTM_CLKIN1,,LPT0_ALT1,?..." textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") group.long 0x60++0x13 line.long 0x00 "PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA24,,,,FB_AD14,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA24,,,MII0_TXD2,,FB_A29,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA24,,,MII0_TXD2,FB_AD14,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA24,,,,,FB_A29,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_25,PORTA Pin Control Register 25" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTA25,,,,FB_AD13,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTA25,,,MII0_TXCLK,,FB_A28,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTA25,,,MII0_TXCLK,FB_AD13,?..." else textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTA25,,,,,FB_A28,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_26,PORTA Pin Control Register 26" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA26,,,,FB_AD12,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA26,,,MII0_TXD3,,FB_A27,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA26,,,MII0_TXD3,FB_AD12,?..." else textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTA26,,,,,FB_A27,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_27,PORTA Pin Control Register 27" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA27,,,,FB_AD11,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA27,,,MII0_CRS,,FB_A26,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA27,,,MII0_CRS,FB_AD11,?..." else textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTA27,,,,,FB_A26,?..." endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_28,PORTA Pin Control Register 28" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTA28,,,,FB_AD10,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTA28,,,MII0_TXER,,FB_A25,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTA28,,,MII0_TXER,FB_AD10,?..." else textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTA28,,,,,FB_A25,?..." endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x74++0x03 line.long 0x00 "PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA29,,,,FB_AD19,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA29,,,MII0_COL,,FB_A24,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA29,,,MII0_COL,FB_AD19,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTA29,,,,,FB_A24,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif textline " " wgroup.long 0x80++0x07 line.long 0x00 "GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE_15 ,Global pin 15 write enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE_14 ,Global pin 14 write enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE_13 ,Global pin 13 write enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE_12 ,Global pin 12 write enable" "Disable,Enable" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 27. " GPWE_11 ,Global pin 11 write enable" "Disable,Enable" textline " " endif bitfld.long 0x00 26. " GPWE_10 ,Global pin 10 write enable" "Disable,Enable" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 25. " GPWE_9 ,Global pin 9 write enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE_8 ,Global pin 8 write enable" "Disable,Enable" bitfld.long 0x00 23. " GPWE_7 ,Global pin 7 write enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE_6 ,Global pin 6 write enable" "Disable,Enable" textline " " endif bitfld.long 0x00 21. " GPWE_5 ,Global pin 5 write enable" "Disable,Enable" textline " " endif bitfld.long 0x00 20. " GPWE_4 ,Global pin 4 write enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE_3 ,Global pin 3 write enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE_2 ,Global pin 2 write enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE_1 ,Global pin 1 write enable" "Disable,Enable" textline " " bitfld.long 0x00 16. " GPWE_0 ,Global pin 0 write enable" "Disable,Enable" textline " " bitfld.long 0x00 15. " GPWD_15 ,Global pin 15 write data" "Low,High" bitfld.long 0x00 14. " GPWD_14 ,Global pin 14 write data" "Low,High" bitfld.long 0x00 13. " GPWD_13 ,Global pin 13 write data" "Low,High" bitfld.long 0x00 12. " GPWD_12 ,Global pin 12 write data" "Low,High" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 11. " GPWD_11 ,Global pin 11 write data" "Low,High" textline " " endif bitfld.long 0x00 10. " GPWD_10 ,Global pin 10 write data" "Low,High" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 9. " GPWD_9 ,Global pin 9 write data" "Low,High" bitfld.long 0x00 8. " GPWD_8 ,Global pin 8 write data" "Low,High" bitfld.long 0x00 7. " GPWD_7 ,Global pin 7 write data" "Low,High" bitfld.long 0x00 6. " GPWD_6 ,Global pin 6 write data" "Low,High" textline " " endif bitfld.long 0x00 5. " GPWD_5 ,Global pin 5 write data" "Low,High" textline " " endif bitfld.long 0x00 4. " GPWD_4 ,Global pin 4 write data" "Low,High" bitfld.long 0x00 3. " GPWD_3 ,Global pin 3 write data" "Low,High" bitfld.long 0x00 2. " GPWD_2 ,Global pin 2 write data" "Low,High" bitfld.long 0x00 1. " GPWD_1 ,Global pin 1 write data" "Low,High" textline " " bitfld.long 0x00 0. " GPWD_0 ,Global pin 0 write data" "Low,High" line.long 0x04 "GPCHR,PORTA Global Pin Control High Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x04 29. " GPWE_29 ,Global pin 29 write enable" "Disable,Enable" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x04 28. " GPWE_28 ,Global pin 28 write enable" "Disable,Enable" bitfld.long 0x04 27. " GPWE_27 ,Global pin 27 write enable" "Disable,Enable" bitfld.long 0x04 26. " GPWE_26 ,Global pin 26 write enable" "Disable,Enable" bitfld.long 0x04 25. " GPWE_25 ,Global pin 25 write enable" "Disable,Enable" textline " " bitfld.long 0x04 24. " GPWE_24 ,Global pin 24 write enable" "Disable,Enable" textline " " endif endif bitfld.long 0x04 19. " GPWE_19 ,Global pin 19 write enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE_18 ,Global pin 18 write enable" "Disable,Enable" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") bitfld.long 0x04 17. " GPWE_17 ,Global pin 17 write enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE_16 ,Global pin 16 write enable" "Disable,Enable" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x04 15. " GPWD_29 ,Global pin 29 write data" "Low,High" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x04 12. " GPWD_28 ,Global pin 28 write data" "Low,High" bitfld.long 0x04 11. " GPWD_27 ,Global pin 27 write data" "Low,High" bitfld.long 0x04 10. " GPWD_26 ,Global pin 26 write data" "Low,High" bitfld.long 0x04 9. " GPWD_25 ,Global pin 25 write data" "Low,High" textline " " bitfld.long 0x04 8. " GPWD_24 ,Global pin 24 write data" "Low,High" textline " " endif endif bitfld.long 0x04 3. " GPWD_19 ,Global pin 19 write data" "Low,High" bitfld.long 0x04 2. " GPWD_18 ,Global pin 18 write data" "Low,High" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 1. " GPWD_17 ,Global pin 17 write data" "Low,High" bitfld.long 0x04 0. " GPWD_16 ,Global pin 16 write data" "Low,High" endif group.long 0xA0++0x3 line.long 0x00 "ISF_R,PORTA Interrupt Status Flag Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 29. " ISF_29 ,Interrupt status flag 29 (in digital modes only)" "No interrupt,Interrupt" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") eventfld.long 0x00 28. " ISF_28 ,Interrupt status flag 28 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 27. " ISF_27 ,Interrupt status flag 27 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 26. " ISF_26 ,Interrupt status flag 26 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 25. " ISF_25 ,Interrupt status flag 25 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 24. " ISF_24 ,Interrupt status flag 24 (in digital modes only)" "No interrupt,Interrupt" textline " " endif endif eventfld.long 0x00 19. " ISF_19 ,Interrupt status flag 19 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF_18 ,Interrupt status flag 18 (in digital modes only)" "No interrupt,Interrupt" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") eventfld.long 0x00 17. " ISF_17 ,Interrupt status flag 17 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF_16 ,Interrupt status flag 16 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 15. " ISF_15 ,Interrupt status flag 15 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF_14 ,Interrupt status flag 14 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF_13 ,Interrupt status flag 13 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF_12 ,Interrupt status flag 12 (in digital modes only)" "No interrupt,Interrupt" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") eventfld.long 0x00 11. " ISF_11 ,Interrupt status flag 11 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 10. " ISF_10 ,Interrupt status flag 10 (in digital modes only)" "No interrupt,Interrupt" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") eventfld.long 0x00 9. " ISF_9 ,Interrupt status flag 9 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF_8 ,Interrupt status flag 8 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF_7 ,Interrupt status flag 7 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF_6 ,Interrupt status flag 6 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 5. " ISF_5 ,Interrupt status flag 5 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 4. " ISF_4 ,Interrupt status flag 4 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF_3 ,Interrupt status flag 3 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF_2 ,Interrupt status flag 2 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF_1 ,Interrupt status flag 1 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 0. " ISF_0 ,Interrupt status flag 0 (in digital modes only)" "No interrupt,Interrupt" group.long 0xC0++0x03 line.long 0x00 "DFER,Digital Filter Enable Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 29. " DFE_29 ,Pin 29 digital filter enable" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 28. " DFE_28 ,Pin 28 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 27. " DFE_27 ,Pin 27 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 26. " DFE_26 ,Pin 26 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 25. " DFE_25 ,Pin 25 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 24. " DFE_24 ,Pin 24 digital filter enable" "Disabled,Enabled" textline " " endif endif bitfld.long 0x00 19. " DFE_19 ,Pin 19 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 18. " DFE_18 ,Pin 18 digital filter enable" "Disabled,Enabled" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") bitfld.long 0x00 17. " DFE_17 ,Pin 17 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 16. " DFE_16 ,Pin 16 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 15. " DFE_15 ,Pin 15 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 14. " DFE_14 ,Pin 14 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 13. " DFE_13 ,Pin 13 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 12. " DFE_12 ,Pin 12 digital filter enable" "Disabled,Enabled" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 11. " DFE_11 ,Pin 11 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 10. " DFE_10 ,Pin 10 digital filter enable" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 9. " DFE_9 ,Pin 9 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 8. " DFE_8 ,Pin 8 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 7. " DFE_7 ,Pin 7 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " DFE_6 ,Pin 6 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 5. " DFE_5 ,Pin 5 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 4. " DFE_4 ,Pin 4 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 3. " DFE_3 ,Pin 3 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 2. " DFE_2 ,Pin 2 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 1. " DFE_1 ,Pin 1 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 0. " DFE_0 ,Pin 0 digital filter enable" "Disabled,Enabled" if (((per.l(ad:0x40049000+0xC0)))==0x00) group.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" group.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else rgroup.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" rgroup.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif width 0x0B tree.end tree "PORTB" base ad:0x4004A000 width 8. group.long 0x00++0x0F line.long 0x00 "PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC0_SE8/ADC1_SE8/TSI0_CH0,PTB0,I2C0_SCL,FTM1_CH0,,,FTM1_QD_PHA,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P0/ADC0_SE8/ADC1_SE8/TSI0_CH0,PTB0,I2C0_SCL,FTM1_CH0,,,FTM1_QD_PHA,LCD_P0" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC0_SE8/ADC1_SE8/TSI0_CH0,PTB0,I2C0_SCL,FTM1_CH0,RMII0_MDIO/MII0_MDIO,,FTM1_QD_PHA,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P0/ADC0_SE8/ADC1_SE8/TSI0_CH0,PTB0,I2C0_SCL,FTM1_CH0,RMII0_MDIO/MII0_MDIO,,FTM1_QD_PHA,LCD_P0" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_1,PORTB Pin Control Register 1" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE9/ADC1_SE9/TSI0_CH6,PTB1,I2C0_SDA,FTM1_CH1,,,FTM1_QD_PHB,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P1/ADC0_SE9/ADC1_SE9/TSI0_CH6,PTB1,I2C0_SDA,FTM1_CH1,,,FTM1_QD_PHB,LCD_P1" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE9/ADC1_SE9/TSI0_CH6,PTB1,I2C0_SDA,FTM1_CH1,RMII0_MDC/MII0_MDC,,FTM1_QD_PHB,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P1/ADC0_SE9/ADC1_SE9/TSI0_CH6,PTB1,I2C0_SDA,FTM1_CH1,RMII0_MDC/MII0_MDC,,FTM1_QD_PHB,LCD_P1" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_2,PORTB Pin Control Register 2" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC0_SE12/TSI0_CH7,PTB2,I2C0_SCL,UART0_RTS_B,,,FTM0_FLT3,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P2/ADC0_SE12/TSI0_CH7,PTB2,I2C0_SCL,UART0_RTS_B,,,FTM0_FLT3,LCD_P2" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC0_SE12/TSI0_CH7,PTB2,I2C0_SCL,UART0_RTS_B,ENET0_1588_TMR0,,FTM0_FLT3,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P2/ADC0_SE12/TSI0_CH7,PTB2,I2C0_SCL,UART0_RTS_B,ENET0_1588_TMR0,,FTM0_FLT3,LCD_P2" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_3,PORTB Pin Control Register 3" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "ADC0_SE13/TSI0_CH8,PTB3,I2C0_SDA,UART0_CTS_B,,,FTM0_FLT0,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P3/ADC0_SE13/TSI0_CH8,PTB3,I2C0_SDA,UART0_CTS_B,,,FTM0_FLT0,LCD_P3" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "ADC0_SE13/TSI0_CH8,PTB3,I2C0_SDA,UART0_CTS_B,ENET0_1588_TMR1,,FTM0_FLT0,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P3/ADC0_SE13/TSI0_CH8,PTB3,I2C0_SDA,UART0_CTS_B,ENET0_1588_TMR1,,FTM0_FLT0,LCD_P3" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x10++0x07 line.long 0x00 "PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P4/ADC1_SE10,PTB4,,,,,FTM1_FLT0,LCD_P4" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC1_SE10,PTB4,,,ENET0_1588_TMR2,,FTM1_FLT0,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P4/ADC1_SE10,PTB4,,,ENET0_1588_TMR2,,FTM1_FLT0,LCD_P4" else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC1_SE10,PTB4,,,,,FTM1_FLT0,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_5,PORTB Pin Control Register 5" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P5/ADC1_SE11,PTB5,,,,,FTM2_FLT0,LCD_P5" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE11,PTB5,,,ENET0_1588_TMR3,,FTM2_FLT0,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P5/ADC1_SE11,PTB5,,,ENET0_1588_TMR3,,FTM2_FLT0,LCD_P5" else textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE11,PTB5,,,,,FTM2_FLT0,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif sif !cpuis("MK51DN512ZCLL10") group.long 0x18++0x03 line.long 0x00 "PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P6/ADC1_SE12,PTB6,,,,,,LCD_P6" else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC1_SE12,PTB6,,,,FB_AD23,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x1C++0x0B line.long 0x04 "PCR_7,PORTB Pin Control Register 7" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P7/ADC1_SE13,PTB7,,,,,,LCD_P7" else textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE13,PTB7,,,,FB_AD22,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_8,PORTB Pin Control Register 8" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P8,PTB8,,UART3_RTS_B,,,,LCD_P8" else textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTB8,,UART3_RTS_B,,FB_AD21,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x24++0x0B line.long 0x00 "PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P9,PTB9,SPI1_PCS1,UART3_CTS_B,,,,LCD_P9" else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTB9,SPI1_PCS1,UART3_CTS_B,,FB_AD20,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_10,PORTB Pin Control Register 10" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE14,PTB10,SPI1_PCS0,UART3_RX,,FB_AD19,FTM0_FLT1,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P10/ADC1_SE14,PTB10,SPI1_PCS0,UART3_RX,,,FTM0_FLT1,LCD_P10" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_11,PORTB Pin Control Register 11" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC1_SE15,PTB11,SPI1_SCK,UART3_TX,,FB_AD18,FTM0_FLT2,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P11/ADC1_SE15,PTB11,SPI1_SCK,UART3_TX,,,FTM0_FLT2,LCD_P11" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" group.long 0x40++0x1F line.long 0x00 "PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "TSI0_CH9,PTB16,SPI1_SOUT,UART0_RX,,FB_AD17,EWM_IN,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P12/TSI0_CH9,PTB16,SPI1_SOUT,UART0_RX,,,EWM_IN,LCD_P12" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_17,PORTB Pin Control Register 17" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "TSI0_CH10,PTB17,SPI1_SIN,UART0_TX,,FB_AD16,EWM_OUT_B,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P13/TSI0_CH10,PTB17,SPI1_SIN,UART0_TX,,,EWM_OUT_B,LCD_P13" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_18,PORTB Pin Control Register 18" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "TSI0_CH11,PTB18,,FTM2_CH0,I2S0_TX_BCLK,FB_AD15,FTM2_QD_PHA,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P14/TSI0_CH11,PTB18,,FTM2_CH0,I2S0_TX_BCLK,,FTM2_QD_PHA,LCD_P14" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_19,PORTB Pin Control Register 19" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "TSI0_CH12,PTB19,,FTM2_CH1,I2S0_TX_FS,FB_OE_B,FTM2_QD_PHB,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P15/TSI0_CH12,PTB19,,FTM2_CH1,I2S0_TX_FS,,FTM2_QD_PHB,LCD_P15" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_20,PORTB Pin Control Register 20" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTB20,SPI2_PCS0,,,FB_AD31,CMP0_OUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" "LCD_P16,PTB20,SPI2_PCS0,,,,CMP0_OUT,LCD_P16" endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_21,PORTB Pin Control Register 21" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTB21,SPI2_SCK,,,FB_AD30,CMP1_OUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" "LCD_P17,PTB21,SPI2_SCK,,,,CMP1_OUT,LCD_P17" endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x18 "PCR_22,PORTB Pin Control Register 22" eventfld.long 0x18 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x18 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x18 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" ",PTB22,SPI2_SOUT,,,FB_AD29,CMP2_OUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" "LCD_P18,PTB22,SPI2_SOUT,,,,CMP2_OUT,LCD_P18" endif textline " " bitfld.long 0x18 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x18 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x18 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x18 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x1C "PCR_23,PORTB Pin Control Register 23" eventfld.long 0x1C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x1C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x1C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" ",PTB23,SPI2_SIN,SPI0_PCS5,,FB_AD28,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" "LCD_P19,PTB23,SPI2_SIN,SPI0_PCS5,,,,LCD_P19" endif textline " " bitfld.long 0x1C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x1C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x1C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x1C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 0. " PS ,Pull select (in digital modes only)" "Down,Up" textline " " wgroup.long 0x80++0x07 line.long 0x00 "GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE_11 ,Global pin 11 write enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE_10 ,Global pin 10 write enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE_9 ,Global pin 9 write enable" "Disable,Enable" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 24. " GPWE_8 ,Global pin 8 write enable" "Disable,Enable" bitfld.long 0x00 23. " GPWE_7 ,Global pin 7 write enable" "Disable,Enable" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 22. " GPWE_6 ,Global pin 6 write enable" "Disable,Enable" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 21. " GPWE_5 ,Global pin 5 write enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE_4 ,Global pin 4 write enable" "Disable,Enable" textline " " endif endif bitfld.long 0x00 19. " GPWE_3 ,Global pin 3 write enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE_2 ,Global pin 2 write enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE_1 ,Global pin 1 write enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE_0 ,Global pin 0 write enable" "Disable,Enable" textline " " bitfld.long 0x00 11. " GPWD_11 ,Global pin 11 write data" "Low,High" bitfld.long 0x00 10. " GPWD_10 ,Global pin 10 write data" "Low,High" bitfld.long 0x00 9. " GPWD_9 ,Global pin 9 write data" "Low,High" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 8. " GPWD_8 ,Global pin 8 write data" "Low,High" bitfld.long 0x00 7. " GPWD_7 ,Global pin 7 write data" "Low,High" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 6. " GPWD_6 ,Global pin 6 write data" "Low,High" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 5. " GPWD_5 ,Global pin 5 write data" "Low,High" bitfld.long 0x00 4. " GPWD_4 ,Global pin 4 write data" "Low,High" textline " " endif endif bitfld.long 0x00 3. " GPWD_3 ,Global pin 3 write data" "Low,High" bitfld.long 0x00 2. " GPWD_2 ,Global pin 2 write data" "Low,High" bitfld.long 0x00 1. " GPWD_1 ,Global pin 1 write data" "Low,High" bitfld.long 0x00 0. " GPWD_0 ,Global pin 0 write data" "Low,High" line.long 0x04 "GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 23. " GPWE_23 ,Global pin 23 write enable" "Disable,Enable" bitfld.long 0x04 22. " GPWE_22 ,Global pin 22 write enable" "Disable,Enable" bitfld.long 0x04 21. " GPWE_21 ,Global pin 21 write enable" "Disable,Enable" bitfld.long 0x04 20. " GPWE_20 ,Global pin 20 write enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE_19 ,Global pin 19 write enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE_18 ,Global pin 18 write enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE_17 ,Global pin 17 write enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE_16 ,Global pin 16 write enable" "Disable,Enable" textline " " bitfld.long 0x04 7. " GPWD_23 ,Global pin 23 write data" "Low,High" bitfld.long 0x04 6. " GPWD_22 ,Global pin 22 write data" "Low,High" bitfld.long 0x04 5. " GPWD_21 ,Global pin 21 write data" "Low,High" bitfld.long 0x04 4. " GPWD_20 ,Global pin 20 write data" "Low,High" textline " " bitfld.long 0x04 3. " GPWD_19 ,Global pin 19 write data" "Low,High" bitfld.long 0x04 2. " GPWD_18 ,Global pin 18 write data" "Low,High" bitfld.long 0x04 1. " GPWD_17 ,Global pin 17 write data" "Low,High" bitfld.long 0x04 0. " GPWD_16 ,Global pin 16 write data" "Low,High" group.long 0xA0++0x03 line.long 0x00 "ISF_R,PORTB Interrupt Status Flag Register" eventfld.long 0x00 23. " ISF_23 ,Interrupt status flag 23 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 22. " ISF_22 ,Interrupt status flag 22 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 21. " ISF_21 ,Interrupt status flag 21 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 20. " ISF_20 ,Interrupt status flag 20 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF_19 ,Interrupt status flag 19 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF_18 ,Interrupt status flag 18 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF_17 ,Interrupt status flag 17 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF_16 ,Interrupt status flag 16 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF_11 ,Interrupt status flag 11 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF_10 ,Interrupt status flag 10 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF_9 ,Interrupt status flag 9 (in digital modes only)" "No interrupt,Interrupt" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 8. " ISF_8 ,Interrupt status flag 8 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF_7 ,Interrupt status flag 7 (in digital modes only)" "No interrupt,Interrupt" textline " " sif !cpuis("MK51DN512ZCLL10") eventfld.long 0x00 6. " ISF_6 ,Interrupt status flag 6 (in digital modes only)" "No interrupt,Interrupt" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 5. " ISF_5 ,Interrupt status flag 5 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF_4 ,Interrupt status flag 4 (in digital modes only)" "No interrupt,Interrupt" textline " " endif endif eventfld.long 0x00 3. " ISF_3 ,Interrupt status flag 3 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF_2 ,Interrupt status flag 2 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF_1 ,Interrupt status flag 1 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF_0 ,Interrupt status flag 0 (in digital modes only)" "No interrupt,Interrupt" group.long 0xC0++0x03 line.long 0x00 "DFER,Digital Filter Enable Register" bitfld.long 0x00 23. " DFE_23 ,Pin 23 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 22. " DFE_22 ,Pin 22 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 21. " DFE_21 ,Pin 21 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 20. " DFE_20 ,Pin 20 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " DFE_19 ,Pin 19 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 18. " DFE_18 ,Pin 18 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 17. " DFE_17 ,Pin 17 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 16. " DFE_16 ,Pin 16 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 11. " DFE_11 ,Pin 11 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 10. " DFE_10 ,Pin 10 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 9. " DFE_9 ,Pin 9 digital filter enable" "Disabled,Enabled" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 8. " DFE_8 ,Pin 8 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 7. " DFE_7 ,Pin 7 digital filter enable" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 6. " DFE_6 ,Pin 6 digital filter enable" "Disabled,Enabled" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 5. " DFE_5 ,Pin 5 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " DFE_4 ,Pin 4 digital filter enable" "Disabled,Enabled" textline " " endif endif bitfld.long 0x00 3. " DFE_3 ,Pin 3 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 2. " DFE_2 ,Pin 2 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 1. " DFE_1 ,Pin 1 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 0. " DFE_0 ,Pin 0 digital filter enable" "Disabled,Enabled" if (((per.l(ad:0x4004A000+0xC0)))==0x0) group.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" group.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else rgroup.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" rgroup.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif width 0xB tree.end tree "PORTC" base ad:0x4004B000 width 8. group.long 0x00++0x2F line.long 0x00 "PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC0_SE14/TSI0_CH13,PTC0,SPI0_PCS4,PDB0_EXTRG,I2S0_TXD,FB_AD14,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P20/ADC0_SE14/TSI0_CH13,PTC0,SPI0_PCS4,PDB0_EXTRG,I2S0_TXD,,,LCD_P20" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_1,PORTC Pin Control Register 1" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE15/TSI0_CH14,PTC1/LLWU_P6,SPI0_PCS3,UART1_RTS_B,FTM0_CH0,FB_AD13,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P21/ADC0_SE15/TSI0_CH14,PTC1/LLWU_P6,SPI0_PCS3,UART1_RTS_B,FTM0_CH0,,,LCD_P21" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_2,PORTC Pin Control Register 2" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC0_SE4B/CMP1_IN0/TSI0_CH15,PTC2,SPI0_PCS2,UART1_CTS_B,FTM0_CH1,FB_AD12,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P22/ADC0_SE4B/CMP1_IN0/TSI0_CH15,PTC2,SPI0_PCS2,UART1_CTS_B,FTM0_CH1,,,LCD_P22" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_3,PORTC Pin Control Register 3" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "CMP1_IN1,PTC3/LLWU_P7,SPI0_PCS1,UART1_RX,FTM0_CH2,FB_CLKOUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P23/CMP1_IN1,PTC3/LLWU_P7,SPI0_PCS1,UART1_RX,FTM0_CH2,,,LCD_P23" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_4,PORTC Pin Control Register 4" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTC4/LLWU_P8,SPI0_PCS0,UART1_TX,FTM0_CH3,FB_AD11,CMP1_OUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" "LCD_P24,PTC4/LLWU_P8,SPI0_PCS0,UART1_TX,FTM0_CH3,,CMP1_OUT,LCD_P24" endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_5,PORTC Pin Control Register 5" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTC5/LLWU_P9,SPI0_SCK,,LPT0_ALT2,FB_AD10,CMP0_OUT,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" "LCD_P25,PTC5/LLWU_P9,SPI0_SCK,,LPT0_ALT2,,CMP0_OUT,LCD_P25" endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x18 "PCR_6,PORTC Pin Control Register 6" eventfld.long 0x18 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x18 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x18 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" "CMP0_IN0,PTC6/LLWU_P10,SPI0_SOUT,PDB0_EXTRG,,FB_AD9,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" "LCD_P26/CMP0_IN0,PTC6/LLWU_P10,SPI0_SOUT,PDB0_EXTRG,,,,LCD_P26" endif textline " " bitfld.long 0x18 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x18 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x18 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x18 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x1C "PCR_7,PORTC Pin Control Register 7" eventfld.long 0x1C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x1C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x1C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" "CMP0_IN1,PTC7,SPI0_SIN,,,FB_AD8,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" "LCD_P27/CMP0_IN1,PTC7,SPI0_SIN,,,,,LCD_P27" endif textline " " bitfld.long 0x1C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x1C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x1C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x1C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x20 "PCR_8,PORTC Pin Control Register 8" eventfld.long 0x20 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x20 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x20 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x20 8.--10. " MUX ,Pin mux control" "ADC1_SE4B/CMP0_IN2,PTC8,,I2S0_MCLK,I2S0_CLKIN,FB_AD7,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x20 8.--10. " MUX ,Pin mux control" "LCD_P28/ADC1_SE4B/CMP0_IN2,PTC8,,I2S0_MCLK,I2S0_CLKIN,,,LCD_P28" endif textline " " bitfld.long 0x20 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x20 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x20 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x20 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x20 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x20 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x24 "PCR_9,PORTC Pin Control Register 9" eventfld.long 0x24 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x24 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x24 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x24 8.--10. " MUX ,Pin mux control" "ADC1_SE5B/CMP0_IN3,PTC9,,,I2S0_RX_BCLK,FB_AD6,FTM2_FLT0,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x24 8.--10. " MUX ,Pin mux control" "LCD_P29/ADC1_SE5B/CMP0_IN3,PTC9,,,I2S0_RX_BCLK,,FTM2_FLT0,LCD_P29" endif textline " " bitfld.long 0x24 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x24 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x24 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x24 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x24 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x24 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x28 "PCR_10,PORTC Pin Control Register 10" eventfld.long 0x28 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x28 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x28 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x28 8.--10. " MUX ,Pin mux control" "ADC1_SE6B/CMP0_IN4,PTC10,I2C1_SCL,,I2S0_RX_FS,FB_AD5,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x28 8.--10. " MUX ,Pin mux control" "LCD_P30/ADC1_SE6B/CMP0_IN4,PTC10,I2C1_SCL,,I2S0_RX_FS,,,LCD_P30" endif textline " " bitfld.long 0x28 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x28 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x28 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x28 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x28 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x28 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x2C "PCR_11,PORTC Pin Control Register 11" eventfld.long 0x2C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x2C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x2C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x2C 8.--10. " MUX ,Pin mux control" "ADC1_SE7B,PTC11/LLWU_P11,I2C1_SDA,,I2S0_RXD,FB_RW_B,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x2C 8.--10. " MUX ,Pin mux control" "LCD_P31/ADC1_SE7B,PTC11/LLWU_P11,I2C1_SDA,,I2S0_RXD,,,LCD_P31" endif textline " " bitfld.long 0x2C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x2C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x2C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x2C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x2C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x2C 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif !cpuis("MK51DN512ZCLL10") group.long 0x30++0x0F line.long 0x00 "PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTC12,,UART4_RTS_B,,FB_AD27,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P32,PTC12,,UART4_RTS_B,,,,LCD_P32" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_13,PORTC Pin Control Register 13" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTC13,,UART4_CTS_B,,FB_AD26,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P33,PTC13,,UART4_CTS_B,,,,LCD_P33" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_14,PORTC Pin Control Register 14" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTC14,,UART4_RX,,FB_AD25,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P34,PTC14,,UART4_RX,,,,LCD_P34" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_15,PORTC Pin Control Register 15" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTC15,,UART4_TX,,FB_AD24,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P35,PTC15,,UART4_TX,,,,LCD_P35" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x40++0x0B line.long 0x00 "PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTC16,,UART3_RX,,FB_CS5_B/FB_TSIZ1/FB_BE23_16_B,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTC16,,UART3_RX,ENET0_1588_TMR0,FB_CS5_B/FB_TSIZ1/FB_BE23_16_B,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P36,PTC16,,UART3_RX,ENET0_1588_TMR0,,,LCD_P36" elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P36,PTC16,,UART3_RX,,,,LCD_P36" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_17,PORTC Pin Control Register 17" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTC17,,UART3_TX,,FB_CS4_B/FB_TSIZ0/FB_BE31_24_B,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTC17,,UART3_TX,ENET0_1588_TMR1,FB_CS4_B/FB_TSIZ0/FB_BE31_24_B,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P37,PTC17,,UART3_TX,ENET0_1588_TMR1,,,LCD_P37" elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P37,PTC17,,UART3_TX,,,,LCD_P37" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_18,PORTC Pin Control Register 18" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTC18,,UART3_RTS_B,,FB_TBST_B/FB_CS2_B/FB_BE15_8_B,?..." elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTC18,,UART3_RTS_B,ENET0_1588_TMR2,FB_TBST_B/FB_CS2_B/FB_BE15_8_B,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P38,PTC18,,UART3_RTS_B,ENET0_1588_TMR2,,,LCD_P38" elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P38,PTC18,,UART3_RTS_B,,,,LCD_P38" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") group.long 0x4C++0x03 line.long 0x00 "PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTC19,,UART3_CTS_B,,FB_CS3_B/FB_BE7_0_B,FB_TA_B,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P39,PTC19,,UART3_CTS_B,,,,LCD_P39" elif cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTC19,,UART3_CTS_B,ENET0_1588_TMR3,FB_CS3_B/FB_BE7_0_B,FB_TA_B,?..." elif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P39,PTC19,,UART3_CTS_B,ENET0_1588_TMR3,,,LCD_P39" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif textline " " wgroup.long 0x80++0x7 line.long 0x00 "GPCLR,PORTC Global Pin Control Low Register" sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 31. " GPWE_15 ,Global pin 15 write enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE_14 ,Global pin 14 write enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE_13 ,Global pin 13 write enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE_12 ,Global pin 12 write enable" "Disable,Enable" textline " " endif bitfld.long 0x00 27. " GPWE_11 ,Global pin 11 write enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE_10 ,Global pin 10 write enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE_9 ,Global pin 9 write enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE_8 ,Global pin 8 write enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE_7 ,Global pin 7 write enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE_6 ,Global pin 6 write enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE_5 ,Global pin 5 write enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE_4 ,Global pin 4 write enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE_3 ,Global pin 3 write enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE_2 ,Global pin 2 write enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE_1 ,Global pin 1 write enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE_0 ,Global pin 0 write enable" "Disable,Enable" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 15. " GPWD_15 ,Global pin 15 write data" "Low,High" bitfld.long 0x00 14. " GPWD_14 ,Global pin 14 write data" "Low,High" bitfld.long 0x00 13. " GPWD_13 ,Global pin 13 write data" "Low,High" bitfld.long 0x00 12. " GPWD_12 ,Global pin 12 write data" "Low,High" textline " " endif bitfld.long 0x00 11. " GPWD_11 ,Global pin 11 write data" "Low,High" bitfld.long 0x00 10. " GPWD_10 ,Global pin 10 write data" "Low,High" bitfld.long 0x00 9. " GPWD_9 ,Global pin 9 write data" "Low,High" bitfld.long 0x00 8. " GPWD_8 ,Global pin 8 write data" "Low,High" textline " " bitfld.long 0x00 7. " GPWD_7 ,Global pin 7 write data" "Low,High" bitfld.long 0x00 6. " GPWD_6 ,Global pin 6 write data" "Low,High" bitfld.long 0x00 5. " GPWD_5 ,Global pin 5 write data" "Low,High" bitfld.long 0x00 4. " GPWD_4 ,Global pin 4 write data" "Low,High" textline " " bitfld.long 0x00 3. " GPWD_3 ,Global pin 3 write data" "Low,High" bitfld.long 0x00 2. " GPWD_2 ,Global pin 2 write data" "Low,High" bitfld.long 0x00 1. " GPWD_1 ,Global pin 1 write data" "Low,High" bitfld.long 0x00 0. " GPWD_0 ,Global pin 0 write data" "Low,High" line.long 0x04 "GPCHR,PORTC Global Pin Control High Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x04 19. " GPWE_19 ,Global pin 19 write enable" "Disable,Enable" textline " " endif bitfld.long 0x04 18. " GPWE_18 ,Global pin 18 write enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE_17 ,Global pin 17 write enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE_16 ,Global pin 16 write enable" "Disable,Enable" textline " " sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x04 3. " GPWE_19 ,Global pin 19 write enable" "Disable,Enable" textline " " endif bitfld.long 0x04 2. " GPWE_18 ,Global pin 18 write enable" "Disable,Enable" bitfld.long 0x04 1. " GPWD_17 ,Global pin 17 write data" "Low,High" bitfld.long 0x04 0. " GPWD_16 ,Global pin 16 write data" "Low,High" group.long 0xA0++0x03 line.long 0x00 "ISF_R,PORTC Interrupt Status Flag Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") eventfld.long 0x00 19. " ISF_19 ,Interrupt status flag 19 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 18. " ISF_18 ,Interrupt status flag 18 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF_17 ,Interrupt status flag 17 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF_16 ,Interrupt status flag 16 (in digital modes only)" "No interrupt,Interrupt" textline " " sif !cpuis("MK51DN512ZCLL10") eventfld.long 0x00 15. " ISF_15 ,Interrupt status flag 15 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF_14 ,Interrupt status flag 14 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF_13 ,Interrupt status flag 13 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF_12 ,Interrupt status flag 12 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 11. " ISF_11 ,Interrupt status flag 11 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF_10 ,Interrupt status flag 10 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF_9 ,Interrupt status flag 9 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF_8 ,Interrupt status flag 8 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF_7 ,Interrupt status flag 7 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF_6 ,Interrupt status flag 6 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF_5 ,Interrupt status flag 5 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF_4 ,Interrupt status flag 4 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF_3 ,Interrupt status flag 3 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF_2 ,Interrupt status flag 2 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF_1 ,Interrupt status flag 1 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF_0 ,Interrupt status flag 0 (in digital modes only)" "No interrupt,Interrupt" group.long 0xC0++0x03 line.long 0x00 "DFER,Digital Filter Enable Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 19. " DFE_19 ,Pin 19 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 18. " DFE_18 ,Pin 18 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 17. " DFE_17 ,Pin 17 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 16. " DFE_16 ,Pin 16 digital filter enable" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 15. " DFE_15 ,Pin 15 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 14. " DFE_14 ,Pin 14 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 13. " DFE_13 ,Pin 13 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 12. " DFE_12 ,Pin 12 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 11. " DFE_11 ,Pin 11 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 10. " DFE_10 ,Pin 10 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 9. " DFE_9 ,Pin 9 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 8. " DFE_8 ,Pin 8 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " DFE_7 ,Pin 7 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " DFE_6 ,Pin 6 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " DFE_5 ,Pin 5 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " DFE_4 ,Pin 4 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 3. " DFE_3 ,Pin 3 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 2. " DFE_2 ,Pin 2 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 1. " DFE_1 ,Pin 1 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 0. " DFE_0 ,Pin 0 digital filter enable" "Disabled,Enabled" if (((per.l(ad:0x4004B000+0xC0)))==0x0) group.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" group.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else rgroup.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" rgroup.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif width 0x0B tree.end tree "PORTD" base ad:0x4004C000 width 8. group.long 0x00++0x1F line.long 0x00 "PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTD0,SPI0_PCS0,UART2_RTS_B,,FB_ALE/FB_CS1_B/FB_TS_B,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "LCD_P40,PTD0,SPI0_PCS0,UART2_RTS_B,,,,LCD_P40" endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_1,PORTD Pin Control Register 1" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC0_SE5B,PTD1,SPI0_SCK,UART2_CTS_B,,FB_CS0_B,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "LCD_P41/ADC0_SE5B,PTD1,SPI0_SCK,UART2_CTS_B,,,,LCD_P41" endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_2,PORTD Pin Control Register 2" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTD2,SPI0_SOUT,UART2_RX,,FB_AD4,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "LCD_P42,PTD2,SPI0_SOUT,UART2_RX,,,,LCD_P42" endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_3,PORTD Pin Control Register 3" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTD3,SPI0_SIN,UART2_TX,,FB_AD3,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "LCD_P43,PTD3,SPI0_SIN,UART2_TX,,,,LCD_P43" endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_4,PORTD Pin Control Register 4" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTD4,SPI0_PCS1,UART0_RTS_B,FTM0_CH4,FB_AD2,EWM_IN,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" "LCD_P44,PTD4,SPI0_PCS1,UART0_RTS_B,FTM0_CH4,,EWM_IN,LCD_P44" endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_5,PORTD Pin Control Register 5" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" "ADC0_SE6B,PTD5,SPI0_PCS2,UART0_CTS_B,FTM0_CH5,FB_AD1,EWM_OUT_B,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" "LCD_P45/ADC0_SE6B,PTD5,SPI0_PCS2,UART0_CTS_B,FTM0_CH5,,EWM_OUT_B,LCD_P45" endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x18 "PCR_6,PORTD Pin Control Register 6" eventfld.long 0x18 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x18 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x18 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" "ADC0_SE7B,PTD6,SPI0_PCS3,UART0_RX,FTM0_CH6,FB_AD0,FTM0_FLT0,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x18 8.--10. " MUX ,Pin mux control" "LCD_P46/ADC0_SE7B,PTD6,SPI0_PCS3,UART0_RX,FTM0_CH6,,FTM0_FLT0,LCD_P46" endif textline " " bitfld.long 0x18 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x18 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x18 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x18 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x18 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x1C "PCR_7,PORTD Pin Control Register 7" eventfld.long 0x1C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x1C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x1C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" ",PTD7,CMT_IRO,UART0_TX,FTM0_CH7,,FTM0_FLT1,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x1C 8.--10. " MUX ,Pin mux control" "LCD_P47,PTD7,CMT_IRO,UART0_TX,FTM0_CH7,,FTM0_FLT1,LCD_P47" endif textline " " bitfld.long 0x1C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x1C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x1C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x1C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x1C 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") group.long 0x20++0x07 line.long 0x00 "PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTD8,I2C0_SCL,UART5_RX,,,FB_A16,?..." textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_9,PORTD Pin Control Register 9" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTD9,I2C0_SDA,UART5_TX,,,FB_A17,?..." textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif group.long 0x28++0x17 line.long 0x00 "PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTD10,,UART5_RTS_B,,,FB_A18,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTD10,,UART5_RTS_B,,FB_AD9,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_11,PORTD Pin Control Register 11" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTD11,SPI2_PCS0,UART5_CTS_B,SDHC0_CLKIN,,FB_A19,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTD11,SPI2_PCS0,UART5_CTS_B,SDHC0_CLKIN,FB_AD8,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_12,PORTD Pin Control Register 12" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTD12,SPI2_SCK,,SDHC0_D4,,FB_A20,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTD12,SPI2_SCK,,SDHC0_D4,FB_AD7,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_13,PORTD Pin Control Register 13" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTD13,SPI2_SOUT,,SDHC0_D5,,FB_A21,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTD13,SPI2_SOUT,,SDHC0_D5,FB_AD6,?..." endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_14,PORTD Pin Control Register 14" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTD14,SPI2_SIN,,SDHC0_D6,,FB_A22,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTD14,SPI2_SIN,,SDHC0_D6,FB_AD5,?..." endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_15,PORTD Pin Control Register 15" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTD15,SPI2_PCS1,,SDHC0_D7,,FB_A23,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTD15,SPI2_PCS1,,SDHC0_D7,FB_RW_b,?..." endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif textline " " wgroup.long 0x80++0x03 line.long 0x00 "GPCLR,PORTD Global Pin Control Low Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 31. " GPWE_15 ,Global pin 15 write enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE_14 ,Global pin 14 write enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE_13 ,Global pin 13 write enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE_12 ,Global pin 12 write enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE_11 ,Global pin 11 write enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE_10 ,Global pin 10 write enable" "Disable,Enable" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 25. " GPWE_9 ,Global pin 9 write enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE_8 ,Global pin 8 write enable" "Disable,Enable" textline " " endif endif bitfld.long 0x00 23. " GPWE_7 ,Global pin 7 write enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE_6 ,Global pin 6 write enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE_5 ,Global pin 5 write enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE_4 ,Global pin 4 write enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE_3 ,Global pin 3 write enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE_2 ,Global pin 2 write enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE_1 ,Global pin 1 write enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE_0 ,Global pin 0 write enable" "Disable,Enable" textline " " sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 15. " GPWD_15 ,Global pin 15 write data" "Low,High" bitfld.long 0x00 14. " GPWD_14 ,Global pin 14 write data" "Low,High" bitfld.long 0x00 13. " GPWD_13 ,Global pin 13 write data" "Low,High" bitfld.long 0x00 12. " GPWD_12 ,Global pin 12 write data" "Low,High" textline " " bitfld.long 0x00 11. " GPWD_11 ,Global pin 11 write data" "Low,High" bitfld.long 0x00 10. " GPWD_10 ,Global pin 10 write data" "Low,High" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 9. " GPWD_9 ,Global pin 9 write data" "Low,High" bitfld.long 0x00 8. " GPWD_8 ,Global pin 8 write data" "Low,High" textline " " endif endif bitfld.long 0x00 7. " GPWD_7 ,Global pin 7 write data" "Low,High" bitfld.long 0x00 6. " GPWD_6 ,Global pin 6 write data" "Low,High" bitfld.long 0x00 5. " GPWD_5 ,Global pin 5 write data" "Low,High" bitfld.long 0x00 4. " GPWD_4 ,Global pin 4 write data" "Low,High" textline " " bitfld.long 0x00 3. " GPWD_3 ,Global pin 3 write data" "Low,High" bitfld.long 0x00 2. " GPWD_2 ,Global pin 2 write data" "Low,High" bitfld.long 0x00 1. " GPWD_1 ,Global pin 1 write data" "Low,High" bitfld.long 0x00 0. " GPWD_0 ,Global pin 0 write data" "Low,High" group.long 0xA0++0x3 line.long 0x00 "ISF_R,PORTD Interrupt Status Flag Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") eventfld.long 0x00 15. " ISF_15 ,Interrupt status flag 15 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF_14 ,Interrupt status flag 14 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF_13 ,Interrupt status flag 13 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF_12 ,Interrupt status flag 12 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF_11 ,Interrupt status flag 11 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF_10 ,Interrupt status flag 10 (in digital modes only)" "No interrupt,Interrupt" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 9. " ISF_9 ,Interrupt status flag 9 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF_8 ,Interrupt status flag 8 (in digital modes only)" "No interrupt,Interrupt" textline " " endif endif eventfld.long 0x00 7. " ISF_7 ,Interrupt status flag 7 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF_6 ,Interrupt status flag 6 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF_5 ,Interrupt status flag 5 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF_4 ,Interrupt status flag 4 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF_3 ,Interrupt status flag 3 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF_2 ,Interrupt status flag 2 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF_1 ,Interrupt status flag 1 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF_0 ,Interrupt status flag 0 (in digital modes only)" "No interrupt,Interrupt" group.long 0xC0++0x03 line.long 0x00 "DFER,Digital Filter Enable Register" sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 15. " DFE_15 ,Pin 15 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 14. " DFE_14 ,Pin 14 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 13. " DFE_13 ,Pin 13 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 12. " DFE_12 ,Pin 12 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 11. " DFE_11 ,Pin 11 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 10. " DFE_10 ,Pin 10 digital filter enable" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 9. " DFE_9 ,Pin 9 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 8. " DFE_8 ,Pin 8 digital filter enable" "Disabled,Enabled" textline " " endif endif bitfld.long 0x00 7. " DFE_7 ,Pin 7 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " DFE_6 ,Pin 6 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " DFE_5 ,Pin 5 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " DFE_4 ,Pin 4 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 3. " DFE_3 ,Pin 3 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 2. " DFE_2 ,Pin 2 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 1. " DFE_1 ,Pin 1 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 0. " DFE_0 ,Pin 0 digital filter enable" "Disabled,Enabled" if (((per.l(ad:0x4004C000+0xC0)))==0x0) group.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" group.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else rgroup.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" rgroup.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif width 0x0B tree.end tree "PORTE" base ad:0x4004D000 width 8. group.long 0x00++0x1F line.long 0x00 "PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC1_SE4A,PTE0,SPI1_PCS1,UART1_TX,SDHC0_D1,,I2C1_SDA,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ADC1_SE4A,PTE0,SPI1_PCS1,UART1_TX,SDHC0_D1,FB_AD27,I2C1_SDA,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_1,PORTE Pin Control Register 1" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE5A,PTE1/LLWU_P0,SPI1_SOUT,UART1_RX,SDHC0_D0,,I2C1_SCL,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" "ADC1_SE5A,PTE1/LLWU_P0,SPI1_SOUT,UART1_RX,SDHC0_D0,FB_AD26,I2C1_SCL,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_2,PORTE Pin Control Register 2" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC1_SE6A,PTE2/LLWU_P1,SPI1_SCK,UART1_CTS_B,SDHC0_DCLK,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" "ADC1_SE6A,PTE2/LLWU_P1,SPI1_SCK,UART1_CTS_B,SDHC0_DCLK,FB_AD25,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_3,PORTE Pin Control Register 3" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "ADC1_SE7A,PTE3,SPI1_SIN,UART1_RTS_B,SDHC0_CMD,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" "ADC1_SE7A,PTE3,SPI1_SIN,UART1_RTS_B,SDHC0_CMD,FB_AD24,?..." endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_4,PORTE Pin Control Register 4" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTE4/LLWU_P2,SPI1_PCS0,UART3_TX,SDHC0_D3,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTE4/LLWU_P2,SPI1_PCS0,UART3_TX,SDHC0_D3,FB_CS3_b/FB_BE7_0_b,FB_TA_b,?..." endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_5,PORTE Pin Control Register 5" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTE5,SPI1_PCS2,UART3_RX,SDHC0_D2,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTE5,SPI1_PCS2,UART3_RX,SDHC0_D2,FB_TBST_b/FB_CS2_b/FB_BE15_8_b,?..." endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x18++0x03 line.long 0x00 "PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE6,SPI1_PCS3,UART3_CTS_B,I2S0_MCLK,FB_ALE/FB_CS1_b/FB_TS_b,I2S0_CLKIN,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE6,SPI1_PCS3,UART3_CTS_B,I2S0_MCLK,,I2S0_CLKIN,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x1C++0x17 line.long 0x00 "PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE7,,UART3_RTS_B,I2S0_RXD,FB_CS0_b,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE7,,UART3_RTS_B,I2S0_RXD,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x04 "PCR_8,PORTE Pin Control Register 8" eventfld.long 0x04 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x04 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x04 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTE8,,UART5_TX,I2S0_RX_FS,FB_AD4,?..." else textline " " bitfld.long 0x04 8.--10. " MUX ,Pin mux control" ",PTE8,,UART5_TX,I2S0_RX_FS,?..." endif textline " " bitfld.long 0x04 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x04 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x04 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x04 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x08 "PCR_9,PORTE Pin Control Register 9" eventfld.long 0x08 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x08 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x08 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTE9,,UART5_RX,I2S0_RX_BCLK,FB_AD3,?..." else textline " " bitfld.long 0x08 8.--10. " MUX ,Pin mux control" ",PTE9,,UART5_RX,I2S0_RX_BCLK,?..." endif textline " " bitfld.long 0x08 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x08 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x08 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x08 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x0C "PCR_10,PORTE Pin Control Register 10" eventfld.long 0x0C 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x0C 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x0C 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTE10,,UART5_CTS_B,I2S0_TXD,FB_AD2,?..." else textline " " bitfld.long 0x0C 8.--10. " MUX ,Pin mux control" ",PTE10,,UART5_CTS_B,I2S0_TXD,?..." endif textline " " bitfld.long 0x0C 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x0C 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x0C 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x0C 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x0C 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x10 "PCR_11,PORTE Pin Control Register 11" eventfld.long 0x10 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x10 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x10 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTE11,,UART5_RTS_B,I2S0_TX_FS,FB_AD1,?..." else textline " " bitfld.long 0x10 8.--10. " MUX ,Pin mux control" ",PTE11,,UART5_RTS_B,I2S0_TX_FS,?..." endif textline " " bitfld.long 0x10 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x10 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x10 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x10 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x10 0. " PS ,Pull select (in digital modes only)" "Down,Up" line.long 0x14 "PCR_12,PORTE Pin Control Register 12" eventfld.long 0x14 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x14 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x14 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTE12,,,I2S0_TX_BCLK,FB_AD0,?..." else textline " " bitfld.long 0x14 8.--10. " MUX ,Pin mux control" ",PTE12,,,I2S0_TX_BCLK,?..." endif textline " " bitfld.long 0x14 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x14 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x14 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x14 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x14 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x70++0x03 line.long 0x00 "PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." textline " " bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" sif cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE28,,,,FB_AD20,?..." else textline " " bitfld.long 0x00 8.--10. " MUX ,Pin mux control" ",PTE28,?..." endif textline " " bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif textline " " wgroup.long 0x80++0x03 line.long 0x00 "GPCLR,PORTE Global Pin Control Low Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 28. " GPWE_12 ,Global pin 12 write enable" "Disable,Enable" bitfld.long 0x00 27. " GPWE_11 ,Global pin 11 write enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE_10 ,Global pin 10 write enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE_9 ,Global pin 9 write enable" "Disable,Enable" textline " " bitfld.long 0x00 24. " GPWE_8 ,Global pin 8 write enable" "Disable,Enable" bitfld.long 0x00 23. " GPWE_7 ,Global pin 7 write enable" "Disable,Enable" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 22. " GPWE_6 ,Global pin 6 write enable" "Disable,Enable" textline " " endif bitfld.long 0x00 21. " GPWE_5 ,Global pin 5 write enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE_4 ,Global pin 4 write enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE_3 ,Global pin 3 write enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE_2 ,Global pin 2 write enable" "Disable,Enable" textline " " bitfld.long 0x00 17. " GPWE_1 ,Global pin 1 write enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE_0 ,Global pin 0 write enable" "Disable,Enable" textline " " sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 12. " GPWD_12 ,Global pin 12 write data" "Low,High" bitfld.long 0x00 11. " GPWD_11 ,Global pin 11 write data" "Low,High" bitfld.long 0x00 10. " GPWD_10 ,Global pin 10 write data" "Low,High" bitfld.long 0x00 9. " GPWD_9 ,Global pin 9 write data" "Low,High" textline " " bitfld.long 0x00 8. " GPWD_8 ,Global pin 8 write data" "Low,High" bitfld.long 0x00 7. " GPWD_7 ,Global pin 7 write data" "Low,High" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 6. " GPWD_6 ,Global pin 6 write data" "Low,High" textline " " endif bitfld.long 0x00 5. " GPWD_5 ,Global pin 5 write data" "Low,High" bitfld.long 0x00 4. " GPWD_4 ,Global pin 4 write data" "Low,High" bitfld.long 0x00 3. " GPWD_3 ,Global pin 3 write data" "Low,High" bitfld.long 0x00 2. " GPWD_2 ,Global pin 2 write data" "Low,High" textline " " bitfld.long 0x00 1. " GPWD_1 ,Global pin 1 write data" "Low,High" bitfld.long 0x00 0. " GPWD_0 ,Global pin 0 write data" "Low,High" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") wgroup.long 0x84++0x03 line.long 0x00 "GPCHR,PORTE Global Pin Control High Register" bitfld.long 0x00 28. " GPWE_28 ,Global pin 28 write enable" "Disable,Enable" bitfld.long 0x00 12. " GPWD_28 ,Global pin 28 write data" "Low,High" endif group.long 0xA0++0x3 line.long 0x00 "ISF_R,PORTE Interrupt Status Flag Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 28. " ISF_28 ,Interrupt status flag 28 (in digital modes only)" "No interrupt,Interrupt" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 12. " ISF_12 ,Interrupt status flag 12 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF_11 ,Interrupt status flag 11 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF_10 ,Interrupt status flag 10 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF_9 ,Interrupt status flag 9 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 8. " ISF_8 ,Interrupt status flag 8 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF_7 ,Interrupt status flag 7 (in digital modes only)" "No interrupt,Interrupt" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") eventfld.long 0x00 6. " ISF_6 ,Interrupt status flag 6 (in digital modes only)" "No interrupt,Interrupt" textline " " endif eventfld.long 0x00 5. " ISF_5 ,Interrupt status flag 5 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF_4 ,Interrupt status flag 4 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF_3 ,Interrupt status flag 3 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF_2 ,Interrupt status flag 2 (in digital modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF_1 ,Interrupt status flag 1 (in digital modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF_0 ,Interrupt status flag 0 (in digital modes only)" "No interrupt,Interrupt" group.long 0xC0++0x03 line.long 0x00 "DFER,Digital Filter Enable Register" sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 28. " DFE_28 ,Pin 28 digital filter enable" "Disabled,Enabled" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 12. " DFE_12 ,Pin 12 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 11. " DFE_11 ,Pin 11 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 10. " DFE_10 ,Pin 10 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 9. " DFE_9 ,Pin 9 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 8. " DFE_8 ,Pin 8 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 7. " DFE_7 ,Pin 7 digital filter enable" "Disabled,Enabled" textline " " endif sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 6. " DFE_6 ,Pin 6 digital filter enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 5. " DFE_5 ,Pin 5 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " DFE_4 ,Pin 4 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 3. " DFE_3 ,Pin 3 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 2. " DFE_2 ,Pin 2 digital filter enable" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " DFE_1 ,Pin 1 digital filter enable" "Disabled,Enabled" bitfld.long 0x00 0. " DFE_0 ,Pin 0 digital filter enable" "Disabled,Enabled" if (((per.l(ad:0x4004D000+0xC0)))==0x0) group.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" group.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else rgroup.long 0xC4++0x03 line.long 0x00 "DFCR,Digital Filter Clock Register" bitfld.long 0x00 0. " CS ,Clock source" "Bus clk,1 kHz LPO" rgroup.long 0xC8++0x03 line.long 0x00 "DFWR,Digital Filter Width Register" bitfld.long 0x00 0.--4. " FILT ,Filter length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif width 0x0B tree.end else tree "PORTA" base ad:0x40049000 width 13. sif (cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10") tree "PORT A Pin Control Registers" ; 0x0 - adres ; A - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; A - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; A - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; A - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; A - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; A - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; A - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; A - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; A - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; A - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; A - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; A - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; A - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; A - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; A - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; A - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x74 - adres ; A - litera portu (A,B,C,...) ; 29 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(29>=1)&&(29<=5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(29>=1)&&(29<=4)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTA_GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTA_GPCHR,PORTA Global Pin Control High Register" bitfld.long 0x04 29. " GPWE29 ,Global Pin 29 Write Enable" "Disable,Enable" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTA_ISFR,PORTA Interrupt Status Flag Register" eventfld.long 0x00 29. " ISF29 ,Interrupt Status Flag 29 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")) tree "PORT A Pin Control Registers" ; 0x0 - adres ; A - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; A - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; A - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; A - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; A - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; A - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; A - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; A - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; A - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; A - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; A - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; A - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; A - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; A - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; A - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x74 - adres ; A - litera portu (A,B,C,...) ; 29 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(29>=1)&&(29<=5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(29>=1)&&(29<=4)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTA_GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTA_GPCHR,PORTA Global Pin Control High Register" bitfld.long 0x04 29. " GPWE29 ,Global Pin 29 Write Enable" "Disable,Enable" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTA_ISFR,PORTA Interrupt Status Flag Register" eventfld.long 0x00 29. " ISF29 ,Interrupt Status Flag 29 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10")||(cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10"))||(cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10"))||(cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10"))||(cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) tree "PORT A Pin Control Registers" ; 0x0 - adres ; A - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; A - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; A - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; A - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; A - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; A - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTA_PCR_5,PORTA Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; A - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTA_PCR_6,PORTA Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; A - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTA_PCR_7,PORTA Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; A - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTA_PCR_8,PORTA Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; A - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTA_PCR_9,PORTA Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; A - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTA_PCR_10,PORTA Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; A - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTA_PCR_11,PORTA Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; A - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; A - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; A - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; A - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; A - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTA_PCR_16,PORTA Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; A - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTA_PCR_17,PORTA Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; A - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; A - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x60 - adres ; A - litera portu (A,B,C,...) ; 24 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(24>=1)&&(24<=5)) group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(24==0)) group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(24>=1)&&(24<=4)) group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(24==5)) group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(24==0)) group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x60++0x03 line.long 0x00 "PORTA_PCR_24,PORTA Pin Control Register 24" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x64 - adres ; A - litera portu (A,B,C,...) ; 25 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(25>=1)&&(25<=5)) group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(25==0)) group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(25>=1)&&(25<=4)) group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(25==5)) group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(25==0)) group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x64++0x03 line.long 0x00 "PORTA_PCR_25,PORTA Pin Control Register 25" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x68 - adres ; A - litera portu (A,B,C,...) ; 26 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(26>=1)&&(26<=5)) group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(26==0)) group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(26>=1)&&(26<=4)) group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(26==5)) group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(26==0)) group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x68++0x03 line.long 0x00 "PORTA_PCR_26,PORTA Pin Control Register 26" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x6C - adres ; A - litera portu (A,B,C,...) ; 27 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(27>=1)&&(27<=5)) group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(27==0)) group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(27>=1)&&(27<=4)) group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(27==5)) group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(27==0)) group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x6C++0x03 line.long 0x00 "PORTA_PCR_27,PORTA Pin Control Register 27" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x70 - adres ; A - litera portu (A,B,C,...) ; 28 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(28>=1)&&(28<=5)) group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(28==0)) group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(28>=1)&&(28<=4)) group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(28==5)) group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(28==0)) group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTA_PCR_28,PORTA Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x74 - adres ; A - litera portu (A,B,C,...) ; 29 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(29>=1)&&(29<=5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(29>=1)&&(29<=4)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==5)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(29==0)) group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x74++0x03 line.long 0x00 "PORTA_PCR_29,PORTA Pin Control Register 29" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTA_GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTA_GPCHR,PORTA Global Pin Control High Register" bitfld.long 0x04 29. " GPWE29 ,Global Pin 29 Write Enable" "Disable,Enable" bitfld.long 0x04 28. " GPWE28 ,Global Pin 28 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 27. " GPWE27 ,Global Pin 27 Write Enable" "Disable,Enable" bitfld.long 0x04 26. " GPWE26 ,Global Pin 26 Write Enable" "Disable,Enable" bitfld.long 0x04 25. " GPWE25 ,Global Pin 25 Write Enable" "Disable,Enable" bitfld.long 0x04 24. " GPWE24 ,Global Pin 24 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTA_ISFR,PORTA Interrupt Status Flag Register" eventfld.long 0x00 29. " ISF29 ,Interrupt Status Flag 29 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 28. " ISF28 ,Interrupt Status Flag 28 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 27. " ISF27 ,Interrupt Status Flag 27 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 26. " ISF26 ,Interrupt Status Flag 26 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 25. " ISF25 ,Interrupt Status Flag 25 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 24. " ISF24 ,Interrupt Status Flag 24 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX128CLH7")||(cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10")||(cpu()=="MK51DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") tree "PORT A Pin Control Registers" ; 0x0 - adres ; A - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; A - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; A - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; A - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; A - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; A - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; A - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTA_GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTA_GPCHR,PORTA Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTA_ISFR,PORTA Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10"))||(cpu()==("MK51DN512ZCLL10")) tree "PORT A Pin Control Registers" ; 0x0 - adres ; A - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTA_PCR_0,PORTA Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; A - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTA_PCR_1,PORTA Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; A - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTA_PCR_2,PORTA Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; A - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTA_PCR_3,PORTA Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; A - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTA_PCR_4,PORTA Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; A - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTA_PCR_12,PORTA Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; A - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTA_PCR_13,PORTA Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; A - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTA_PCR_14,PORTA Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; A - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTA_PCR_15,PORTA Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; A - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTA_PCR_18,PORTA Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; A - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('A'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('A'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('A'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTA_PCR_19,PORTA Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTA_GPCLR,PORTA Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTA_GPCHR,PORTA Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTA_ISFR,PORTA Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" endif width 0xB tree.end tree "PORTB" base ad:0x4004a000 width 13. sif (cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10")||(cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10"))||(cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10"))||(cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10"))||(cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; B - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTB_PCR_4,PORTB Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; B - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTB_PCR_5,PORTB Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; B - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; B - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; B - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; B - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x50 - adres ; B - litera portu (A,B,C,...) ; 20 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(20>=1)&&(20<=5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(20>=1)&&(20<=4)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x54 - adres ; B - litera portu (A,B,C,...) ; 21 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(21>=1)&&(21<=5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(21>=1)&&(21<=4)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x58 - adres ; B - litera portu (A,B,C,...) ; 22 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(22>=1)&&(22<=5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(22>=1)&&(22<=4)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x5C - adres ; B - litera portu (A,B,C,...) ; 23 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(23>=1)&&(23<=5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(23>=1)&&(23<=4)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 23. " GPWE23 ,Global Pin 23 Write Enable" "Disable,Enable" bitfld.long 0x04 22. " GPWE22 ,Global Pin 22 Write Enable" "Disable,Enable" bitfld.long 0x04 21. " GPWE21 ,Global Pin 21 Write Enable" "Disable,Enable" bitfld.long 0x04 20. " GPWE20 ,Global Pin 20 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 23. " ISF23 ,Interrupt Status Flag 23 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 22. " ISF22 ,Interrupt Status Flag 22 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 21. " ISF21 ,Interrupt Status Flag 21 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 20. " ISF20 ,Interrupt Status Flag 20 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; B - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x50 - adres ; B - litera portu (A,B,C,...) ; 20 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(20>=1)&&(20<=5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(20>=1)&&(20<=4)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x54 - adres ; B - litera portu (A,B,C,...) ; 21 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(21>=1)&&(21<=5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(21>=1)&&(21<=4)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x58 - adres ; B - litera portu (A,B,C,...) ; 22 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(22>=1)&&(22<=5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(22>=1)&&(22<=4)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x5C - adres ; B - litera portu (A,B,C,...) ; 23 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(23>=1)&&(23<=5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(23>=1)&&(23<=4)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 23. " GPWE23 ,Global Pin 23 Write Enable" "Disable,Enable" bitfld.long 0x04 22. " GPWE22 ,Global Pin 22 Write Enable" "Disable,Enable" bitfld.long 0x04 21. " GPWE21 ,Global Pin 21 Write Enable" "Disable,Enable" bitfld.long 0x04 20. " GPWE20 ,Global Pin 20 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 23. " ISF23 ,Interrupt Status Flag 23 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 22. " ISF22 ,Interrupt Status Flag 22 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 21. " ISF21 ,Interrupt Status Flag 21 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 20. " ISF20 ,Interrupt Status Flag 20 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10") tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX128CLH7")||(cpu()=="MK50DX128CLH7") tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")) tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; B - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTB_PCR_6,PORTB Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; B - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; B - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; B - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x50 - adres ; B - litera portu (A,B,C,...) ; 20 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(20>=1)&&(20<=5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(20>=1)&&(20<=4)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x54 - adres ; B - litera portu (A,B,C,...) ; 21 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(21>=1)&&(21<=5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(21>=1)&&(21<=4)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x58 - adres ; B - litera portu (A,B,C,...) ; 22 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(22>=1)&&(22<=5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(22>=1)&&(22<=4)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x5C - adres ; B - litera portu (A,B,C,...) ; 23 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(23>=1)&&(23<=5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(23>=1)&&(23<=4)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 23. " GPWE23 ,Global Pin 23 Write Enable" "Disable,Enable" bitfld.long 0x04 22. " GPWE22 ,Global Pin 22 Write Enable" "Disable,Enable" bitfld.long 0x04 21. " GPWE21 ,Global Pin 21 Write Enable" "Disable,Enable" bitfld.long 0x04 20. " GPWE20 ,Global Pin 20 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 23. " ISF23 ,Interrupt Status Flag 23 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 22. " ISF22 ,Interrupt Status Flag 22 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 21. " ISF21 ,Interrupt Status Flag 21 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 20. " ISF20 ,Interrupt Status Flag 20 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; B - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; B - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL7")||(cpu()==("MK51DN512ZCLL10")) tree "PORT B Pin Control Registers" ; 0x0 - adres ; B - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTB_PCR_0,PORTB Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; B - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTB_PCR_1,PORTB Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; B - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTB_PCR_2,PORTB Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; B - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTB_PCR_3,PORTB Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; B - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTB_PCR_7,PORTB Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; B - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTB_PCR_8,PORTB Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; B - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTB_PCR_9,PORTB Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; B - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTB_PCR_10,PORTB Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; B - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTB_PCR_11,PORTB Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; B - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTB_PCR_16,PORTB Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; B - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTB_PCR_17,PORTB Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; B - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTB_PCR_18,PORTB Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; B - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTB_PCR_19,PORTB Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x50 - adres ; B - litera portu (A,B,C,...) ; 20 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(20>=1)&&(20<=5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(20>=1)&&(20<=4)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==5)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(20==0)) group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x50++0x03 line.long 0x00 "PORTB_PCR_20,PORTB Pin Control Register 20" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x54 - adres ; B - litera portu (A,B,C,...) ; 21 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(21>=1)&&(21<=5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(21>=1)&&(21<=4)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==5)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(21==0)) group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x54++0x03 line.long 0x00 "PORTB_PCR_21,PORTB Pin Control Register 21" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x58 - adres ; B - litera portu (A,B,C,...) ; 22 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(22>=1)&&(22<=5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(22>=1)&&(22<=4)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==5)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(22==0)) group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x58++0x03 line.long 0x00 "PORTB_PCR_22,PORTB Pin Control Register 22" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x5C - adres ; B - litera portu (A,B,C,...) ; 23 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('B'=='A')&&(23>=1)&&(23<=5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('B'=='A')&&(23>=1)&&(23<=4)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==5)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('B'=='A')&&(23==0)) group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x5C++0x03 line.long 0x00 "PORTB_PCR_23,PORTB Pin Control Register 23" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTB_GPCLR,PORTB Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTB_GPCHR,PORTB Global Pin Control High Register" bitfld.long 0x04 23. " GPWE23 ,Global Pin 23 Write Enable" "Disable,Enable" bitfld.long 0x04 22. " GPWE22 ,Global Pin 22 Write Enable" "Disable,Enable" bitfld.long 0x04 21. " GPWE21 ,Global Pin 21 Write Enable" "Disable,Enable" bitfld.long 0x04 20. " GPWE20 ,Global Pin 20 Write Enable" "Disable,Enable" textline " " bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTB_ISFR,PORTB Interrupt Status Flag Register" eventfld.long 0x00 23. " ISF23 ,Interrupt Status Flag 23 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 22. " ISF22 ,Interrupt Status Flag 22 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 21. " ISF21 ,Interrupt Status Flag 21 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 20. " ISF20 ,Interrupt Status Flag 20 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" endif width 0xB tree.end tree "PORTC" base ad:0x4004b000 width 13. sif (cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10")||(cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10"))||(cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10"))||(cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10"))||(cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10"))||(cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; C - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; C - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; C - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; C - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; C - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; C - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; C - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; C - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTC_GPCHR,PORTC Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; C - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; C - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; C - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; C - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTC_PCR_15,PORTC Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; C - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; C - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; C - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTC_GPCHR,PORTC Global Pin Control High Register" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10") tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; C - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; C - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTC_GPCHR,PORTC Global Pin Control High Register" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x84++0x3 hide.long 0x00 "PORTC_GPCHR,PORTC Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX128CLH7") tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x84++0x3 hide.long 0x00 "PORTC_GPCHR,PORTC Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()==("MK51DN512ZCLL10")) tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; C - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; C - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; C - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTC_GPCHR,PORTC Global Pin Control High Register" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7") tree "PORT C Pin Control Registers" ; 0x0 - adres ; C - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTC_PCR_0,PORTC Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; C - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTC_PCR_1,PORTC Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; C - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTC_PCR_2,PORTC Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; C - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTC_PCR_3,PORTC Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; C - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTC_PCR_4,PORTC Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; C - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTC_PCR_5,PORTC Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; C - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTC_PCR_6,PORTC Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; C - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTC_PCR_7,PORTC Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; C - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTC_PCR_8,PORTC Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; C - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTC_PCR_9,PORTC Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; C - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTC_PCR_10,PORTC Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; C - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTC_PCR_11,PORTC Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; C - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTC_PCR_12,PORTC Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; C - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTC_PCR_13,PORTC Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; C - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTC_PCR_14,PORTC Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x40 - adres ; C - litera portu (A,B,C,...) ; 16 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(16>=1)&&(16<=5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(16>=1)&&(16<=4)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==5)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(16==0)) group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x40++0x03 line.long 0x00 "PORTC_PCR_16,PORTC Pin Control Register 16" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x44 - adres ; C - litera portu (A,B,C,...) ; 17 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(17>=1)&&(17<=5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(17>=1)&&(17<=4)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==5)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(17==0)) group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x44++0x03 line.long 0x00 "PORTC_PCR_17,PORTC Pin Control Register 17" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x48 - adres ; C - litera portu (A,B,C,...) ; 18 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(18>=1)&&(18<=5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(18>=1)&&(18<=4)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==5)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(18==0)) group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x48++0x03 line.long 0x00 "PORTC_PCR_18,PORTC Pin Control Register 18" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4C - adres ; C - litera portu (A,B,C,...) ; 19 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('C'=='A')&&(19>=1)&&(19<=5)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('C'=='A')&&(19>=1)&&(19<=4)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==5)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('C'=='A')&&(19==0)) group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4C++0x03 line.long 0x00 "PORTC_PCR_19,PORTC Pin Control Register 19" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTC_GPCLR,PORTC Global Pin Control Low Register" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTC_GPCHR,PORTC Global Pin Control High Register" bitfld.long 0x04 19. " GPWE19 ,Global Pin 19 Write Enable" "Disable,Enable" bitfld.long 0x04 18. " GPWE18 ,Global Pin 18 Write Enable" "Disable,Enable" bitfld.long 0x04 17. " GPWE17 ,Global Pin 17 Write Enable" "Disable,Enable" bitfld.long 0x04 16. " GPWE16 ,Global Pin 16 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTC_ISFR,PORTC Interrupt Status Flag Register" eventfld.long 0x00 19. " ISF19 ,Interrupt Status Flag 19 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 18. " ISF18 ,Interrupt Status Flag 18 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 17. " ISF17 ,Interrupt Status Flag 17 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 16. " ISF16 ,Interrupt Status Flag 16 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" endif width 0xB tree.end tree "PORTD" base ad:0x4004c000 width 13. sif (cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10"))||(cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")) tree "PORT D Pin Control Registers" ; 0x0 - adres ; D - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; D - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; D - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; D - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; D - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; D - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; D - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; D - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; D - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTD_PCR_8,PORTD Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; D - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTD_PCR_9,PORTD Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; D - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; D - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; D - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; D - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; D - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; D - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTD_GPCLR,PORTD Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x83++0x3 hide.long 0x00 "PORTD_GPCHR,PORTD Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTD_ISFR,PORTD Interrupt Status Flag Register" eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DX128CLH7")||(cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLK10")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLK10")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10"))||(cpu()==("MK51DN512ZCLL10")) tree "PORT D Pin Control Registers" ; 0x0 - adres ; D - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; D - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; D - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; D - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; D - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; D - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; D - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; D - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTD_GPCLR,PORTD Global Pin Control Low Register" bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x83++0x3 hide.long 0x00 "PORTD_GPCHR,PORTD Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTD_ISFR,PORTD Interrupt Status Flag Register" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10")||(cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10"))||(cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10"))||(cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) tree "PORT D Pin Control Registers" ; 0x0 - adres ; D - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTD_PCR_0,PORTD Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; D - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTD_PCR_1,PORTD Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; D - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTD_PCR_2,PORTD Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; D - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTD_PCR_3,PORTD Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; D - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTD_PCR_4,PORTD Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; D - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTD_PCR_5,PORTD Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; D - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTD_PCR_6,PORTD Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; D - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTD_PCR_7,PORTD Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; D - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTD_PCR_10,PORTD Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; D - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTD_PCR_11,PORTD Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; D - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTD_PCR_12,PORTD Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x34 - adres ; D - litera portu (A,B,C,...) ; 13 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(13>=1)&&(13<=5)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(13>=1)&&(13<=4)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==5)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(13==0)) group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x34++0x03 line.long 0x00 "PORTD_PCR_13,PORTD Pin Control Register 13" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x38 - adres ; D - litera portu (A,B,C,...) ; 14 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(14>=1)&&(14<=5)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(14>=1)&&(14<=4)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==5)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(14==0)) group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x38++0x03 line.long 0x00 "PORTD_PCR_14,PORTD Pin Control Register 14" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x3C - adres ; D - litera portu (A,B,C,...) ; 15 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('D'=='A')&&(15>=1)&&(15<=5)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('D'=='A')&&(15>=1)&&(15<=4)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==5)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('D'=='A')&&(15==0)) group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x3C++0x03 line.long 0x00 "PORTD_PCR_15,PORTD Pin Control Register 15" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTD_GPCLR,PORTD Global Pin Control Low Register" bitfld.long 0x00 31. " GPWE15 ,Global Pin 15 Write Enable" "Disable,Enable" bitfld.long 0x00 30. " GPWE14 ,Global Pin 14 Write Enable" "Disable,Enable" bitfld.long 0x00 29. " GPWE13 ,Global Pin 13 Write Enable" "Disable,Enable" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x83++0x3 hide.long 0x00 "PORTD_GPCHR,PORTD Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTD_ISFR,PORTD Interrupt Status Flag Register" eventfld.long 0x00 15. " ISF15 ,Interrupt Status Flag 15 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 14. " ISF14 ,Interrupt Status Flag 14 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 13. " ISF13 ,Interrupt Status Flag 13 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" endif width 0xB tree.end tree "PORTE" base ad:0x4004d000 width 13. sif (cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10"))||(cpu()==("MK51DN512ZCLL10")) tree "PORT E Pin Control Registers" ; 0x0 - adres ; E - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; E - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; E - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; E - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; E - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; E - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x3 line.long 0x00 "PORTE_GPCLR,PORTE Global Pin Control Low Register" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" hgroup.long 0x84++0x3 hide.long 0x00 "PORTE_GPCHR,PORTE Global Pin Control High Register" group.long 0xa0++0x3 line.long 0x00 "PORTE_ISFR,PORTE Interrupt Status Flag Register" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10")||(cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10"))||(cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10"))||(cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10"))||(cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) tree "PORT E Pin Control Registers" ; 0x0 - adres ; E - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; E - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; E - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; E - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; E - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; E - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; E - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x1C - adres ; E - litera portu (A,B,C,...) ; 7 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(7>=1)&&(7<=5)) group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(7>=1)&&(7<=4)) group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(7==5)) group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(7==0)) group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x1C++0x03 line.long 0x00 "PORTE_PCR_7,PORTE Pin Control Register 7" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x20 - adres ; E - litera portu (A,B,C,...) ; 8 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(8>=1)&&(8<=5)) group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(8>=1)&&(8<=4)) group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(8==5)) group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(8==0)) group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x20++0x03 line.long 0x00 "PORTE_PCR_8,PORTE Pin Control Register 8" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x24 - adres ; E - litera portu (A,B,C,...) ; 9 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(9>=1)&&(9<=5)) group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(9>=1)&&(9<=4)) group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(9==5)) group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(9==0)) group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x24++0x03 line.long 0x00 "PORTE_PCR_9,PORTE Pin Control Register 9" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x28 - adres ; E - litera portu (A,B,C,...) ; 10 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(10>=1)&&(10<=5)) group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(10>=1)&&(10<=4)) group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(10==5)) group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(10==0)) group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x28++0x03 line.long 0x00 "PORTE_PCR_10,PORTE Pin Control Register 10" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x2C - adres ; E - litera portu (A,B,C,...) ; 11 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(11>=1)&&(11<=5)) group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(11>=1)&&(11<=4)) group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(11==5)) group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(11==0)) group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x2C++0x03 line.long 0x00 "PORTE_PCR_11,PORTE Pin Control Register 11" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x30 - adres ; E - litera portu (A,B,C,...) ; 12 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(12>=1)&&(12<=5)) group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(12>=1)&&(12<=4)) group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(12==5)) group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(12==0)) group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x30++0x03 line.long 0x00 "PORTE_PCR_12,PORTE Pin Control Register 12" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x70 - adres ; E - litera portu (A,B,C,...) ; 28 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(28>=1)&&(28<=5)) group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(28==0)) group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(28>=1)&&(28<=4)) group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(28==5)) group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(28==0)) group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x70++0x03 line.long 0x00 "PORTE_PCR_28,PORTE Pin Control Register 28" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTE_GPCLR,PORTE Global Pin Control Low Register" bitfld.long 0x00 28. " GPWE12 ,Global Pin 12 Write Enable" "Disable,Enable" bitfld.long 0x00 27. " GPWE11 ,Global Pin 11 Write Enable" "Disable,Enable" bitfld.long 0x00 26. " GPWE10 ,Global Pin 10 Write Enable" "Disable,Enable" bitfld.long 0x00 25. " GPWE9 ,Global Pin 9 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 24. " GPWE8 ,Global Pin 8 Write Enable" "Disable,Enable" bitfld.long 0x00 23. " GPWE7 ,Global Pin 7 Write Enable" "Disable,Enable" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTE_GPCHR,PORTE Global Pin Control High Register" bitfld.long 0x04 28. " GPWE28 ,Global Pin 28 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTE_ISFR,PORTE Interrupt Status Flag Register" eventfld.long 0x00 28. " ISF28 ,Interrupt Status Flag 28 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 12. " ISF12 ,Interrupt Status Flag 12 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 11. " ISF11 ,Interrupt Status Flag 11 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 10. " ISF10 ,Interrupt Status Flag 10 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 9. " ISF9 ,Interrupt Status Flag 9 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 8. " ISF8 ,Interrupt Status Flag 8 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 7. " ISF7 ,Interrupt Status Flag 7 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" elif (cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")) tree "PORT E Pin Control Registers" ; 0x0 - adres ; E - litera portu (A,B,C,...) ; 0 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(0>=1)&&(0<=5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(0>=1)&&(0<=4)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==5)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(0==0)) group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x0++0x03 line.long 0x00 "PORTE_PCR_0,PORTE Pin Control Register 0" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x4 - adres ; E - litera portu (A,B,C,...) ; 1 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(1>=1)&&(1<=5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(1>=1)&&(1<=4)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==5)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(1==0)) group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x4++0x03 line.long 0x00 "PORTE_PCR_1,PORTE Pin Control Register 1" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x8 - adres ; E - litera portu (A,B,C,...) ; 2 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(2>=1)&&(2<=5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(2>=1)&&(2<=4)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==5)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(2==0)) group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x8++0x03 line.long 0x00 "PORTE_PCR_2,PORTE Pin Control Register 2" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0xC - adres ; E - litera portu (A,B,C,...) ; 3 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(3>=1)&&(3<=5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(3>=1)&&(3<=4)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==5)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(3==0)) group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0xC++0x03 line.long 0x00 "PORTE_PCR_3,PORTE Pin Control Register 3" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x10 - adres ; E - litera portu (A,B,C,...) ; 4 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(4>=1)&&(4<=5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(4>=1)&&(4<=4)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==5)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(4==0)) group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x10++0x03 line.long 0x00 "PORTE_PCR_4,PORTE Pin Control Register 4" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x14 - adres ; E - litera portu (A,B,C,...) ; 5 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(5>=1)&&(5<=5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(5>=1)&&(5<=4)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==5)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(5==0)) group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x14++0x03 line.long 0x00 "PORTE_PCR_5,PORTE Pin Control Register 5" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B ; 0x18 - adres ; E - litera portu (A,B,C,...) ; 6 - numer portu width 16. sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")) if (('E'=='A')&&(6>=1)&&(6<=5)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D????AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22F*VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22F*VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R") if (('E'=='A')&&(6>=1)&&(6<=4)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==5)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" eventfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif (('E'=='A')&&(6==0)) group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" eventfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline eventfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" eventfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif elif cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK02F*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VFX12*") group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--11. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7,ALT8,ALT9,ALT10,ALT11,ALT12,ALT13,ALT14,ALT15" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "Disabled,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" else group.long 0x18++0x03 line.long 0x00 "PORTE_PCR_6,PORTE Pin Control Register 6" eventfld.long 0x00 24. " ISF ,Interrupt status flag (in digital modes only)" "No interrupt,Interrupt" bitfld.long 0x00 16.--19. " IRQC ,Interrupt / DMA request configuration (in digital modes only)" "Disabled,DMA Req on rising edge,DMA Req on falling edge,DMA Req on either edge,,,,,Int when logic zero,Int on rising edge,Int on falling edge,Int on either edge,Int when logic one,?..." newline bitfld.long 0x00 15. " LK ,Lock bits [15:0]" "Not locked,Locked" bitfld.long 0x00 8.--10. " MUX ,Pin mux control" "ALT0,ALT1,ALT2,ALT3,ALT4,ALT5,ALT6,ALT7" newline bitfld.long 0x00 6. " DSE ,Drive strength enable (in digital modes only)" "Low,High" bitfld.long 0x00 5. " ODE ,Open drain enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 4. " PFE ,Passive filter enable (in digital modes only)" "Disabled,Enabled" newline bitfld.long 0x00 2. " SRE ,Slew rate enable (in digital modes only)" "Fast,Slow" bitfld.long 0x00 1. " PE ,Pull enable (in digital modes only)" "Disabled,Enabled" bitfld.long 0x00 0. " PS ,Pull select (in digital modes only)" "Down,Up" endif width 0x0B tree.end width 13. wgroup.long 0x80++0x7 line.long 0x00 "PORTE_GPCLR,PORTE Global Pin Control Low Register" bitfld.long 0x00 22. " GPWE6 ,Global Pin 6 Write Enable" "Disable,Enable" bitfld.long 0x00 21. " GPWE5 ,Global Pin 5 Write Enable" "Disable,Enable" bitfld.long 0x00 20. " GPWE4 ,Global Pin 4 Write Enable" "Disable,Enable" bitfld.long 0x00 19. " GPWE3 ,Global Pin 3 Write Enable" "Disable,Enable" textline " " bitfld.long 0x00 18. " GPWE2 ,Global Pin 2 Write Enable" "Disable,Enable" bitfld.long 0x00 17. " GPWE1 ,Global Pin 1 Write Enable" "Disable,Enable" bitfld.long 0x00 16. " GPWE0 ,Global Pin 0 Write Enable" "Disable,Enable" textline " " hexmask.long.word 0x00 0.--15. 1. " GPWD ,Global Pin Write Data" line.long 0x04 "PORTE_GPCHR,PORTE Global Pin Control High Register" hexmask.long.word 0x04 0.--15. 1. " GPWD ,Global Pin Write Data" group.long 0xa0++0x3 line.long 0x00 "PORTE_ISFR,PORTE Interrupt Status Flag Register" eventfld.long 0x00 6. " ISF6 ,Interrupt Status Flag 6 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 5. " ISF5 ,Interrupt Status Flag 5 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 4. " ISF4 ,Interrupt Status Flag 4 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 3. " ISF3 ,Interrupt Status Flag 3 (In Digital Modes only)" "No interrupt,Interrupt" textline " " eventfld.long 0x00 2. " ISF2 ,Interrupt Status Flag 2 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 1. " ISF1 ,Interrupt Status Flag 1 (In Digital Modes only)" "No interrupt,Interrupt" eventfld.long 0x00 0. " ISF0 ,Interrupt Status Flag 0 (In Digital Modes only)" "No interrupt,Interrupt" endif width 0xB tree.end endif tree.end tree.open "System Modules" tree "SIM (System Integration Module)" base ad:0x40047000 width 9. group.long 0x00++0x07 line.long 0x00 "SOPT1,System Options Register" bitfld.long 0x00 31. " USBREGEN ,USB voltage regulator enable" "Disabled,Enabled" bitfld.long 0x00 30. " USBSSTBY ,USB voltage regulator in standby mode during Stop, VLPS,LLS and VLLS modes" "Running,Standby" textline " " sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) rbitfld.long 0x00 23. " MS ,EzPort chip select pin state" "Low,High" bitfld.long 0x00 19. " OSC32KSEL ,32K oscillator clock select" "OSC32KCLK,RTC osc" textline " " else bitfld.long 0x00 29. " USBVSTBY ,USB voltage regulator in standby mode during VLPR and VLPW modes" "Running,Standby" bitfld.long 0x00 18.--19. " OSC32KSEL ,32K oscillator clock select" "System,,RTC,LPO" textline " " endif sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) rbitfld.long 0x00 12.--15. " RAMSIZE ,RAM size" ",,,,,32 kB,,64 kB,96 kB,128 kB,?..." else sif cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*10")||cpuis("MK50D*10") rbitfld.long 0x00 12.--15. " RAMSIZE ,RAM size" ",8 kB,,16 kB,,32 kB,,64 kB,,128 kB,,,,,," elif cpuis("MK51D*7")||cpuis("MK50D*7") rbitfld.long 0x00 12.--15. " RAMSIZE ,RAM size" ",8 kB,,16 kB,,32 kB,,64 kB,,,,,,,," else rbitfld.long 0x00 12.--15. " RAMSIZE ,RAM size" ",8 kB,,16 kB,24 kB,32 kB,48 kB,64 kB,96 kB,128 kB,,,,,," endif endif sif cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") line.long 0x04 "SOPT1CFG,SOPT1 Configuration Register" bitfld.long 0x04 26. " USSWE ,USB voltage regulator stop standby write enable" "Disabled,Enabled" bitfld.long 0x04 25. " UVSWE ,UUSB voltage regulator VLP standby write enable" "Disabled,Enabled" textline " " bitfld.long 0x04 24. " URWE ,USB voltage regulator enable write enable" "Disabled,Enabled" endif base ad:0x40048000 textline " " group.long 0x04++0x03 line.long 0x00 "SOPT2,System Options Register 2" sif cpuis("MK5?D*10") sif !cpuis("MK51DX256CLK10") bitfld.long 0x00 28.--29. " SDHCSRC ,SDHCSRC clk source select" "Core/system,PLL/FLL,OSCERCLK,External bypass" textline " " endif endif sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.long 0x00 24.--25. " I2SSRC ,I2S master clock source select" "Core/system,PLL/FLL,OSCERCLK,External bypass" textline " " endif sif cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10") sif cpuis("MK52D*")||cpuis("MK53D*") bitfld.long 0x00 20.--21. " TIMESRC ,IEEE 1588 timestamp clock source select" "Core/system,PLL/FLL,OSCERCLK,External bypass" sif cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") bitfld.long 0x00 19. " RMIISRC ,RMII clock source select" "EXTAL,External bypass" endif textline " " endif endif bitfld.long 0x00 18. " USBSRC ,USB clock source select" "External bypass,PLLCLK" bitfld.long 0x00 16. " PLLFLLSEL ,PLL/FLL clock select" "FLL,PLL" textline " " sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.long 0x00 12. " TRACECLKSEL ,Debug trace clock select" "MCGOUTCLK,Core/system clock" bitfld.long 0x00 11. " CMTUARTPAD ,CMT/UART pad drive strength" "Single-pad,Dual-pad" textline " " else bitfld.long 0x00 12. " TRACECLKSEL ,Debug trace clock select" "MCGOUTCLK,Core clock" bitfld.long 0x00 11. " PTD7PAD ,PTD7PAD pad drive strength" "Single-pad,Dual-pad" textline " " endif sif cpuis("MK5?DX*")||cpuis("MK53DN*")||cpuis("MK50DN*10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10") sif !cpuis("MK51DX*") bitfld.long 0x00 8.--9. " FBSL ,Flexbus security level" "All off-chip disallowed,All off-chip disallowed,Off-chip opcode disallowed/Data access allowed,Off-chip op code allowed/Data access allowed" textline " " endif endif sif cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") sif cpuis("MK5?DX*")||cpuis("MK53DN*")||cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10")||cpuis("MK50DN*10") sif !cpuis("MK51DX*") bitfld.long 0x00 5.--7. " CLKOUTSEL ,CLKOUT select" "FlexBus CLKOUT,,Flash,LPO,MCGIRCLK,RTC 32.768kHz,OSC0ERCLK0," textline " " else bitfld.long 0x00 5.--7. " CLKOUTSEL ,CLKOUT select" ",,Flash,LPO,MCGIRCLK,RTC 32.768kHz,OSC0ERCLK0," textline " " endif else bitfld.long 0x00 5.--7. " CLKOUTSEL ,CLKOUT select" ",,Flash,LPO,MCGIRCLK,RTC 32.768kHz,OSC0ERCLK0," textline " " endif bitfld.long 0x00 4. " RTCCLKOUTSEL ,RTC clock out select" "RTC 1 Hz,RTC 32.768kHz" textline " " else bitfld.long 0x00 0. " MCGCLKSEL ,MCG clock select" "OSCCLK,RTC 32 kHz" endif group.long 0x0C++0x07 line.long 0x00 "SOPT4,System Options Register 4" sif cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") bitfld.long 0x00 29. " FTM0TRG1SRC ,FlexTimer 0 Hardware Trigger 1 Source Select" "PDB,FTM2" bitfld.long 0x00 28. " FTM0TRG0SRC ,FlexTimer 0 Hardware Trigger 0 Source Select" "HSCMP0,FTM1" textline " " endif bitfld.long 0x00 26. " FTM2CLKSEL ,FlexTimer 2 external clock pin select" "FTM_CLK0,FTM_CLK1" bitfld.long 0x00 25. " FTM1CLKSEL ,FlexTimer 1 external clock pin select" "FTM_CLK0,FTM_CLK1" textline " " bitfld.long 0x00 24. " FTM0CLKSEL ,FlexTimer 0 external clock pin select" "FTM_CLK0,FTM_CLK1" bitfld.long 0x00 20.--21. " FTM2CH0SRC ,Flextimer 2 channel 0 input capture source select" "FTM2_CH0 pin,CMP0 output,CMP1 output,?..." textline " " sif cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") sif cpuis("MK5?D*") bitfld.long 0x00 18.--19. " FTM1CH0SRC ,Flextimer 1 channel 0 input capture source select" "FTM1_CH0 pin,CMP0 output,CMP1 output,USB start" textline " " else bitfld.long 0x00 18.--19. " FTM1CH0SRC ,Flextimer 1 channel 0 input capture source select" "FTM1_CH0 pin,CMP0 output,CMP1 output," textline " " endif else bitfld.long 0x00 18.--19. " FTM1CH0SRC ,Flextimer 1 channel 0 input capture source select" "FTM1_CH0 pin,CMP0 output,CMP1 output,?..." textline " " endif bitfld.long 0x00 8. " FTM2FLT0 ,Flextimer 2 fault 0 select" "FTM2_FLT0 pin,CMP0 out" bitfld.long 0x00 4. " FTM1FLT0 ,FlexTimer 1 fault 0 select" "FTM1_FLT0 pin,CMP0 out" textline " " bitfld.long 0x00 2. " FTM0FLT2 ,FlexTimer 0 fault 2 select" "FTM0_FLT2,CMP2 out" bitfld.long 0x00 1. " FTM0FLT1 ,FlexTimer 0 fault 1 select" "FTM0_FLT1,CMP1 out" textline " " bitfld.long 0x00 0. " FTM0FLT0 ,FlexTimer 0 fault 0 select" "FTM0_FLT0,CMP0 out" line.long 0x04 "SOPT5,System Options Register 5" bitfld.long 0x04 6.--7. " UART1RXSRC ,UART 1 receive data source select" "UART1_RX,CMP0,CMP1,?..." bitfld.long 0x04 4.--5. " UART1TXSRC ,UART 1 transmit data source select" "UART1_TX,UART1_TX mod with FTM1 ch#0 Out,UART1_TX mod with FTM2 ch#0 Out,?..." textline " " bitfld.long 0x04 2.--3. " UART0RXSRC ,UART 0 receive data source select" "UART0_RX,CMP0,CMP1,?..." bitfld.long 0x04 0.--1. " UART0TXSRC ,UART 0 transmit data source select" "UART0_TX,UART0_TX mod with FTM1 ch#0 Out,UART0_TX mod with FTM2 ch#0 Out,?..." textline " " sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) group.long 0x14++0x03 line.long 0x00 "SOPT6,System Options Register 6" bitfld.long 0x00 29.--31. " RSTFLTEN ,Reset pin filter enable" "Disabled,Bus clk filter enabled in normal op/LPO clk filter enabled in stop mode,LPO clk filter enabled,Bus clock filter enabled in normal op/Filtering disabled on stop mode,LPO clk filter enabled in normal op/Filtering disabled in stop mode,?..." textline " " bitfld.long 0x00 24.--28. " RSTFLTSEL ,Reset pin filter select" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" endif textline " " group.long 0x18++0x03 line.long 0x00 "SOPT7,System Options Register 7" bitfld.long 0x00 15. " ADC1ALTTRGEN ,ADC1 alternate trigger enable" "Disabled,Enabled" bitfld.long 0x00 12. " ADC1PRETRGSEL ,ADC1 pre-trigger select" "Pre-trigger A,Pre-trigger B" textline " " sif cpuis("MK5?D*") bitfld.long 0x00 8.--11. " ADC1TRGSEL ,ADC1 trigger select" "PDB0_EXTRG,HS comparator 0 Out,HS comparator 1 Out,HS comparator 2 Out,PIT trigger 0,PIT trigger 1,PIT trigger 2,PIT trigger 3,FTM0 trigger,FTM1 trigger,FTM2 trigger,,RTC alarm,RTC seconds,Low-power timer trigger,?..." textline " " else bitfld.long 0x00 8.--11. " ADC1TRGSEL ,ADC1 trigger select" "PDB0_EXTRG,HS comparator 0 Out,HS comparator 1 Out,HS comparator 2 Out,PIT trigger 0,PIT trigger 1,PIT trigger 2,PIT trigger 3,FTM0 trigger,FTM1 trigger,FTM2 trigger,FTM3 trigger,RTC alarm,RTC seconds,Low-power timer trigger," textline " " endif bitfld.long 0x00 7. " ADC0ALTTRGEN ,ADC0 alternate trigger enable" "Disabled,Enabled" bitfld.long 0x00 4. " ADC0PRETRGSEL ,ADC0 pretrigger select" "Pre-trigger A,Pre-trigger B" textline " " sif cpuis("MK5?D*") bitfld.long 0x00 0.--3. " ADC0TRGSEL ,ADC0 trigger select" "PDB0_EXTRG,HS comparator 0 Out,HS comparator 1 Out,HS comparator 2 Out,PIT trigger 0,PIT trigger 1,PIT trigger 2,PIT trigger 3,FTM0 trigger,FTM1 trigger,FTM2 trigger,,RTC alarm,RTC seconds,Low-power timer trigger,?..." textline " " else bitfld.long 0x00 0.--3. " ADC0TRGSEL ,ADC0 trigger select" "PDB0_EXTRG,HS comparator 0 Out,HS comparator 1 Out,HS comparator 2 Out,PIT trigger 0,PIT trigger 1,PIT trigger 2,PIT trigger 3,FTM0 trigger,FTM1 trigger,FTM2 trigger,FTM3 trigger,RTC alarm,RTC seconds,Low-power timer trigger," textline " " endif textline " " rgroup.long 0x24++0x03 line.long 0x00 "SDID,System Device Identification Register" bitfld.long 0x00 12.--15. " REVID ,Device revision number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" textline " " sif cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*10")||cpuis("MK50D*10") sif cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10") bitfld.long 0x00 4.--6. " FAMID ,Kinetis family identification" "K10,K20,K30,K40,K60,K70,K50/K52,K51/K53" textline " " else bitfld.long 0x00 4.--6. " FAMID ,Kinetis family identification" "K10,K20,K30,K40,K60,,K50/K52,K51/K53" textline " " endif sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.long 0x00 0.--3. " PINID ,Pincount identification" ",,32-pin,,48-pin,64-pin,80-pin,81-pin,100-pin,121-pin,144-pin,,196-pin,,256-pin,?..." textline " " else bitfld.long 0x00 0.--3. " PINID ,Pincount identification" ",,,,,,80-pin,81-pin,100-pin,121-pin,144-pin,,,,," textline " " endif elif cpuis("MK51D*7")||cpuis("MK50D*7") bitfld.long 0x00 4.--6. " FAMID ,Kinetis family identification" "K10,K20,K30,K40,,,K50,K51" bitfld.long 0x00 0.--3. " PINID ,Pincount identification" ",,,,,64-pin,80-pin,81-pin,100-pin,,,,,,," textline " " else bitfld.long 0x00 4.--6. " FAMID ,Kinetis family identification" "K10/K12,K20/K22,K30/K11/K61,K40/K21,K60/K62,K70,KW24," bitfld.long 0x00 0.--3. " PINID ,Pincount identification" ",,32-pin,,48-pin,64-pin,80-pin,81/121-pin,100-pin,121-pin,144-pin,WLCSP,196-pin,,256-pin," endif group.long 0x28++0x1F line.long 0x00 "SCGC1,System Clock Gating Control Register 1" bitfld.long 0x00 24. " TRIAMP ,TRIAMP clock gate control" "Disabled,Enabled" bitfld.long 0x00 21. " OPAMP ,OPAMP clock gate control" "Disabled,Enabled" textline " " sif (cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10")) sif cpuis("MK5?D*CMC10")||cpuis("MK5?D*CLQ10")||cpuis("MK5?D*CMD10") bitfld.long 0x00 11. " UART5 ,UART5 clock gate control" "Disabled,Enabled" textline " " endif sif !cpuis("MK5?D*CLH7")&&!cpuis("MK5?D*CLK7")&&!cpuis("MK5?D*CLK10") bitfld.long 0x00 10. " UART4 ,UART4 clock gate control" "Disabled,Enabled" textline " " endif else sif (cpu()!=("MK51DN512ZCLL10")) sif (cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.long 0x00 11. " UART5 ,UART5 clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x00 10. " UART4 ,UART4 clock gate control" "Disabled,Enabled" endif endif line.long 0x04 "SCGC2,System Clock Gating Control Register 2" sif cpuis("MK5?D*10") bitfld.long 0x04 13. " DAC1 ,DAC1 clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x04 12. " DAC0 ,DAC0 clock gate control" "Disabled,Enabled" sif (!(cpuis("MK51D*10")||cpuis("MK50D*"))) textline " " bitfld.long 0x04 0. " ENET ,ENET clock gate control" "Disabled,Enabled" endif line.long 0x08 "SCGC3,System Clock Gating Control Register 3" sif cpuis("MK51D*")||cpuis("MK53D*") bitfld.long 0x08 30. " SLCD ,SLCD clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x08 27. " ADC1 ,ADC1 clock gate control" "Disabled,Enabled" bitfld.long 0x08 24. " FTM2 ,FTM2 clock gate control" "Disabled,Enabled" sif cpuis("MK5?D*10") sif (!(cpuis("MK51DX256CLK10")||cpuis("MK50D*7"))) textline " " bitfld.long 0x08 17. " SDHC ,SDHC clock gate control" "Disabled,Enabled" endif endif sif !cpuis("MK50D*7")&&!cpuis("MK50D*CLK10") textline " " bitfld.long 0x08 12. " SPI2 ,DSPI2 clock gate control" "Disabled,Enabled" endif sif cpuis("MK52D*")||cpuis("MK53D*") textline " " bitfld.long 0x08 0. " RNGA ,RNGA clock gate control" "Disabled,Enabled" endif line.long 0x0C "SCGC4,System Clock Gating Control Register 4" sif cpuis("MK5?D*10") bitfld.long 0x0C 28. " LLWU ,LLWU clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x0C 20. " VREF ,VREF clock gate control" "Disabled,Enabled" bitfld.long 0x0C 19. " CMP ,Comparator clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x0C 18. " USBOTG ,USB clock gate control" "Disabled,Enabled" textline " " sif !cpuis("MK5?D*CLH7") bitfld.long 0x0C 13. " UART3 ,UART3 clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x0C 12. " UART2 ,UART2 clock gate control" "Disabled,Enabled" bitfld.long 0x0C 11. " UART1 ,UART1 clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x0C 10. " UART0 ,UART0 clock gate control" "Disabled,Enabled" bitfld.long 0x0C 7. " I2C1 ,I2C1 clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x0C 6. " I2C0 ,I2C0 clock gate control" "Disabled,Enabled" bitfld.long 0x0C 2. " CMT ,CMT clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x0C 1. " EWM ,EWM clock gate control" "Disabled,Enabled" line.long 0x10 "SCGC5,System Clock Gating Control Register 5" bitfld.long 0x10 13. " PORTE ,Port E clock gate control" "Disabled,Enabled" bitfld.long 0x10 12. " PORTD ,Port D clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x10 11. " PORTC ,Port C clock gate control" "Disabled,Enabled" bitfld.long 0x10 10. " PORTB ,Port B clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x10 9. " PORTA ,Port A clock gate control" "Disabled,Enabled" bitfld.long 0x10 5. " TSI ,TSI clock gate control" "Disabled,Enabled" textline " " sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.long 0x10 1. " REGFILE ,Register file clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x10 0. " LPTMR ,Low power timer access control" "Disabled,Enabled" line.long 0x14 "SCGC6,System Clock Gating Control Register 6" bitfld.long 0x14 29. " RTC ,RTC access control" "Disabled,Enabled" bitfld.long 0x14 27. " ADC0 ,ADC0 clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x14 25. " FTM1 ,FTM1 clock gate control" "Disabled,Enabled" bitfld.long 0x14 24. " FTM0 ,FTM0 clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x14 23. " PIT ,PIT clock gate control" "Disabled,Enabled" bitfld.long 0x14 22. " PDB ,PDB clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x14 21. " USBDCD ,USB DCD clock gate control" "Disabled,Enabled" bitfld.long 0x14 18. " CRC ,CRC clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x14 15. " I2S ,I2S clock gate control" "Disabled,Enabled" bitfld.long 0x14 13. " SPI1 ,DSPI1 clock gate control" "Disabled,Enabled" textline " " bitfld.long 0x14 12. " SPI0 ,DSPI0 clock gate control" "Disabled,Enabled" textline " " sif (!(cpuis("MK5?D*"))) bitfld.long 0x14 4. " FLEXCAN0 ,FlexCAN0 clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x14 1. " DMAMUX0 ,DMA mux 0 clock gate control" "Disabled,Enabled" bitfld.long 0x14 0. " FTFL ,Flash memory clock gate control" "Disabled,Enabled" line.long 0x18 "SCGC7,System Clock Gating Control Register 7" sif cpuis("MK5?D*10") bitfld.long 0x18 2. " MPU ,MPU clock gate control" "Disabled,Enabled" textline " " endif bitfld.long 0x18 1. " DMA ,DMA clock gate control" "Disabled,Enabled" sif cpuis("MK5?DX*")||cpuis("MK53DN*")||cpuis("MK52D*")||cpuis("MK50DN*10") sif (!(cpuis("MK51DX*"))) textline " " bitfld.long 0x18 0. " FLEXBUS ,FlexBus clock gate control" "Disabled,Enabled" endif endif sif cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10") textline " " bitfld.long 0x18 0. " FLEXBUS ,FlexBus clock gate control" "Disabled,Enabled" endif textline " " line.long 0x1C "CLKDIV1,System Clock Divider Register 1" bitfld.long 0x1C 28.--31. " OUTDIV1 ,Clock 1 output divider value" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" bitfld.long 0x1C 24.--27. " OUTDIV2 ,Clock 2 output divider value" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" textline " " sif (!(cpuis("MK51D*"))) bitfld.long 0x1C 20.--23. " OUTDIV3 ,Clock 3 output divider value" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" textline " " elif (cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")) bitfld.long 0x1C 20.--23. " OUTDIV3 ,Clock 3 output divider value" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" textline " " endif bitfld.long 0x1C 16.--19. " OUTDIV4 ,Clock 4 output divider value" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) if (((per.l(ad:0x40048000+0x3C)&0x8000)==0x8000)) group.long 0x48++0x03 line.long 0x00 "CLKDIV2,System Clock Divider Register 2" bitfld.long 0x00 1.--3. " USBDIV ,USB clock divider divisor" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0. " USBFRAC ,USB clock divider fraction" "0,1" else group.long 0x48++0x03 line.long 0x00 "CLKDIV2,System Clock Divider Register 2" hexmask.long.word 0x00 20.--31. 1. " I2SDIV ,I2S clock divider value" hexmask.long.byte 0x00 8.--15. 1. " I2SFRAC ,I2S clock divider fraction" textline " " bitfld.long 0x00 1.--3. " USBDIV ,USB clock divider divisor" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0. " USBFRAC ,USB clock divider fraction" "0,1" endif else group.long 0x48++0x03 line.long 0x00 "CLKDIV2,System Clock Divider Register 2" bitfld.long 0x00 1.--3. " USBDIV ,USB clock divider divisor" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0. " USBFRAC ,USB clock divider fraction" "0,1" endif sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")) rgroup.long 0x4C++0x03 line.long 0x00 "FCFG1,Flash Configuration Register 1" bitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,,,,,128 KB,,256 KB,,512 KB,,,,512 KB" bitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" ",,4 KB,2 KB,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" textline " " elif cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK53DX256ZCLQ10") rgroup.long 0x4C++0x03 line.long 0x00 "FCFG1,Flash Configuration Register 1" sif cpu()==("MK50DX256ZCLL10")||cpu()==("MK53DX256ZCLQ10")||cpu()==("MK51DX256ZCMC10") bitfld.long 0x00 28.--31. " NVMSIZE ,FlexNVM memory size" "0KB,,,,,,,128 KB,,256 KB,,,,,,256 KB" bitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,,,,,128 KB,,256 KB,,512 KB,,,,256 KB" textline " " bitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" ",,4 KB,2 KB,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" bitfld.long 0x00 8.--11. " DEPART ,FlexNVM partition (Data flash / EEPROM backup split)" "256 KB,,,224 KB,192 KB,128 KB,0 KB,,0 KB,,,32 KB,64 KB,128 KB,256 KB,?..." textline " " elif cpu()==("MK50DX256ZCLQ10") bitfld.long 0x00 28.--31. " NVMSIZE ,FlexNVM memory size" "0KB,,,,,,,128 KB,,256 KB,,,,,,256 KB" bitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,,,,,128 KB,,256 KB,,512 KB,,,,256 KB" textline " " bitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" ",,4 KB,2 KB,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" endif else group.long 0x4C++0x03 line.long 0x00 "FCFG1,Flash Configuration Register 1" sif cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*10")||cpuis("MK50D*10") rbitfld.long 0x00 28.--31. " NVMSIZE ,FlexNVM memory size" "0KB,,,,,,,128 KB,,256 KB,,,,,," rbitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,,,,,128 KB,,256 KB,,512 KB,,,," textline " " rbitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" ",,4 KB,,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" rbitfld.long 0x00 8.--11. " DEPART ,FlexNVM partition (Data flash / EEPROM backup split)" ",?..." textline " " bitfld.long 0x00 1. " FLASHDOZE ,Flash Doze" "Disabled,Enabled" bitfld.long 0x00 0. " FLASHDIS ,Flash Disable" "No,Yes" textline " " elif cpuis("MK51D*7")||cpuis("MK50D*7") rbitfld.long 0x00 28.--31. " NVMSIZE ,FlexNVM memory size" "0KB,,,32 KB,,,,,,,,,,,," rbitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,,,64 KB,,128 KB,,256 KB,,,,,," textline " " rbitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" ",,,2 KB,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" bitfld.long 0x00 8.--11. " DEPART ,FlexNVM partition (Data flash / EEPROM backup split)" "32 Kbytes/No EEPROM,24 Kbyes/8 Kbytes,16 Kbytes/16 Kbytes,No data/32 Kbytes,,,,,No data/32 Kbytes,8 Kbytes/24 Kbytes,16 Kbytes/16 Kbytes,32 Kbytes/No EEPROM,,,," textline " " bitfld.long 0x00 1. " FLASHDOZE ,Flash Doze" "Disabled,Enabled" bitfld.long 0x00 0. " FLASHDIS ,Flash Disable" "No,Yes" textline " " else rbitfld.long 0x00 28.--31. " NVMSIZE ,FlexNVM memory size" "0KB,,,32 KB,,64 KB,,128 KB,,256 KB,,512 KB,,,,512 KB" rbitfld.long 0x00 24.--27. " PFSIZE ,Program flash size" ",,,32 KB,,64 KB,,128 KB,,256 KB,,512 KB,,1024 KB,,1024 KB" textline " " rbitfld.long 0x00 16.--19. " EESIZE ,EEPROM size" "16 KB,8 KB,4 KB,2 KB,1 KB,512 Bytes,256 Bytes,128 Bytes,64 Bytes,32 Bytes,,,,,,0 bytes" rbitfld.long 0x00 8.--11. " DEPART ,FlexNVM partition (Data flash / EEPROM backup split)" "256 Kbytes/ 0 bytes,248 Kbyes/8 Kbytes,240 Kbytes/16 Kbytes,224 Kbytes/32 Kbytes,192 Kbytes/64 Kbytes,128 Bytes/128 Kbytes,0 bytes/256 Kbytes,,0 bytes/256 Kbytes,8 Kbytes/248 Kbytes,16 Kbytes/240 Kbytes,32 Kbytes/224 Kbytes,64 Kbytes/192 Kbytes,128 Kbytes/128 Kbytes,256 Kbytes/0 bytes," textline " " bitfld.long 0x00 1. " FLASHDOZE ,Flash Doze" "Disabled,Enabled" bitfld.long 0x00 0. " FLASHDIS ,Flash Disable" "No,Yes" endif endif rgroup.long 0x50++0x13 line.long 0x00 "FCFG2,Flash Configuration Register 2" sif cpuis("MK50D*10")||cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*10") bitfld.long 0x00 31. " SWAPPFLSH ,Swap program flash" "Not swapped,Swapped" textline " " endif hexmask.long.byte 0x00 24.--30. 0x01 " MAXADDR0 ,Max address block 0" textline " " sif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")) bitfld.long 0x00 23. " PFLSH ,Program flash" ",Program flash" textline " " else bitfld.long 0x00 23. " PFLSH ,Program flash" "FlexNVM,Program flash" textline " " endif hexmask.long.byte 0x00 16.--22. 0x01 " MAXADDR1 ,Max address block 1" line.long 0x04 "UIDH,Unique Identification Register High" line.long 0x08 "UIDMH,Unique Identification Register Mid-High" line.long 0x0C "UIDML,Unique Identification Register Mid Low" line.long 0x10 "UIDL,Unique Identification Register Low" width 0xb tree.end sif (cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10")) tree "RCM (Reset Control Module)" base ad:0x4007F000 width 7. rgroup.byte 0x00++0x01 line.byte 0x00 "SRS0,System Reset Status Register 0" bitfld.byte 0x00 7. " POR ,Power-on reset" "Not caused,Caused" bitfld.byte 0x00 6. " PIN ,External reset pin" "Not caused,Caused" bitfld.byte 0x00 5. " WDOG ,Watchdog" "Not caused,Caused" sif cpuis("MK02*")||cpuis("MK22FN128*")||cpuis("MK60F*") newline bitfld.byte 0x00 2. " LOC ,Loss-of-clock reset" "Not caused,Caused" bitfld.byte 0x00 1. " LVD ,Low-voltage detect reset" "Not caused,Caused" bitfld.byte 0x00 0. " WAKEUP ,Low-leakage wakeup reset" "Not caused,Caused" else newline bitfld.byte 0x00 3. " LOL ,Loss-of-lock reset" "Not caused,Caused" bitfld.byte 0x00 2. " LOC ,Loss-of-clock reset" "Not caused,Caused" bitfld.byte 0x00 1. " LVD ,Low-voltage detect reset" "Not caused,Caused" newline bitfld.byte 0x00 0. " WAKEUP ,Low-leakage wakeup reset" "Not caused,Caused" endif line.byte 0x01 "SRS1,System Reset Status Register 1" sif !cpuis("MK26FN*")&&!cpuis("MK24FN*")&&!cpuis("MK22F*")&&!cpuis("MK22D*")&&!cpuis("MK20*")&&!cpuis("MK10F*")&&!cpuis("MK10D*")&&!cpuis("MK12D*")&&!cpuis("MK30D*")&&!cpuis("MK40D*")&&!cpuis("MK5?D*")&&!cpuis("MK60*")&&!cpuis("MK64F*")&&!cpuis("MK65F*")&&!cpuis("MK66F*")&&!cpuis("MK02*")&&(!cpuis("MK84FN2M0CAU15R"))&&!cpuis("MK8?FN256V*")&&!cpuis("KK22FN256CAP12R")&&!cpuis("KK22FN512CBP12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("KK26FN2M0CAC18R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MKS2?FN???V??12")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R") bitfld.byte 0x01 7. " TAMPER ,Tamper detect" "Not caused,Caused" newline endif sif cpuis("MK02*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12") bitfld.byte 0x01 5. " SACKERR ,Stop mode acknowledge error reset" "Not caused,Caused" bitfld.byte 0x01 3. " MDM_AP ,MDM-AP system reset request" "Not caused,Caused" bitfld.byte 0x01 2. " SW ,Software reset" "Not caused,Caused" newline bitfld.byte 0x01 1. " LOCKUP ,Core lockup" "Not caused,Caused" bitfld.byte 0x01 0. " JTAG ,JTAG generated reset" "Not caused,Caused" else bitfld.byte 0x01 5. " SACKERR ,Stop mode acknowledge error reset" "Not caused,Caused" bitfld.byte 0x01 4. " EZPT ,EzPort reset" "Not caused,Caused" bitfld.byte 0x01 3. " MDM_AP ,MDM-AP system reset request" "Not caused,Caused" newline bitfld.byte 0x01 2. " SW ,Software reset" "Not caused,Caused" bitfld.byte 0x01 1. " LOCKUP ,Core lockup" "Not caused,Caused" bitfld.byte 0x01 0. " JTAG ,JTAG generated reset" "Not caused,Caused" endif group.byte 0x04++0x01 line.byte 0x00 "RPFC,Reset Pin Filter Control Register" bitfld.byte 0x00 2. " RSTFLTSS ,Reset pin filter select in stop mode" "All filtering disabled,LPO clock filter enabled" newline bitfld.byte 0x00 0.--1. " RSTFLTSRW ,Reset pin filter select in run and wait modes" "All filtering disabled,Bus clock filter enabled,LPO clock filter enabled,?..." line.byte 0x01 "RPFW,Reset Pin Filter Width Register" bitfld.byte 0x01 0.--4. " RSTFLTSEL ,Selects the reset pin bus clock filter width" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x06++0x00 line.byte 0x00 "FM,Force Mode Register" bitfld.byte 0x00 1.--2. " FORCEROM ,Force ROM Boot" "No effect,Force w/ RCM_MR[1] set,Force w/ RCM_MR[2] set,Force w/ RCM_MR[2:1] set" endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x07++0x00 line.byte 0x00 "MR,Mode Register" bitfld.byte 0x00 1.--2. " BOOTROM ,Boot ROM Configuration" "Flash,BOOTCFG0,FOPT[7],BOOTCFG0 and FOPT[7]" elif !cpuis("MK02*")&&!cpuis("MKS2?FN???V??12") rgroup.byte 0x07++0x00 line.byte 0x00 "MR,Mode Register" bitfld.byte 0x00 1. " EZP_MS ,EZP_MS_B pin state" "Deasserted,Asserted" endif newline sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK02*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R") group.byte 0x08++0x01 line.byte 0x00 "SSRS0,Sticky System Reset Status Register 0" eventfld.byte 0x00 7. " SPOR ,Sticky power-on reset" "Not caused,Caused" eventfld.byte 0x00 6. " SPIN ,Sticky external reset pin" "Not caused,Caused" eventfld.byte 0x00 5. " SWDOG ,Sticky watchdog" "Not caused,Caused" sif cpuis("MK02*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN128VLH10R") newline eventfld.byte 0x00 2. " SLOC ,Sticky loss-of-clock reset" "Not caused,Caused" eventfld.byte 0x00 1. " SLVD ,Sticky low-voltage detect reset" "Not caused,Caused" eventfld.byte 0x00 0. " SWAKEUP ,Sticky low leakage wakeup reset" "Not caused,Caused" else newline eventfld.byte 0x00 3. " SLOL ,Sticky loss-of-lock reset" "Not caused,Caused" eventfld.byte 0x00 2. " SLOC ,Sticky loss-of-clock reset" "Not caused,Caused" eventfld.byte 0x00 1. " SLVD ,Sticky low-voltage detect reset" "Not caused,Caused" newline eventfld.byte 0x00 0. " SWAKEUP ,Sticky low leakage wakeup reset" "Not caused,Caused" endif line.byte 0x01 "SSRS1,Sticky System Reset Status Register 1" eventfld.byte 0x01 5. " SSACKERR ,Sticky stop mode acknowledge error reset" "Not caused,Caused" sif !cpuis("MK02*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MKS2?FN???V??12") eventfld.byte 0x01 4. " SEZPT ,Sticky EzPort reset" "Not caused,Caused" endif eventfld.byte 0x01 3. " SMDM_AP ,Sticky MDM-AP system reset request" "Not caused,Caused" eventfld.byte 0x01 2. " SSW ,Sticky software" "Not caused,Caused" newline eventfld.byte 0x01 1. " SLOCKUP ,Sticky core lockup" "Not caused,Caused" eventfld.byte 0x01 0. " SJTAG ,Sticky JTAG generated reset" "Not caused,Caused" endif width 0x0B tree.end endif tree "SMC (System Mode Controller)" base ad:0x4007E000 sif (cpuis("MK60D*AB10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK40*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("KK60DN512ZCAB10R")) width 8. rgroup.byte 0x00++0x01 line.byte 0x00 "SRSH,System Reset Status Register High" bitfld.byte 0x00 2. " SW ,Software reset" "Not caused,Caused" bitfld.byte 0x00 1. " LOCKUP ,Core-lockup reset" "Not caused,Caused" bitfld.byte 0x00 0. " JTAG ,JTAG generated reset" "Not caused,Caused" line.byte 0x01 "SRSL,System Reset Status Register Low" bitfld.byte 0x01 7. " POR ,Power-on reset" "Not caused,Caused" bitfld.byte 0x01 6. " PIN ,External reset pin" "Not caused,Caused" bitfld.byte 0x01 5. " COP ,Computer operating properly (Cop) watchdog" "Not caused,Caused" newline bitfld.byte 0x01 2. " LOC ,Loss-of-clock reset" "Not caused,Caused" bitfld.byte 0x01 1. " LVD ,Low-voltage detect reset" "Not caused,Caused" bitfld.byte 0x01 0. " WAKEUP ,Low-leakage wakeup reset" "Not caused,Caused" group.byte 0x02++0x01 line.byte 0x00 "PMPROT,Power Mode Protection Register" bitfld.byte 0x00 5. " AVLP ,Allow very low power modes" "Not allowed,Allowed" bitfld.byte 0x00 4. " ALLS ,Allow low leakage stop mode" "Not allowed,Allowed" bitfld.byte 0x00 2. " AVLLS3 ,Allow very low leakage stop 3 mode" "Not allowed,Allowed" newline bitfld.byte 0x00 1. " AVLLS2 ,Allow very low leakage stop 2 mode" "Not allowed,Allowed" bitfld.byte 0x00 0. " AVLLS1 ,Allow very low leakage stop 1 mode" "Not allowed,Allowed" line.byte 0x01 "PMCTRL,Power Mode Control Register" hexmask.byte 0x01 0.--7. 1. "PMCTRL,Power mode control" newline else width 10. group.byte 0x00++0x01 line.byte 0x00 "PMPROT,Power Mode Protection Register" sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK02*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 7. " AHSRUN ,Allow high speed run mode" "Not allowed,Allowed" newline endif bitfld.byte 0x00 5. " AVLP ,Allow very low power modes" "Not allowed,Allowed" bitfld.byte 0x00 3. " ALLS ,Allow low leakage stop mode" "Not allowed,Allowed" bitfld.byte 0x00 1. " AVLLS ,Allow very low leakage stop mode" "Not allowed,Allowed" line.byte 0x01 "PMCTRL,Power Mode Control Register" sif !cpuis("MK?0D*7")&&!cpuis("MK65F*")&&!cpuis("MK66F*")&&!cpuis("MK02*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK30DX256VLL7R") bitfld.byte 0x01 7. " LPWUI ,Low power wake up on interrupt" "Remain,Exit" newline endif sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK02*")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x01 5.--6. " RUNM ,Run mode control" "Normal,,Very low power,High speed run mode" newline elif cpuis("MK84FN2M0CAU15R") bitfld.byte 0x01 5.--6. " RUNM ,Run mode control" "Normal,,Very low power,High speed" newline else bitfld.byte 0x01 5.--6. " RUNM ,Run mode control" "Normal,,Very low power,?..." newline endif rbitfld.byte 0x01 3. " STOPA ,Stop aborted" "Not aborted,Aborted" bitfld.byte 0x01 0.--2. " STOPM ,Stop mode control" "Normal stop,,VLPS,LLS,VLLSX,?..." sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK02*")||cpuis("KK65FN2M0CAC18R") if (((per.b(ad:0x4007E000+0x01))&0x07)==0x04) sif cpuis("MK02*") group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 0.--2. " LLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." else group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 4. " RAM2PO ,RAM2 power option" "Not powered,Powered" newline bitfld.byte 0x00 0.--2. " LLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." endif elif (((per.b(ad:0x4007E000+0x01))&0x07)==0x03) sif cpuis("MK02*") group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 0.--2. " LLSM ,LLS mode control" ",,LLS2,LLS3,?..." else group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 4. " RAM2PO ,RAM2 power option" "Not powered,Powered" newline bitfld.byte 0x00 0.--2. " LLSM ,LLS mode control" ",,LLS2,LLS3,?..." endif else sif cpuis("MK02*") group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" else group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 4. " RAM2PO ,RAM2 power option" "Not powered,Powered" endif endif elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") if (((per.b(ad:0x4007E000+0x01))&0x07)==0x04) group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,Disable POR detect circuit in VLLS0 mode" "No,Yes" bitfld.byte 0x00 4. " RAM2PO ,Powering of RAM partition 2 in LLS2 or VLLS2 mode" "Not powered,Powered" bitfld.byte 0x00 3. " LPOPO ,Disable 1 kHz LPO clock in LLS/VLLSX modes" "No,Yes" newline bitfld.byte 0x00 0.--2. " LLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." elif (((per.b(ad:0x4007E000+0x01))&0x07)==0x03) group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,Disable POR detect circuit in VLLS0 mode" "No,Yes" bitfld.byte 0x00 4. " RAM2PO ,Powering of RAM partition 2 in LLS2 or VLLS2 mode" "Not powered,Powered" bitfld.byte 0x00 3. " LPOPO ,Disable 1 kHz LPO clock in LLS/VLLSX modes" "No,Yes" newline bitfld.byte 0x00 0.--2. " LLSM ,VLLS mode control" ",,LLS2,LLS3,?..." else group.byte 0x02++0x00 line.byte 0x00 "STOPCTRL,VLLS Control Register" bitfld.byte 0x00 6.--7. " PSTOPO ,Partial stop option" "STOP,PSTOP1,PSTOP2,?..." bitfld.byte 0x00 5. " PORPO ,Disable POR detect circuit in VLLS0 mode" "No,Yes" bitfld.byte 0x00 4. " RAM2PO ,Powering of RAM partition 2 in LLS2 or VLLS2 mode" "Not powered,Powered" bitfld.byte 0x00 3. " LPOPO ,Disable 1 kHz LPO clock in LLS/VLLSX modes" "No,Yes" endif elif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") if (((per.b(ad:0x4007E000+0x01))&0x07)==0x04) if (((per.b(ad:0x4007E000+0x02))&0x07)==0x00) group.byte 0x02++0x00 line.byte 0x00 "VLLSCTRL,Stop Control Register" bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." elif (((per.b(ad:0x4007E000+0x02))&0x07)==0x02) group.byte 0x02++0x00 line.byte 0x00 "VLLSCTRL,Stop Control Register" bitfld.byte 0x00 4. " RAM2PO ,RAM2 power option" "Not powered,Powered" bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." else group.byte 0x02++0x00 line.byte 0x00 "VLLSCTRL,Stop Control Register" bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." endif else hgroup.byte 0x02++0x00 hide.byte 0x00 "VLLSCTRL,VLLS Control Register" endif else if (((per.b(ad:0x4007E000+0x01))&0x07)==0x04) group.byte 0x02++0x00 line.byte 0x00 "VLLSCTRL,Stop Control Register" sif cpuis("MK10D*5")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK63F*") bitfld.byte 0x00 5. " PORPO ,POR power option" "Enabled,Disabled" newline endif sif cpuis("MK?0D*10")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK5?D*10")||cpuis("MK60D*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") bitfld.byte 0x00 4. " RAM2PO ,RAM2 power option" "Not powered,Powered" newline endif sif cpuis("MK63FN1M0VLQ12R") bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." elif cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK10F*12")||cpuis("MK5?D*")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DX256VLL7R")||cpuis("KK60FN1M0VLQ15") bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" ",VLLS1,VLLS2,VLLS3,?..." else bitfld.byte 0x00 0.--2. " VLLSM ,VLLS mode control" "VLLS0,VLLS1,VLLS2,VLLS3,?..." endif else hgroup.byte 0x02++0x00 hide.byte 0x00 "VLLSCTRL,VLLS Control Register" endif endif rgroup.byte 0x03++0x00 line.byte 0x00 "PMSTAT,Power Mode Status Register" sif !cpuis("MK65F*")&&!cpuis("MK66F*")&&!cpuis("MK02*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK63F*")&&!cpuis("MK60F*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK65FN2M0CAC18R") hexmask.byte 0x00 0.--6. 1. "PMSTAT ,PMSTAT" endif endif width 0x0B tree.end tree "PMC (Power Management Controller)" base ad:0x4007D000 width 8. group.byte 0x00++0x02 line.byte 0x00 "LVDSC1,Low Voltage Detect Status and Control 1 Register" rbitfld.byte 0x00 7. " LVDF ,Low-voltage detect flag" "Not detected,Detected" bitfld.byte 0x00 6. " LVDACK ,Low-voltage detect acknowledge" "NACK,ACK" bitfld.byte 0x00 5. " LVDIE ,Low-voltage detect interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " LVDRE ,Low-voltage detect reset enable" "Disabled,Enabled" bitfld.byte 0x00 0.--1. " LVDV ,Low-voltage detect voltage select" "Low trip,High trip,?..." line.byte 0x01 "LVDSC2,Low Voltage Detect Status and Control 2 Register" rbitfld.byte 0x01 7. " LVWF ,Low-voltage warning flag" "Not detected,Detected" bitfld.byte 0x01 6. " LVWACK ,Low-voltage warning acknowledge" "NACK,ACK" bitfld.byte 0x01 5. " LVWIE ,Low-voltage warning interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x01 0.--1. " LVWV ,Low-voltage warning voltage select" "Low trip point,Mid 1 trip point,Mid 2 trip point,High trip point" line.byte 0x02 "REGSC,Regulator Status and Control Register" sif cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK40DX*Z*10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DX256ZCMC10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x02 4. " TRAMPO ,Traditional RAM power option" "Not powered,Powered" newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK02*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x02 4. " BGEN ,Bandgap Enable In VLPx/LLS/VLLSx modes" "Disabled,Enabled" newline elif !cpuis("MK10F*12*")&&!cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK70FN1M0VMJ1*")&&!cpuis("KK60FN1M0VLQ15") bitfld.byte 0x02 4. " BGEN ,Bandgap enable" "Enabled,Disabled" newline elif cpuis("MK10DX256ZV??10*") bitfld.byte 0x02 4. " TRAMPO ,Traditional RAM power option" "Not powered,Powered" newline endif sif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("KK60DN512ZCAB10R") rbitfld.byte 0x02 3. " VLPRS ,Very low power run status" "Off,On" newline else eventfld.byte 0x02 3. " ACKISO ,Acknowledge isolation" "Disabled,Enabled" newline endif rbitfld.byte 0x02 2. " REGONS ,Regulator in run regulation status" "Stop,Run" sif cpuis("MK?0D*7") newline bitfld.byte 0x02 1. " BGBE ,Bandgap buffer enable" "Disabled,Enabled" else newline bitfld.byte 0x02 0. " BGBE ,Bandgap buffer enable" "Disabled,Enabled" endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") group.byte 0x0B++0x00 line.byte 0x00 "HVDSC1,High Voltage Detect Status And Control 1 Register" rbitfld.byte 0x00 7. " HVDF ,High-voltage detect flag" "Not detected,Detected" bitfld.byte 0x00 6. " HVDACK ,High-voltage detect acknowledge" "NACK,ACK" bitfld.byte 0x00 5. " HVDIE ,High-voltage detect interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " HVDRE ,High-voltage detect reset enable" "Disabled,Enabled" bitfld.byte 0x00 0. " HVDV ,High-voltage detect voltage select" "Low trip,High trip" endif width 0x0B tree.end tree "LLWU (Low-Leakage Wake-up Unit)" base ad:0x4007C000 width 7. sif cpuis("MK02*") sif cpuis("*LH*") group.byte 0x00++0x02 line.byte 0x00 "PE1,LLWU Pin Enable 1 Register" bitfld.byte 0x00 6.--7. " WUPE_3 ,Wakeup pin enable for LLWU_P3" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x00 0.--1. " WUPE_0 ,Wakeup pin enable for LLWU_P0" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x01 "PE2,LLWU Pin Enable 2 Register" bitfld.byte 0x01 6.--7. " WUPE_7 ,Wakeup pin enable for LLWU_P7" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 4.--5. " WUPE_6 ,Wakeup pin enable for LLWU_P6" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 2.--3. " WUPE_5 ,Wakeup pin enable for LLWU_P5" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x01 0.--1. " WUPE_4 ,Wakeup pin enable for LLWU_P4" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x02 "PE3,LLWU Pin Enable 3 Register" bitfld.byte 0x02 6.--7. " WUPE_11 ,Wakeup pin enable for LLWU_P11" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 4.--5. " WUPE_10 ,Wakeup pin enable for LLWU_P10" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 2.--3. " WUPE_9 ,Wakeup pin enable for LLWU_P9" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x02 0.--1. " WUPE_8 ,Wakeup pin enable for LLWU_P8" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" else group.byte 0x00++0x02 line.byte 0x00 "PE1,LLWU Pin Enable 1 Register" bitfld.byte 0x00 6.--7. " WUPE_3 ,Wakeup pin enable for LLWU_P3" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x01 "PE2,LLWU Pin Enable 2 Register" bitfld.byte 0x01 6.--7. " WUPE_7 ,Wakeup pin enable for LLWU_P7" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 4.--5. " WUPE_6 ,Wakeup pin enable for LLWU_P6" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 2.--3. " WUPE_5 ,Wakeup pin enable for LLWU_P5" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x02 "PE3,LLWU Pin Enable 3 Register" bitfld.byte 0x02 4.--5. " WUPE_10 ,Wakeup pin enable for LLWU_P10" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 2.--3. " WUPE_9 ,Wakeup pin enable for LLWU_P9" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 0.--1. " WUPE_8 ,Wakeup pin enable for LLWU_P8" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" endif sif cpuis("*LH*")||cpuis("*LF*") group.byte 0x03++0x00 line.byte 0x00 "PE4,LLWU Pin Enable 4 Register" bitfld.byte 0x00 6.--7. " WUPE_15 ,Wakeup pin enable for LLWU_P15" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x00 4.--5. " WUPE_14 ,Wakeup pin enable for LLWU_P14" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x00 2.--3. " WUPE_13 ,Wakeup pin enable for LLWU_P13" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x00 0.--1. " WUPE_12 ,Wakeup pin enable for LLWU_P12" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" else group.byte 0x03++0x00 line.byte 0x00 "PE4,LLWU Pin Enable 4 Register" bitfld.byte 0x00 6.--7. " WUPE_15 ,Wakeup pin enable for LLWU_P15" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x00 4.--5. " WUPE_14 ,Wakeup pin enable for LLWU_P14" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" endif textline " " group.byte 0x04++0x00 line.byte 0x00 "ME,LLWU Module Enable Register" bitfld.byte 0x00 7. " WUME_7 ,Wakeup module enable for module 7" "Disabled,Enabled" bitfld.byte 0x00 6. " WUME_6 ,Wakeup module enable for module 6" "Disabled,Enabled" bitfld.byte 0x00 5. " WUME_5 ,Wakeup module enable for module 5" "Disabled,Enabled" bitfld.byte 0x00 4. " WUME_4 ,Wakeup module enable for module 4" "Disabled,Enabled" textline " " bitfld.byte 0x00 3. " WUME_3 ,Wakeup module enable for module 3" "Disabled,Enabled" bitfld.byte 0x00 2. " WUME_2 ,Wakeup module enable for module 2" "Disabled,Enabled" bitfld.byte 0x00 1. " WUME_1 ,Wakeup module enable for module 1" "Disabled,Enabled" bitfld.byte 0x00 0. " WUME_0 ,Wakeup module enable for module 0" "Disabled,Enabled" sif cpuis("*LH*") group.byte 0x05++0x00 line.byte 0x00 "F1,LLWU Flag 1 Register" eventfld.byte 0x00 7. " WUF_7 ,Wakeup flag for LLWU_P7" "No wakeup,Wakeup" eventfld.byte 0x00 6. " WUF_6 ,Wakeup flag for LLWU_P6" "No wakeup,Wakeup" eventfld.byte 0x00 5. " WUF_5 ,Wakeup flag for LLWU_P5" "No wakeup,Wakeup" eventfld.byte 0x00 4. " WUF_4 ,Wakeup flag for LLWU_P4" "No wakeup,Wakeup" textline " " eventfld.byte 0x00 3. " WUF_3 ,Wakeup flag for LLWU_P3" "No wakeup,Wakeup" eventfld.byte 0x00 0. " WUF_0 ,Wakeup flag for LLWU_P0" "No wakeup,Wakeup" else group.byte 0x05++0x00 line.byte 0x00 "F1,LLWU Flag 1 Register" eventfld.byte 0x00 7. " WUF_7 ,Wakeup flag for LLWU_P7" "No wakeup,Wakeup" eventfld.byte 0x00 6. " WUF_6 ,Wakeup flag for LLWU_P6" "No wakeup,Wakeup" eventfld.byte 0x00 5. " WUF_5 ,Wakeup flag for LLWU_P5" "No wakeup,Wakeup" eventfld.byte 0x00 3. " WUF_3 ,Wakeup flag for LLWU_P3" "No wakeup,Wakeup" endif sif cpuis("*LH*") group.byte 0x06++0x00 line.byte 0x00 "F2,LLWU Flag 2 Register" eventfld.byte 0x00 7. " WUF_15 ,Wakeup flag for LLWU_P15" "No wakeup,Wakeup" eventfld.byte 0x00 6. " WUF_14 ,Wakeup flag for LLWU_P14" "No wakeup,Wakeup" eventfld.byte 0x00 5. " WUF_13 ,Wakeup flag for LLWU_P13" "No wakeup,Wakeup" eventfld.byte 0x00 4. " WUF_12 ,Wakeup flag for LLWU_P12" "No wakeup,Wakeup" textline " " eventfld.byte 0x00 3. " WUF_11 ,Wakeup flag for LLWU_P11" "No wakeup,Wakeup" eventfld.byte 0x00 2. " WUF_10 ,Wakeup flag for LLWU_P10" "No wakeup,Wakeup" eventfld.byte 0x00 1. " WUF_9 ,Wakeup flag for LLWU_P9" "No wakeup,Wakeup" eventfld.byte 0x00 0. " WUF_8 ,Wakeup flag for LLWU_P8" "No wakeup,Wakeup" elif cpuis("*LF*") group.byte 0x06++0x00 line.byte 0x00 "F2,LLWU Flag 2 Register" eventfld.byte 0x00 7. " WUF_15 ,Wakeup flag for LLWU_P15" "No wakeup,Wakeup" eventfld.byte 0x00 6. " WUF_14 ,Wakeup flag for LLWU_P14" "No wakeup,Wakeup" eventfld.byte 0x00 5. " WUF_13 ,Wakeup flag for LLWU_P13" "No wakeup,Wakeup" eventfld.byte 0x00 4. " WUF_12 ,Wakeup flag for LLWU_P12" "No wakeup,Wakeup" textline " " eventfld.byte 0x00 2. " WUF_10 ,Wakeup flag for LLWU_P10" "No wakeup,Wakeup" eventfld.byte 0x00 1. " WUF_9 ,Wakeup flag for LLWU_P9" "No wakeup,Wakeup" eventfld.byte 0x00 0. " WUF_8 ,Wakeup flag for LLWU_P8" "No wakeup,Wakeup" else group.byte 0x06++0x00 line.byte 0x00 "F2,LLWU Flag 2 Register" eventfld.byte 0x00 7. " WUF_15 ,Wakeup flag for LLWU_P15" "No wakeup,Wakeup" eventfld.byte 0x00 6. " WUF_14 ,Wakeup flag for LLWU_P14" "No wakeup,Wakeup" eventfld.byte 0x00 2. " WUF_10 ,Wakeup flag for LLWU_P10" "No wakeup,Wakeup" eventfld.byte 0x00 1. " WUF_9 ,Wakeup flag for LLWU_P9" "No wakeup,Wakeup" textline " " eventfld.byte 0x00 0. " WUF_8 ,Wakeup flag for LLWU_P8" "No wakeup,Wakeup" endif rgroup.byte 0x07++0x00 line.byte 0x00 "F3,LLWU Flag 3 Register" bitfld.byte 0x00 7. " MWUF_7 ,Wakeup flag for module 7" "No wakeup,Wakeup" bitfld.byte 0x00 6. " MWUF_6 ,Wakeup flag for module 6" "No wakeup,Wakeup" bitfld.byte 0x00 5. " MWUF_5 ,Wakeup flag for module 5" "No wakeup,Wakeup" bitfld.byte 0x00 4. " MWUF_4 ,Wakeup flag for module 4" "No wakeup,Wakeup" textline " " bitfld.byte 0x00 3. " MWUF_3 ,Wakeup flag for module 3" "No wakeup,Wakeup" bitfld.byte 0x00 2. " MWUF_2 ,Wakeup flag for module 2" "No wakeup,Wakeup" bitfld.byte 0x00 1. " MWUF_1 ,Wakeup flag for module 1" "No wakeup,Wakeup" bitfld.byte 0x00 0. " MWUF_0 ,Wakeup flag for module 0" "No wakeup,Wakeup" else group.byte 0x00++0x06 line.byte 0x00 "PE1,LLWU Pin Enable 1 Register" bitfld.byte 0x00 6.--7. " WUPE_3 ,Wakeup pin enable for LLWU_P3" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLH12*")&&!cpuis("MK22FN256CAH12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK22FX512AVLH12R") bitfld.byte 0x00 4.--5. " WUPE_2 ,Wakeup pin enable for LLWU_P2" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x00 2.--3. " WUPE_1 ,Wakeup pin enable for LLWU_P1" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" endif textline " " bitfld.byte 0x00 0.--1. " WUPE_0 ,Wakeup pin enable for LLWU_P0" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x01 "PE2,LLWU Pin Enable 2 Register" bitfld.byte 0x01 6.--7. " WUPE_7 ,Wakeup pin enable for LLWU_P7" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 4.--5. " WUPE_6 ,Wakeup pin enable for LLWU_P6" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x01 2.--3. " WUPE_5 ,Wakeup pin enable for LLWU_P5" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x01 0.--1. " WUPE_4 ,Wakeup pin enable for LLWU_P4" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x02 "PE3,LLWU Pin Enable 3 Register" bitfld.byte 0x02 6.--7. " WUPE_11 ,Wakeup pin enable for LLWU_P11" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 4.--5. " WUPE_10 ,Wakeup pin enable for LLWU_P10" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x02 2.--3. " WUPE_9 ,Wakeup pin enable for LLWU_P9" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x02 0.--1. " WUPE_8 ,Wakeup pin enable for LLWU_P8" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" line.byte 0x03 "PE4,LLWU Pin Enable 4 Register" bitfld.byte 0x03 6.--7. " WUPE_15 ,Wakeup pin enable for LLWU_P15" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x03 4.--5. " WUPE_14 ,Wakeup pin enable for LLWU_P14" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" bitfld.byte 0x03 2.--3. " WUPE_13 ,Wakeup pin enable for LLWU_P13" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " bitfld.byte 0x03 0.--1. " WUPE_12 ,Wakeup pin enable for LLWU_P12" "Disabled as wakeup,Enabled with rising edge,Enabled with falling edge,Enabled with any change" textline " " line.byte 0x04 "ME,LLWU Module Enable Register" bitfld.byte 0x04 7. " WUME_7 ,Wakeup module enable for module 7" "Disabled,Enabled" textline " " sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK20DN32VEX5")&&!cpuis("MK20DN64VEX5")&&!cpuis("MK20DN128VEX5")&&!cpuis("MK20DX32VEX5")&&!cpuis("MK20DX64VEX5")&&!cpuis("MK20DX128VEX5")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") bitfld.byte 0x04 6. " WUME_6 ,Wakeup module enable for module 6" "Disabled,Enabled" textline " " endif bitfld.byte 0x04 5. " WUME_5 ,Wakeup module enable for module 5" "Disabled,Enabled" textline " " sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FX512AVLH12R") bitfld.byte 0x04 4. " WUME_4 ,Wakeup module enable for module 4" "Disabled,Enabled" textline " " endif sif !cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK20DN32VEX5")&&!cpuis("MK20DN64VEX5")&&!cpuis("MK20DN128VEX5")&&!cpuis("MK20DX32VEX5")&&!cpuis("MK20DX64VEX5")&&!cpuis("MK20DX128VEX5")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R") bitfld.byte 0x04 3. " WUME_3 ,Wakeup module enable for module 3" "Disabled,Enabled" textline " " endif bitfld.byte 0x04 2. " WUME_2 ,Wakeup module enable for module 2" "Disabled,Enabled" bitfld.byte 0x04 1. " WUME_1 ,Wakeup module enable for module 1" "Disabled,Enabled" bitfld.byte 0x04 0. " WUME_0 ,Wakeup module enable for module 0" "Disabled,Enabled" line.byte 0x05 "F1,LLWU Flag 1 Register" eventfld.byte 0x05 7. " WUF_7 ,Wakeup flag for LLWU_P7" "No wakeup,Wakeup" eventfld.byte 0x05 6. " WUF_6 ,Wakeup flag for LLWU_P6" "No wakeup,Wakeup" eventfld.byte 0x05 5. " WUF_5 ,Wakeup flag for LLWU_P5" "No wakeup,Wakeup" eventfld.byte 0x05 4. " WUF_4 ,Wakeup flag for LLWU_P4" "No wakeup,Wakeup" textline " " eventfld.byte 0x05 3. " WUF_3 ,Wakeup flag for LLWU_P3" "No wakeup,Wakeup" textline " " sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLH12*")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK22FX512AVLH12R") eventfld.byte 0x05 2. " WUF_2 ,Wakeup flag for LLWU_P2" "No wakeup,Wakeup" eventfld.byte 0x05 1. " WUF_1 ,Wakeup flag for LLWU_P1" "No wakeup,Wakeup" textline " " endif eventfld.byte 0x05 0. " WUF_0 ,Wakeup flag for LLWU_P0" "No wakeup,Wakeup" line.byte 0x06 "F2,LLWU Flag 2 Register" eventfld.byte 0x06 7. " WUF_15 ,Wakeup flag for LLWU_P15" "No wakeup,Wakeup" eventfld.byte 0x06 6. " WUF_14 ,Wakeup flag for LLWU_P14" "No wakeup,Wakeup" eventfld.byte 0x06 5. " WUF_13 ,Wakeup flag for LLWU_P13" "No wakeup,Wakeup" eventfld.byte 0x06 4. " WUF_12 ,Wakeup flag for LLWU_P12" "No wakeup,Wakeup" textline " " eventfld.byte 0x06 3. " WUF_11 ,Wakeup flag for LLWU_P11" "No wakeup,Wakeup" eventfld.byte 0x06 2. " WUF_10 ,Wakeup flag for LLWU_P10" "No wakeup,Wakeup" eventfld.byte 0x06 1. " WUF_9 ,Wakeup flag for LLWU_P9" "No wakeup,Wakeup" eventfld.byte 0x06 0. " WUF_8 ,Wakeup flag for LLWU_P8" "No wakeup,Wakeup" sif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*"))||cpuis("MK40D*Z*10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")||cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10") group.byte 0x07++0x00 line.byte 0x00 "F3,LLWU Flag 3 Register" eventfld.byte 0x00 7. " MWUF_7 ,Wakeup flag for module 7" "No wakeup,Wakeup" textline " " sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") rbitfld.byte 0x00 6. " MWUF_6 ,Wakeup flag for module 6" "No wakeup,Wakeup" textline " " endif rbitfld.byte 0x00 5. " MWUF_5 ,Wakeup flag for module 5" "No wakeup,Wakeup" rbitfld.byte 0x00 4. " MWUF_4 ,Wakeup flag for module 4" "No wakeup,Wakeup" rbitfld.byte 0x00 3. " MWUF_3 ,Wakeup flag for module 3" "No wakeup,Wakeup" textline " " rbitfld.byte 0x00 2. " MWUF_2 ,Wakeup flag for module 2" "No wakeup,Wakeup" rbitfld.byte 0x00 1. " MWUF_1 ,Wakeup flag for module 1" "No wakeup,Wakeup" rbitfld.byte 0x00 0. " MWUF_0 ,Wakeup flag for module 0" "No wakeup,Wakeup" else rgroup.byte 0x07++0x00 line.byte 0x00 "F3,LLWU Flag 3 Register" bitfld.byte 0x00 7. " MWUF_7 ,Wakeup flag for module 7" "No wakeup,Wakeup" textline " " sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK20DN32VEX5")&&!cpuis("MK20DN64VEX5")&&!cpuis("MK20DN128VEX5")&&!cpuis("MK20DX32VEX5")&&!cpuis("MK20DX64VEX5")&&!cpuis("MK20DX128VEX5")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK20DN512VLK10R") bitfld.byte 0x00 6. " MWUF_6 ,Wakeup flag for module 6" "No wakeup,Wakeup" textline " " endif bitfld.byte 0x00 5. " MWUF_5 ,Wakeup flag for module 5" "No wakeup,Wakeup" textline " " sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FX512AVLH12R") bitfld.byte 0x00 4. " MWUF_4 ,Wakeup flag for module 4" "No wakeup,Wakeup" textline " " endif sif !cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK20DN32VEX5")&&!cpuis("MK20DN64VEX5")&&!cpuis("MK20DN128VEX5")&&!cpuis("MK20DX32VEX5")&&!cpuis("MK20DX64VEX5")&&!cpuis("MK20DX128VEX5")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R")&&!cpuis("MK21DN512AVMC5R")&&!cpuis("MK21DX256AVMC5R")&&!cpuis("MK22FN128VLH10R") bitfld.byte 0x00 3. " MWUF_3 ,Wakeup flag for module 3" "No wakeup,Wakeup" textline " " endif bitfld.byte 0x00 2. " MWUF_2 ,Wakeup flag for module 2" "No wakeup,Wakeup" bitfld.byte 0x00 1. " MWUF_1 ,Wakeup flag for module 1" "No wakeup,Wakeup" bitfld.byte 0x00 0. " MWUF_0 ,Wakeup flag for module 0" "No wakeup,Wakeup" endif endif textline " " sif (cpuis("MK20D*AB10")||cpuis("MK20DN512*AB10R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R"))||cpuis("MK40D*Z*10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")||cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10") group.byte 0x08++0x00 line.byte 0x00 "CS,LLWU Control And Status Register" eventfld.byte 0x00 7. " ACKISO ,Acknowledge isolation" "Disabled,Enabled" bitfld.byte 0x00 1. " FLTEP ,Digital filter on external pin" "Disabled,Enabled" bitfld.byte 0x00 0. " FLTR ,Digital filter on RESET pin" "Disabled,Enabled" else sif cpuis("MK02*LH*") group.byte 0x08++0x01 line.byte 0x00 "FILT1,LLWU Pin Filter 1 Register" eventfld.byte 0x00 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x00 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x00 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,,,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" line.byte 0x01 "FILT2,LLWU Pin Filter 2 Register" eventfld.byte 0x01 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x01 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x01 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,,,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" elif cpuis("MK02*LF*") group.byte 0x08++0x01 line.byte 0x00 "FILT1,LLWU Pin Filter 1 Register" eventfld.byte 0x00 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x00 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x00 0.--3. " FILTSEL ,Filter pin select" ",,,LLWU_P3,,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" line.byte 0x01 "FILT2,LLWU Pin Filter 2 Register" eventfld.byte 0x01 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x01 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x01 0.--3. " FILTSEL ,Filter pin select" ",,,LLWU_P3,,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" elif cpuis("MK02*FM*") group.byte 0x08++0x01 line.byte 0x00 "FILT1,LLWU Pin Filter 1 Register" eventfld.byte 0x00 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x00 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x00 0.--3. " FILTSEL ,Filter pin select" ",,,LLWU_P3,,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,,,,LLWU_P14,LLWU_P15" line.byte 0x01 "FILT2,LLWU Pin Filter 2 Register" eventfld.byte 0x01 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x01 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" bitfld.byte 0x01 0.--3. " FILTSEL ,Filter pin select" ",,,LLWU_P3,,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,,,,LLWU_P14,LLWU_P15" else group.byte 0x08++0x01 line.byte 0x00 "FILT1,LLWU Pin Filter 1 Register" eventfld.byte 0x00 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x00 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVLH12*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN256VMP12")||cpuis("MK22FN128CAH12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN256CAH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN128VLH10R") bitfld.byte 0x00 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,,,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" else bitfld.byte 0x00 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,LLWU_P1,LLWU_P2,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" endif line.byte 0x01 "FILT2,LLWU Pin Filter 2 Register" eventfld.byte 0x01 7. " FILTF ,Filter detect flag" "No wakeup,Wakeup" bitfld.byte 0x01 5.--6. " FILTE ,Digital filter on external pin" "Disabled,Filter posedge,Filter negedge,Filter any edge" sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVLH12*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLH12*")||cpuis("MK22FN256VMP12")||cpuis("MK22FN128CAH12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN256CAH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN128VLH10R") bitfld.byte 0x01 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,,,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" else bitfld.byte 0x01 0.--3. " FILTSEL ,Filter pin select" "LLWU_P0,LLWU_P1,LLWU_P2,LLWU_P3,LLWU_P4,LLWU_P5,LLWU_P6,LLWU_P7,LLWU_P8,LLWU_P9,LLWU_P10,LLWU_P11,LLWU_P12,LLWU_P13,LLWU_P14,LLWU_P15" endif sif !cpuis("MK22FN256*")&&!cpuis("MK22FN128*")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("KK22FN256CAP12R")&&!cpuis("KK22FN512CBP12R")&&!cpuis("MK22FN512V??12*")&&!cpuis("KK22FN128CAH12R")&&!cpuis("KK22FN256CAH12R") group.byte 0x0A++0x00 line.byte 0x00 "RST,LLWU Reset Enable Register" bitfld.byte 0x00 1. " LLRSTE ,Low-leakage mode RESET enable" "Disabled,Enabled" bitfld.byte 0x00 0. " RSTFILT ,Digital filter on RESET pin" "Disabled,Enabled" endif endif endif width 0x0B tree.end tree "MCM (Miscellaneous Control Module)" base ad:0xE0080000 width 8. rgroup.word 0x08++0x03 line.word 0x00 "PLASC,Crossbar Switch (AXBS) Slave Configuration" bitfld.word 0x00 7. " ASC[7] ,Connection to the crossbar switch's slave input port 7" "Not connected,Connected" bitfld.word 0x00 6. " [6] ,Connection to the crossbar switch's slave input port 6" "Not connected,Connected" bitfld.word 0x00 5. " [5] ,Connection to the crossbar switch's slave input port 5" "Not connected,Connected" bitfld.word 0x00 4. " [4] ,Connection to the crossbar switch's slave input port 4" "Not connected,Connected" newline bitfld.word 0x00 3. " [3] ,Connection to the crossbar switch's slave input port 3" "Not connected,Connected" bitfld.word 0x00 2. " [2] ,Connection to the crossbar switch's slave input port 2" "Not connected,Connected" bitfld.word 0x00 1. " [1] ,Connection to the crossbar switch's slave input port 1" "Not connected,Connected" bitfld.word 0x00 0. " [0] ,Connection to the crossbar switch's slave input port 0" "Not connected,Connected" line.word 0x02 "PLAMC,Crossbar Switch (AXBS) Master Configuration" bitfld.word 0x02 7. " AMC[7] ,Connection to the AXBS master input port 7" "Not connected,Connected" bitfld.word 0x02 6. " [6] ,Connection to the AXBS master input port 6" "Not connected,Connected" bitfld.word 0x02 5. " [5] ,Connection to the AXBS master input port 5" "Not connected,Connected" bitfld.word 0x02 4. " [4] ,Connection to the AXBS master input port 4" "Not connected,Connected" newline bitfld.word 0x02 3. " [3] ,Connection to the AXBS master input port 3" "Not connected,Connected" bitfld.word 0x02 2. " [2] ,Connection to the AXBS master input port 2" "Not connected,Connected" bitfld.word 0x02 1. " [1] ,Connection to the AXBS master input port 1" "Not connected,Connected" bitfld.word 0x02 0. " [0] ,Connection to the AXBS master input port 0" "Not connected,Connected" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK30DX256VLL7R") group.long 0x0C++0x03 line.long 0x00 "CR,Control Register" bitfld.long 0x00 30. " SRAMLWP ,SRAM_L write protect" "Not protected,Protected" bitfld.long 0x00 28.--29. " SRAMLAP ,SRAM_L arbitration priority" "Round robin,Special round robin,Processor highest,Backdoor highest" bitfld.long 0x00 26. " SRAMUWP ,SRAM_U write protect" "Not protected,Protected" newline bitfld.long 0x00 24.--25. " SRAMUAP ,SRAM_U arbitration priority" "Round robin,Special round robin,Processor highest,Backdoor highest" elif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DN512ZVLQ10R"))||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R") group.long 0x0C++0x03 line.long 0x00 "SRAMAP,SRAM Arbitration And Protection Register" bitfld.long 0x00 30. " SRAMLWP ,SRAM_L write protect" "Not protected,Protected" bitfld.long 0x00 28.--29. " SRAMLAP ,SRAM_L arbitration priority" "Round robin,Special round robin,Processor highest,Backdoor highest" bitfld.long 0x00 26. " SRAMUWP ,SRAM_U write protect" "Not protected,Protected" newline bitfld.long 0x00 24.--25. " SRAMUAP ,SRAM_U arbitration priority" "Round robin,Special round robin,Processor highest,Backdoor highest" elif cpuis("MK10D*7")||cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK5?D*")||cpuis("MK6*")||cpuis("MK70*") group.long 0x0C++0x03 line.long 0x00 "PLACR,Platform Control Register" bitfld.long 0x00 30. " SRAMLWP ,SRAM_L write protect" "Disabled,Enabled" bitfld.long 0x00 28.--29. " SRAMLAP ,SRAM_L arbitration priority" "Round robin,Special round robin,Fixed priority (Hi),Fixed priority (Low)" bitfld.long 0x00 26. " SRAMUWP ,SRAM_U write protect" "Disabled,Enabled" newline bitfld.long 0x00 24.--25. " SRAMUAP ,SRAM_U arbitration priority" "Round robin,Special round robin,Fixed priority (Hi),Fixed priority (Low)" sif cpuis("MK61*VMJ*")||cpuis("MK70*") newline bitfld.long 0x00 20.--21. " DDRSIZE ,DDR address size translation" "Disabled,128MB,256MB,512MB" endif else group.long 0x0C++0x03 line.long 0x00 "PLACR,Platform Control Register" bitfld.long 0x00 9. " ARB ,Arbitration select" "Fixed-priority,Round-robin" endif sif cpuis("MK02*") group.long 0x10++0x03 line.long 0x00 "ISCR,Interrupt Status And Control Register" bitfld.long 0x00 31. " FIDCE ,FPU input denormal interrupt enable" "Disabled,Enabled" bitfld.long 0x00 28. " FIXCE ,FPU inexact interrupt enable" "Disabled,Enabled" bitfld.long 0x00 27. " FUFCE ,FPU underflow interrupt enable" "Disabled,Enabled" newline bitfld.long 0x00 26. " FOFCE ,FPU overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 25. " FDZCE ,FPU divide-by-zero interrupt enable" "Disabled,Enabled" bitfld.long 0x00 24. " FIOCE ,FPU invalid operation interrupt enable" "Disabled,Enabled" newline rbitfld.long 0x00 15. " FIDC ,FPU input denormal interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 12. " FIXC ,FPU inexact interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 11. " FUFC ,FPU underflow interrupt status" "Not occurred,Occurred" newline rbitfld.long 0x00 10. " FOFC ,FPU overflow interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 9. " FDZC ,FPU divide-by-zero interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 8. " FIOC ,FPU invalid operation interrupt status" "Not occurred,Occurred" group.long 0x40++0x03 line.long 0x00 "CPO,Compute Operation Control Register" bitfld.long 0x00 2. " CPOWOI ,Compute operation wakeup on interrupt" "No effect,Clr CPOREQ on int." rbitfld.long 0x00 1. " CPOACK ,Compute operation acknowledge" "Completed,Not completed" bitfld.long 0x00 0. " CPOREQ ,Compute operation request" "Not requested,Requested" elif cpuis("MK?0D*10")||cpuis("MK10F*12")||cpuis("MK5?D*10")||cpuis("MK6*")||cpuis("MK70*")||cpuis("MK10DN512ZVLK10R")||cpuis("MK10DN512ZVLL10R")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK30DN512ZVLQ10R") group.long 0x10++0x0B line.long 0x00 "ISR,Interrupt Status Register" sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") bitfld.long 0x00 31. " FIDCE ,FPU input denormal interrupt enable" "Disabled,Enabled" bitfld.long 0x00 28. " FIXCE ,FPU inexact interrupt enable" "Disabled,Enabled" bitfld.long 0x00 27. " FUFCE ,FPU underflow interrupt enable" "Disabled,Enabled" newline bitfld.long 0x00 26. " FOFCE ,FPU overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 25. " FDZCE ,FPU divide-by-zero interrupt enable" "Disabled,Enabled" bitfld.long 0x00 24. " FIOCE ,FPU invalid operation interrupt enable" "Disabled,Enabled" newline sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK65F*")&&!cpuis("MK66F*") bitfld.long 0x00 20. " CWBEE ,Cache write buffer error enable" "Disabled,Enabled" newline endif rbitfld.long 0x00 15. " FIDC ,FPU input denormal interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 12. " FIXC ,FPU inexact interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 11. " FUFC ,FPU underflow interrupt status" "Not occurred,Occurred" newline rbitfld.long 0x00 10. " FOFC ,FPU overflow interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 9. " FDZC ,FPU divide-by-zero interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 8. " FIOC ,FPU invalid operation interrupt status" "Not occurred,Occurred" newline sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK65F*")&&!cpuis("MK66F*") eventfld.long 0x00 4. " CWBER ,Cache write buffer error status" "Not occurred,Occurred" newline endif endif sif !cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK60*AB10")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30DN512ZVLQ10")&&!cpuis("MK30DX256ZVLQ10")&&!cpuis("MK30DN512ZVLQ10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZCAB10R")&&cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10")&&!cpuis("MK40D*Z*10") rbitfld.long 0x00 3. " DHREQ ,Debug halt request indicator" "Not occurred,Occurred" newline endif eventfld.long 0x00 2. " NMI ,Non-maskable interrupt pending" "Not pending,Pending" eventfld.long 0x00 1. " IRQ ,Normal interrupt pending" "Not pending,Pending" line.long 0x04 "ETBCC,ETB Counter Control Register" bitfld.long 0x04 5. " ITDIS ,ITM-to-TPIU disable" "No,Yes" bitfld.long 0x04 4. " ETDIS ,ETM-to-TPIU disable" "No,Yes" bitfld.long 0x04 3. " RLRQ ,Reload request clear" "No effect,Cleared" newline bitfld.long 0x04 1.--2. " RSPT ,Response type when the ETB count expires" "No response,Normal interrupt,NMI,Debug" bitfld.long 0x04 0. " CNTEN ,Counter enable" "Disabled,Enabled" line.long 0x08 "ETBRL,ETB Reload Register" hexmask.long.word 0x08 0.--10. 1. " RELOAD ,Byte count reload value" rgroup.long 0x1C++0x03 line.long 0x00 "ETBCNT,ETB Counter Value Register" hexmask.long.word 0x00 0.--10. 1. " COUNTER ,Byte count counter value" sif !cpuis("MK63FN1M0VLQ12R") sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") rgroup.long 0x20++0x0B line.long 0x00 "FADR,Fault Address Register" line.long 0x04 "FATR,Fault Attributes Register" bitfld.long 0x04 31. " BEOVR ,Bus error overrun" "Not occurred,Occurred" bitfld.long 0x04 8.--11. " BEMN ,Bus error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 7. " BEWT ,Bus error write" "Read,Write" newline bitfld.long 0x04 4.--5. " BESZ ,Bus error size" "8-bit,16-bit,32-bit,?..." bitfld.long 0x04 1. " BEMD ,Bus error privilege level" "User mode,Supervisor mode" bitfld.long 0x04 0. " BEDA ,Bus error access type" "Instruction,Data" line.long 0x08 "FDR,Fault Data Register" endif endif sif !cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK60*AB10")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30DN512ZVLQ10")&&!cpuis("MK30DX256ZVLQ10")&&!cpuis("MK30DN512ZVLQ10R")&&cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10") group.long 0x30++0x03 line.long 0x00 "PID,Process ID Register" hexmask.long.byte 0x00 0.--7. 1. " PID ,M0_PID and M1_PID for MPU" endif sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") group.long 0x40++0x03 line.long 0x00 "CPO,Compute Operation Control Register" bitfld.long 0x00 2. " CPOWOI ,Compute operation wakeup on interrupt" "No effect,Clr CPOREQ on int." rbitfld.long 0x00 1. " CPOACK ,Compute operation acknowledge" "Completed,Not completed" bitfld.long 0x00 0. " CPOREQ ,Compute operation request" "Not requested,Requested" endif elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15") group.long 0x10++0x03 line.long 0x00 "ISCR,Interrupt Status Register" bitfld.long 0x00 31. " FIDCE ,FPU input denormal interrupt enable" "Disabled,Enabled" bitfld.long 0x00 28. " FIXCE ,FPU inexact interrupt enable" "Disabled,Enabled" bitfld.long 0x00 27. " FUFCE ,FPU underflow interrupt enable" "Disabled,Enabled" newline bitfld.long 0x00 26. " FOFCE ,FPU overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 25. " FDZCE ,FPU divide-by-zero interrupt enable" "Disabled,Enabled" bitfld.long 0x00 24. " FIOCE ,FPU invalid operation interrupt enable" "Disabled,Enabled" newline rbitfld.long 0x00 15. " FIDC ,FPU input denormal interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 12. " FIXC ,FPU inexact interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 11. " FUFC ,FPU underflow interrupt status" "Not occurred,Occurred" newline rbitfld.long 0x00 10. " FOFC ,FPU overflow interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 9. " FDZC ,FPU divide-by-zero interrupt status" "Not occurred,Occurred" rbitfld.long 0x00 8. " FIOC ,FPU invalid operation interrupt status" "Not occurred,Occurred" sif !cpuis("MK60FN1M0VLQ15") newline rbitfld.long 0x00 6. " WABORTS_OVERRUN ,WABORTS assertion overrun" "No overrun,Overrun" rbitfld.long 0x00 5. " WABORTS ,WABORTS imprecise write fault from the TCM backdoor" "Not occurred,Occurred" else newline eventfld.long 0x00 4. " CWBER ,Cache write buffer error status" "Not occurred,Occurred" rbitfld.long 0x00 3. " DHREQ ,Debug halt request indicator" "Not requested,Initiated request" eventfld.long 0x00 2. " NMI ,Not maskable interrupt pending" "No pending,Pending" newline eventfld.long 0x00 1. " IRQ ,Normal interrupt pending" "No pending,Pending" endif sif cpuis("MK60FN1M0VLQ15") group.long 0x14++0x0B line.long 0x00 "ETBCC,ETB Counter Control Register" bitfld.long 0x00 5. " ITDIS ,ITM-to-TPIU disable" "No,Yes" bitfld.long 0x00 4. " ETDIS ,ETM-to-TPIU disable" "No,Yes" bitfld.long 0x00 3. " RLRQ ,Reload request clear" "No effect,Cleared" newline bitfld.long 0x00 1.--2. " RSPT ,Response type when the ETB count expires" "No response,Normal interrupt,NMI,Debug" bitfld.long 0x00 0. " CNTEN ,Counter enable" "Disabled,Enabled" line.long 0x04 "ETBRL,ETB Reload Register" hexmask.long.word 0x04 0.--10. 1. " RELOAD ,Byte count reload value" line.long 0x08 "ETBCNT,ETB Counter Value Register" hexmask.long.word 0x08 0.--10. 1. " COUNTER ,Byte count counter value" endif rgroup.long 0x20++0x0B line.long 0x00 "FADR,Fault Address Register" line.long 0x04 "FATR,Fault Attributes Register" bitfld.long 0x04 31. " BEOVR ,Bus error overrun" "Not occurred,Occurred" bitfld.long 0x04 8.--11. " BEMN ,Bus error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 7. " BEWT ,Bus error write" "Read,Write" newline bitfld.long 0x04 4.--5. " BESZ ,Bus error size" "8-bit,16-bit,32-bit,?..." bitfld.long 0x04 1. " BEMD ,Bus error privilege level" "User mode,Supervisor mode" bitfld.long 0x04 0. " BEDA ,Bus error access type" "Instruction,Data" line.long 0x08 "FDR,Fault Data Register" group.long 0x30++0x03 line.long 0x00 "PID,Process ID Register" hexmask.long.byte 0x00 0.--7. 1. " PID ,M0_PID and M1_PID for MPU" sif !cpuis("MK60FN1M0VLQ15") group.long 0x40++0x03 line.long 0x00 "CPO,Compute Operation Control Register" bitfld.long 0x00 2. " CPOWOI ,Compute operation wakeup on interrupt" "No effect,Clr CPOREQ on int." rbitfld.long 0x00 1. " CPOACK ,Compute operation acknowledge" "Completed,Not completed" bitfld.long 0x00 0. " CPOREQ ,Compute operation request" "Not requested,Requested" endif endif width 0x0B tree.end tree "AXBS (Crossbar Switch)" base ad:0x40004000 width 9. sif cpuis("MK26F*") group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DN512ZVLQ10") sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") if (((per.l(ad:0x40004000+0x0+0x10))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x0+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x100+0x10))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x100+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x200+0x10))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x200+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x300+0x10))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x300+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x400+0x10))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x400+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x500+0x10))&0x80000000)==0x80000000) rgroup.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 28.--30. " ETH ,Ethernet priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " USB_HS ,USB_HS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " SDHC/NFC/USB_FS ,SDHC/NFC/USB_FS priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " DMA/EzPort ,DMA/EzPort priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " ARM_CSB ,ARM core system bus priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " ARM_CCB ,ARM core code bus priority" "Highest,2,3,4,5,6,7,Lowest" else sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" endif rgroup.long (0x500+0x10)++0x03 sif !cpuis("KK60FN1M0VLQ15") line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,?..." else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else if (((per.l(ad:0x40004000+0x0+0x10))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x100+0x10))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x200+0x10))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x300+0x10))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x400+0x10))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif if (((per.l(ad:0x40004000+0x500+0x10))&0x80000000)==0x80000000) rgroup.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK60DN512ZVLQ10") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif sif !cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xD00++0x03 line.long 0x00 "MGPCR5,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xE00++0x03 line.long 0x00 "MGPCR6,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xF00++0x03 line.long 0x00 "MGPCR7,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register 0 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register 0" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register 0 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register 0" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register 1 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register 1" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register 1 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register 1" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register 2 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register 2" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register 2 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register 2" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register 3 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register 3" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register 3 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register 3" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register 0" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register 1" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register 2" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register 3" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register 0 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register 0" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register 0 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register 0" bitfld.long 0x00 31. " RO ,Read only" "Read/Write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register 1 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register 1" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register 1 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register 1" bitfld.long 0x00 31. " RO ,Read only" "Read/Write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register 2 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register 2" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register 2 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register 2" bitfld.long 0x00 31. " RO ,Read only" "Read/Write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register 3 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register 3" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register 3 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register 3" bitfld.long 0x00 31. " RO ,Read only" "Read/Write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register 4 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register 4" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register 4 Slave" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register 4" bitfld.long 0x00 31. " RO ,Read only" "Read/Write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register 0" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register 1" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register 2" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register 3" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK24F*DC12")||cpuis("MK24F*LQ12") group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif (cpuis("MK22F*LQ12")&&!cpuis("MK22FX512AVLQ12"))||cpuis("MK21F*MC12")||cpuis("MK21F*MD")||cpuis("MK21F*LQ") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DN512ZCAB10R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read Only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,,Port M4,Port M5,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xD00++0x03 line.long 0x00 "MGPCR5,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK20FN1M0VLQ12R") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,,,Port M6,?..." endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xE00++0x03 line.long 0x00 "MGPCR6,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register 0 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register 0" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register 1 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register 1" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register 2 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register 2" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register 3 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register 3" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register 4 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register 4" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register 5 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register 5" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x600++0x03 line.long 0x00 "PRS6,Priority Register 6 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x600+0x10)++0x03 line.long 0x00 "CRS6,Control Register 6" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x700++0x03 line.long 0x00 "PRS7,Priority Register 7 Slave" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x700+0x10)++0x03 line.long 0x00 "CRS7,Control Register 7" bitfld.long 0x00 31. " RO ,Read only" "Read/write,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Highest,Lowest" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin/rotating,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register 0" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register 1" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register 2" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register 3" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register 4" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xD00++0x03 line.long 0x00 "MGPCR5,Master General Purpose Control Register 5" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xE00++0x03 line.long 0x00 "MGPCR6,Master General Purpose Control Register 6" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xF00++0x03 line.long 0x00 "MGPCR7,Master General Purpose Control Register 7" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." elif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif if (((per.l(ad:0x40004000+0x10+0x500))&0x80000000)==0x80000000) rgroup.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xD00++0x03 line.long 0x00 "MGPCR5,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xE00++0x03 line.long 0x00 "MGPCR6,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xF00++0x03 line.long 0x00 "MGPCR7,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." else sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x0))&0x80000000)==0x80000000) rgroup.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x0++0x03 line.long 0x00 "PRS0,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x0+0x10)++0x03 line.long 0x00 "CRS0,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x100))&0x80000000)==0x80000000) rgroup.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x100++0x03 line.long 0x00 "PRS1,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x100+0x10)++0x03 line.long 0x00 "CRS1,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x200))&0x80000000)==0x80000000) rgroup.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x200++0x03 line.long 0x00 "PRS2,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x200+0x10)++0x03 line.long 0x00 "CRS2,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x300))&0x80000000)==0x80000000) rgroup.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x300++0x03 line.long 0x00 "PRS3,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x300+0x10)++0x03 line.long 0x00 "CRS3,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x400))&0x80000000)==0x80000000) rgroup.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x400++0x03 line.long 0x00 "PRS4,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x400+0x10)++0x03 line.long 0x00 "CRS4,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x500))&0x80000000)==0x80000000) rgroup.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x500++0x03 line.long 0x00 "PRS5,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x500+0x10)++0x03 line.long 0x00 "CRS5,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x600))&0x80000000)==0x80000000) rgroup.long 0x600++0x03 line.long 0x00 "PRS6,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x600+0x10)++0x03 line.long 0x00 "CRS6,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x600++0x03 line.long 0x00 "PRS6,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x600+0x10)++0x03 line.long 0x00 "CRS6,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x600++0x03 line.long 0x00 "PRS6,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x600+0x10)++0x03 line.long 0x00 "CRS6,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif sif cpuis("MK40D*Z*")||cpuis("MK20D????ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.l(ad:0x40004000+0x10+0x700))&0x80000000)==0x80000000) rgroup.long 0x700++0x03 line.long 0x00 "PRS7,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" rgroup.long (0x700+0x10)++0x03 line.long 0x00 "CRS7,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif else group.long 0x700++0x03 line.long 0x00 "PRS7,Priority Register Slave" sif !cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") sif !cpuis("KK26FN2M0CAC18R") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" sif !cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0*12R")&&!cpuis("MK22FX512*12R") bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" endif bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" group.long (0x700+0x10)++0x03 line.long 0x00 "CRS7,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0*12R")||cpuis("MK22FX512*12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" else bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,?..." endif endif else group.long 0x700++0x03 line.long 0x00 "PRS7,Priority Register Slave" sif cpuis("MK?0F*")||cpuis("MK?0D*7")||cpuis("MK?0D*10")||cpuis("MK5?D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK30DN512ZVLQ10R") sif cpuis("MK65F*")||cpuis("MK66F*") bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,Lowest,?..." elif !cpuis("MK20D*AB10")&&!cpuis("MK21F*")&&!cpuis("MK60D*AB10")&&!cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 28.--30. " M7 ,Master 7 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 24.--26. " M6 ,Master 6 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" elif cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 12.--14. " M3 ,Master 3 priority" "Highest,2,3,4,5,6,7,Lowest" newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,5,6,7,Lowest" bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,5,6,7,Lowest" else bitfld.long 0x00 20.--22. " M5 ,Master 5 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 16.--18. " M4 ,Master 4 priority" "Highest,2,3,4,Lowest,?..." newline bitfld.long 0x00 8.--10. " M2 ,Master 2 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 4.--6. " M1 ,Master 1 priority" "Highest,2,3,4,Lowest,?..." bitfld.long 0x00 0.--2. " M0 ,Master 0 priority" "Highest,2,3,4,Lowest,?..." endif group.long (0x700+0x10)++0x03 line.long 0x00 "CRS7,Control Register" bitfld.long 0x00 31. " RO ,Read only" "Writable,Read only" bitfld.long 0x00 30. " HLP ,Halt low priority" "Not halted,Halted" bitfld.long 0x00 8.--9. " ARB ,Arbitration mode" "Fixed,Round-robin,?..." bitfld.long 0x00 4.--5. " PCTL ,Parking control" "Master port (PARK),Last master of slave,Not parked,?..." newline bitfld.long 0x00 0.--2. " PARK ,PARK master port" "Port M0,Port M1,Port M2,Port M3,Port M4,Port M5,Port M6,Port M7" endif group.long 0x800++0x03 line.long 0x00 "MGPCR0,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0x900++0x03 line.long 0x00 "MGPCR1,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xA00++0x03 line.long 0x00 "MGPCR2,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xB00++0x03 line.long 0x00 "MGPCR3,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xC00++0x03 line.long 0x00 "MGPCR4,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xD00++0x03 line.long 0x00 "MGPCR5,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xE00++0x03 line.long 0x00 "MGPCR6,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." group.long 0xF00++0x03 line.long 0x00 "MGPCR7,Master General Purpose Control Register" bitfld.long 0x00 0.--2. " AULB ,Arbitrate on undefined length bursts" "No arbitration,Any time,After 4 beats,After 8 beats,After 16 beats,?..." endif width 0x0B tree.end sif cpuis("MK5?D*10") tree "MPU (Memory Protection Unit)" base ad:0x4000D000 width 13. group.long 0x00++0x03 line.long 0x00 "CESR,Control/Error Status Register" eventfld.long 0x00 31. " SPERR[0] ,Slave port 0 error" "No error,Error" eventfld.long 0x00 30. " SPERR[1] ,Slave port 1 error" "No error,Error" newline eventfld.long 0x00 29. " SPERR[2] ,Slave port 2 error" "No error,Error" eventfld.long 0x00 28. " SPERR[3] ,Slave port 3 error" "No error,Error" newline sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") eventfld.long 0x00 27. " SPERR[4] ,Slave port 4 error" "No error,Error" newline endif sif cpuis("MK??F*")||cpuis("KK28FN2M0CAU15R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK20DN512*AB10R")&&!cpuis("MK21F*")&&!cpuis("MK22FX512*")&&!cpuis("MK24FN*")&&!cpuis("MK26FN*")&&!cpuis("MK10F*")&&!cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK65F*")&&!cpuis("MK66F*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK65FN2M0CAC18R") eventfld.long 0x00 26. " SPERR[5] ,Slave port 5 error" "No error,Error" eventfld.long 0x00 25. " SPERR[6] ,Slave port 6 error" "No error,Error" newline sif !cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15") eventfld.long 0x00 24. " SPERR[7] ,Slave port 7 error" "No error,Error" newline endif elif cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") eventfld.long 0x00 26. " SPERR[5] ,Slave port 5 error" "No error,Error" sif !cpuis("MK63FN1M0VLQ12R") eventfld.long 0x00 25. " SPERR[6] ,Slave port 6 error" "No error,Error" newline eventfld.long 0x00 24. " SPERR[7] ,Slave port 7 error" "No error,Error" endif endif endif rbitfld.long 0x00 16.--19. " HRL ,Hardware revision level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" sif cpuis("MK70F*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") newline rbitfld.long 0x00 12.--15. " NSP ,Number of slave ports" "0,1,2,3,4,5,6,7,?..." elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12*")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15") newline rbitfld.long 0x00 12.--15. " NSP ,Number of slave ports" "0,1,2,3,4,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10") newline rbitfld.long 0x00 12.--15. " NSP ,Number of slave ports" "0,1,2,3,?..." elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18*")||cpuis("MK66FN2M0VLQ18*") rbitfld.long 0x00 12.--15. " NSP ,Number of slave ports" "0,1,2,3,4,Three MPU slave ports,?..." else newline rbitfld.long 0x00 12.--15. " NSP ,Number of slave ports" "0,1,2,3,4,5,?..." endif newline rbitfld.long 0x00 8.--11. " NRGD ,Number of region descriptors" "8,12,16,?..." bitfld.long 0x00 0. " VLD ,Valid (global enable/disable for the MPU)" "Disabled,Enabled" newline sif cpuis("MK70*") rgroup.long 0x10++0x07 line.long 0x00 "EAR0,Error Address Register" line.long 0x04 "EDR0,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x18++0x07 line.long 0x00 "EAR1,Error Address Register" line.long 0x04 "EDR1,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x20++0x07 line.long 0x00 "EAR2,Error Address Register" line.long 0x04 "EDR2,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x28++0x07 line.long 0x00 "EAR3,Error Address Register" line.long 0x04 "EDR3,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x30++0x07 line.long 0x00 "EAR4,Error Address Register" line.long 0x04 "EDR4,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x38++0x07 line.long 0x00 "EAR5,Error Address Register" line.long 0x04 "EDR5,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x40++0x07 line.long 0x00 "EAR6,Error Address Register" line.long 0x04 "EDR6,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." rgroup.long 0x48++0x07 line.long 0x00 "EAR7,Error Address Register" line.long 0x04 "EDR7,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." elif cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10") rgroup.long 0x10++0x07 line.long 0x00 "EAR0,Error Address Register" line.long 0x04 "EDR0,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x18++0x07 line.long 0x00 "EAR1,Error Address Register" line.long 0x04 "EDR1,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x20++0x07 line.long 0x00 "EAR2,Error Address Register" line.long 0x04 "EDR2,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x28++0x07 line.long 0x00 "EAR3,Error Address Register" line.long 0x04 "EDR3,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" elif cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") rgroup.long 0x10++0x07 line.long 0x00 "EAR0,Error Address Register" line.long 0x04 "EDR0,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x18++0x07 line.long 0x00 "EAR1,Error Address Register" line.long 0x04 "EDR1,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x20++0x07 line.long 0x00 "EAR2,Error Address Register" line.long 0x04 "EDR2,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x28++0x07 line.long 0x00 "EAR3,Error Address Register" line.long 0x04 "EDR3,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x30++0x07 line.long 0x00 "EAR4,Error Address Register" line.long 0x04 "EDR4,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x38++0x07 line.long 0x00 "EAR5,Error Address Register" line.long 0x04 "EDR5,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x40++0x07 line.long 0x00 "EAR6,Error Address Register" line.long 0x04 "EDR6,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long 0x10++0x07 line.long 0x00 "EAR0,Error Address Register" line.long 0x04 "EDR0,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x18++0x07 line.long 0x00 "EAR1,Error Address Register" line.long 0x04 "EDR1,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x20++0x07 line.long 0x00 "EAR2,Error Address Register" line.long 0x04 "EDR2,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x28++0x07 line.long 0x00 "EAR3,Error Address Register" line.long 0x04 "EDR3,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x30++0x07 line.long 0x00 "EAR4,Error Address Register" line.long 0x04 "EDR4,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x38++0x07 line.long 0x00 "EAR5,Error Address Register" line.long 0x04 "EDR5,Error Detail Register" hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK65FN2M0VMI18R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" else rgroup.long 0x10++0x07 line.long 0x00 "EAR0,Error Address Register" line.long 0x04 "EDR0,Error Detail Register" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15") hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif newline bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline else hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline endif bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x18++0x07 line.long 0x00 "EAR1,Error Address Register" line.long 0x04 "EDR1,Error Detail Register" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15") hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif newline bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline else hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline endif bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x20++0x07 line.long 0x00 "EAR2,Error Address Register" line.long 0x04 "EDR2,Error Detail Register" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15") hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif newline bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline else hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline endif bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x28++0x07 line.long 0x00 "EAR3,Error Address Register" line.long 0x04 "EDR3,Error Detail Register" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15") hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif newline bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline else hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline endif bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" rgroup.long 0x30++0x07 line.long 0x00 "EAR4,Error Address Register" line.long 0x04 "EDR4,Error Detail Register" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15") hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") hexmask.long.byte 0x04 8.--15. 1. " EPID ,Error process identification" endif newline bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline else hexmask.long.word 0x04 16.--31. 1. " EACD ,Error access control detail" bitfld.long 0x04 4.--7. " EMN ,Error master number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x04 1.--3. " EATTR ,Error attributes access" "User/Instruction,User/Data,Supervisor/Instruction,Supervisor/Data,?..." newline endif bitfld.long 0x04 0. " ERW ,Error read/write" "Read,Write" endif newline group.long 0x400++0x0F line.long 0x00 "RGD0_WORD0,Region Descriptor 0 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD0_WORD1,Region Descriptor 0 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD0_WORD2,Region Descriptor 0 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD0_WORD3,Region Descriptor 0 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x410++0x0F line.long 0x00 "RGD1_WORD0,Region Descriptor 1 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD1_WORD1,Region Descriptor 1 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD1_WORD2,Region Descriptor 1 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD1_WORD3,Region Descriptor 1 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x420++0x0F line.long 0x00 "RGD2_WORD0,Region Descriptor 2 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD2_WORD1,Region Descriptor 2 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD2_WORD2,Region Descriptor 2 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD2_WORD3,Region Descriptor 2 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x430++0x0F line.long 0x00 "RGD3_WORD0,Region Descriptor 3 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD3_WORD1,Region Descriptor 3 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD3_WORD2,Region Descriptor 3 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD3_WORD3,Region Descriptor 3 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x440++0x0F line.long 0x00 "RGD4_WORD0,Region Descriptor 4 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD4_WORD1,Region Descriptor 4 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD4_WORD2,Region Descriptor 4 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD4_WORD3,Region Descriptor 4 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x450++0x0F line.long 0x00 "RGD5_WORD0,Region Descriptor 5 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD5_WORD1,Region Descriptor 5 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD5_WORD2,Region Descriptor 5 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD5_WORD3,Region Descriptor 5 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x460++0x0F line.long 0x00 "RGD6_WORD0,Region Descriptor 6 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD6_WORD1,Region Descriptor 6 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD6_WORD2,Region Descriptor 6 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD6_WORD3,Region Descriptor 6 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x470++0x0F line.long 0x00 "RGD7_WORD0,Region Descriptor 7 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD7_WORD1,Region Descriptor 7 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD7_WORD2,Region Descriptor 7 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD7_WORD3,Region Descriptor 7 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x480++0x0F line.long 0x00 "RGD8_WORD0,Region Descriptor 8 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD8_WORD1,Region Descriptor 8 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD8_WORD2,Region Descriptor 8 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD8_WORD3,Region Descriptor 8 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x490++0x0F line.long 0x00 "RGD9_WORD0,Region Descriptor 9 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD9_WORD1,Region Descriptor 9 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD9_WORD2,Region Descriptor 9 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD9_WORD3,Region Descriptor 9 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x4A0++0x0F line.long 0x00 "RGD10_WORD0,Region Descriptor 10 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD10_WORD1,Region Descriptor 10 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD10_WORD2,Region Descriptor 10 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD10_WORD3,Region Descriptor 10 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x4B0++0x0F line.long 0x00 "RGD11_WORD0,Region Descriptor 11 Word 0" hexmask.long 0x00 5.--31. 0x20 " SRTADDR ,Start address" line.long 0x04 "RGD11_WORD1,Region Descriptor 11 Word 1" hexmask.long 0x04 5.--31. 0x20 " ENDADDR ,End address" line.long 0x08 "RGD11_WORD2,Region Descriptor 11 Word 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x08 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x08 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x08 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x08 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x08 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x08 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x08 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x08 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x08 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x08 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x08 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x08 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 17. " M2PE ,DMA process identifier enable" "Disabled,Enabled" bitfld.long 0x08 15.--16. " M2SM ,DMA supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,DMA user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,DMA user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,DMA user mode execute access control" "No access,Access" newline else bitfld.long 0x08 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x08 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x08 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x08 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x08 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x08 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x08 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x08 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x08 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x08 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x08 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x08 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x08 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x08 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x08 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif line.long 0x0C "RGD11_WORD3,Region Descriptor 11 Word 3" sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x0C 24.--31. 1. " PID ,Process identifier" hexmask.long.byte 0x0C 16.--23. 1. " PIDMASK ,Process identifier mask" newline endif bitfld.long 0x0C 0. " VLD ,Signals the region descriptor" "Not valid,Valid" newline group.long 0x800++0x03 line.long 0x00 "RGDAAC0,Region Descriptor Alternate Access Control 0" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x804++0x03 line.long 0x00 "RGDAAC1,Region Descriptor Alternate Access Control 1" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x808++0x03 line.long 0x00 "RGDAAC2,Region Descriptor Alternate Access Control 2" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x80C++0x03 line.long 0x00 "RGDAAC3,Region Descriptor Alternate Access Control 3" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x810++0x03 line.long 0x00 "RGDAAC4,Region Descriptor Alternate Access Control 4" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x814++0x03 line.long 0x00 "RGDAAC5,Region Descriptor Alternate Access Control 5" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x818++0x03 line.long 0x00 "RGDAAC6,Region Descriptor Alternate Access Control 6" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x81C++0x03 line.long 0x00 "RGDAAC7,Region Descriptor Alternate Access Control 7" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x820++0x03 line.long 0x00 "RGDAAC8,Region Descriptor Alternate Access Control 8" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x824++0x03 line.long 0x00 "RGDAAC9,Region Descriptor Alternate Access Control 9" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x828++0x03 line.long 0x00 "RGDAAC10,Region Descriptor Alternate Access Control 10" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif group.long 0x82C++0x03 line.long 0x00 "RGDAAC11,Region Descriptor Alternate Access Control 11" sif !cpuis("MK22FN1M0VMC10")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R") sif !cpuis("KK26FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 31. " M7RE ,Bus master 7 read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,Bus master 7 write enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " M7RE ,ENET read enable" "Disabled,Enabled" bitfld.long 0x00 30. " M7WE ,ENET write enable" "Disabled,Enabled" endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 29. " M6RE ,Bus master 6 read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,Bus master 6 write enable" "Disabled,Enabled" else bitfld.long 0x00 29. " M6RE ,USB HS read enable" "Disabled,Enabled" bitfld.long 0x00 28. " M6WE ,USB HS write enable" "Disabled,Enabled" endif newline endif sif !cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 27. " M5RE ,Bus master 5 read enable" "Disabled,Enabled" bitfld.long 0x00 26. " M5WE ,Bus master 5 write enable" "Disabled,Enabled" newline endif sif !cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 25. " M4RE ,Bus master 4 read enable" "Disabled,Enabled" bitfld.long 0x00 24. " M4WE ,Bus master 4 write enable" "Disabled,Enabled" newline endif sif !cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R") sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 23. " M3PE ,Bus master 3 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 23. " M3PE ,SDHC/NFC/USB FS identifier enable" "Disabled,Enabled" bitfld.long 0x00 21.--22. " M3SM ,SDHC/NFC/USB FS supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,SDHC/NFC/USB FS user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,SDHC/NFC/USB FS user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,SDHC/NFC/USB FS user mode execute access control" "No access,Access" newline else bitfld.long 0x00 21.--22. " M3SM ,Bus master 3 supervisor mode access control" "R/W/X,R/X,R/W,M3UM" bitfld.long 0x00 20. " M3UM[2] ,Bus master 3 user mode read access control" "No access,Access" bitfld.long 0x00 19. " M3UM[1] ,Bus master 3 user mode write access control" "No access,Access" bitfld.long 0x00 18. " M3UM[0] ,Bus master 3 user mode execute access control" "No access,Access" newline endif endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " M2PE ,Bus master 2 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M2PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M2SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M2UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M2UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M2UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 15.--16. " M2SM ,Bus master 2 supervisor mode access control" "R/W/X,R/X,R/W,M2UM" bitfld.long 0x00 14. " M2UM[2] ,Bus master 2 user mode read access control" "No access,Access" bitfld.long 0x00 13. " M2UM[1] ,Bus master 2 user mode write access control" "No access,Access" bitfld.long 0x00 12. " M2UM[0] ,Bus master 2 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 11. " M1PE ,Bus master 1 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 11. " M1PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 9.--10. " M1SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Debugger user mode execute access control" "No access,Access" newline else bitfld.long 0x00 9.--10. " M1SM ,Bus master 1 supervisor mode access control" "R/W/X,R/X,R/W,M1UM" bitfld.long 0x00 8. " M1UM[2] ,Bus master 1 user mode read access control" "No access,Access" bitfld.long 0x00 7. " M1UM[1] ,Bus master 1 user mode write access control" "No access,Access" bitfld.long 0x00 6. " M1UM[0] ,Bus master 1 user mode execute access control" "No access,Access" newline endif sif cpuis("MK?0*12")||cpuis("MK6?*12")||cpuis("MK6?*15")||cpuis("MK70*")||cpuis("MK21F*")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MKV58F1M0V??24")||cpuis("MKV58F512V??24")||cpuis("MKV56F1M0V??24")||cpuis("MKV58F512??24")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVLH12")||cpuis("MKL82Z*")||cpuis("MK60FN1M0VLQ15")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 5. " M0PE ,Bus master 0 process identifier enable" "Disabled,Enabled" newline elif cpuis("KK60FN1M0VLQ15")||cpuis("MK8?FN256V*") bitfld.long 0x00 5. " M0PE ,Debugger process identifier enable" "Disabled,Enabled" bitfld.long 0x00 3.--4. " M0SM ,Debugger supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Debugger user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Debugger user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Debugger user mode execute access control" "No access,Access" else bitfld.long 0x00 3.--4. " M0SM ,Bus master 0 supervisor mode access control" "R/W/X,R/X,R/W,M0UM" bitfld.long 0x00 2. " M0UM[2] ,Bus master 0 user mode read access control" "No access,Access" bitfld.long 0x00 1. " M0UM[1] ,Bus master 0 user mode write access control" "No access,Access" bitfld.long 0x00 0. " M0UM[0] ,Bus master 0 user mode execute access control" "No access,Access" endif width 0x0B tree.end endif tree.open "Peripheral Bridge" tree "AIPS-Lite 0" base ad:0x40000000 width 7. group.long 0x00++0x03 line.long 0x00 "MPRA,Master Privilege Register A" bitfld.long 0x00 30. " MTR0 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 29. " MTW0 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 28. " MPL0 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 26. " MTR1 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 25. " MTW1 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 24. " MPL1 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 22. " MTR2 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 21. " MTW2 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 20. " MPL2 ,Master privilege level" "Not forced,Forced" sif (!cpuis("MK30DX256VLL7*")) textline " " bitfld.long 0x00 18. " MTR3 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 17. " MTW3 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 16. " MPL3 ,Master privilege level" "Not forced,Forced" sif !cpuis("MK?0D*7") textline " " bitfld.long 0x00 14. " MTR4 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 13. " MTW4 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 12. " MPL4 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 10. " MTR5 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 9. " MTW5 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 8. " MPL5 ,Master privilege level" "Not forced,Forced" sif !cpuis("MK?0D*10*")&&!cpuis("MK60DN512ZVLQ10R") textline " " bitfld.long 0x00 6. " MTR6 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 5. " MTW6 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 4. " MPL6 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 2. " MTR7 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 1. " MTW7 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 0. " MPL7 ,Master privilege level" "Not forced,Forced" endif endif endif textline " " group.long 0x20++0x07 line.long 0x00 "PACRA,Peripheral Access Control Register" bitfld.long 0x00 30. " SP0 ,Supervisor protect (AIPS-Lite 0)" "Disabled,Enabled" bitfld.long 0x00 29. " WP0 ,Write protect (AIPS-Lite 0)" "Disabled,Enabled" bitfld.long 0x00 28. " TP0 ,Trusted protect (AIPS-Lite 0)" "Disabled,Enabled" sif !cpuis("MK11D*")&&!cpuis("MK12D*") textline " " bitfld.long 0x00 14. " SP4 ,Supervisor protect (Crossbar switch)" "Disabled,Enabled" bitfld.long 0x00 13. " WP4 ,Write protect (Crossbar switch)" "Disabled,Enabled" bitfld.long 0x00 12. " TP4 ,Trusted protect (Crossbar switch)" "Disabled,Enabled" endif line.long 0x04 "PACRB,Peripheral Access Control Register" bitfld.long 0x04 30. " SP8 ,Supervisor protect (DMA Controller)" "Disabled,Enabled" bitfld.long 0x04 29. " WP8 ,Write protect (DMA Controller)" "Disabled,Enabled" bitfld.long 0x04 28. " TP8 ,Trusted protect (DMA Controller)" "Disabled,Enabled" textline " " bitfld.long 0x04 26. " SP9 ,Supervisor protect (DMA controller transfer control descriptors)" "Disabled,Enabled" bitfld.long 0x04 25. " WP9 ,Write protect (DMA controller transfer control descriptors)" "Disabled,Enabled" bitfld.long 0x04 24. " TP9 ,Trusted protect (DMA controller transfer control descriptors)" "Disabled,Enabled" sif cpuis("MK10D*7")||cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*VLQ10")||cpuis("MK30D*VMD10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK40D*VLQ10")||cpuis("MK40D*VMD10")||cpuis("MK52D*")||cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10")||cpuis("MK50D*")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10") sif !cpuis("MK40*ZVLL10") textline " " bitfld.long 0x04 14. " SP12 ,Supervisor protect (Flexbus)" "Disabled,Enabled" bitfld.long 0x04 13. " WP12 ,Write protect (Flexbus)" "Disabled,Enabled" bitfld.long 0x04 12. " TP12 ,Trusted protect (Flexbus)" "Disabled,Enabled" endif endif sif cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*10")||cpuis("MK50D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK40D*10")||cpuis("MK52D*")||cpuis("MK51D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10") textline " " bitfld.long 0x04 10. " SP13 ,Supervisor protect (MPU)" "Disabled,Enabled" bitfld.long 0x04 9. " WP13 ,Write protect (MPU)" "Disabled,Enabled" bitfld.long 0x04 8. " TP13 ,Trusted protect (MPU)" "Disabled,Enabled" endif group.long 0x2C++0x03 line.long 0x00 "PACRD,Peripheral Access Control Register" bitfld.long 0x00 2. " SP31 ,Supervisor protect (Flash memory controller)" "Disabled,Enabled" bitfld.long 0x00 1. " WP31 ,Write protect (Flash memory controller)" "Disabled,Enabled" bitfld.long 0x00 0. " TP31 ,Trusted protect (Flash memory controller)" "Disabled,Enabled" group.long 0x40++0x1B line.long 0x00 "PACRE,Peripheral Access Control Register" bitfld.long 0x00 30. " SP32 ,Supervisor protect (Flash memory)" "Disabled,Enabled" bitfld.long 0x00 29. " WP32 ,Write protect (Flash memory)" "Disabled,Enabled" bitfld.long 0x00 28. " TP32 ,Trusted protect (Flash memory)" "Disabled,Enabled" textline " " bitfld.long 0x00 26. " SP33 ,Supervisor protect (DMA channel multiplexer 0)" "Disabled,Enabled" bitfld.long 0x00 25. " WP33 ,Write protect (DMA channel multiplexer 0)" "Disabled,Enabled" bitfld.long 0x00 24. " TP33 ,Trusted protect (DMA channel multiplexer 0)" "Disabled,Enabled" sif cpuis("MK70*")||cpuis("MK10FN1M0VLQ12")||cpuis("MK10FN1M0VMD12")||cpuis("MK10FX512VLQ12")||cpuis("MK10FX512VMD12")||cpuis("MK6?F*") textline " " bitfld.long 0x00 22. " SP34 ,Supervisor protect (DMA channel multiplexer 1)" "Disabled,Enabled" bitfld.long 0x00 21. " WP34 ,Write protect (DMA channel multiplexer 1)" "Disabled,Enabled" bitfld.long 0x00 20. " TP34 ,Trusted protect (DMA channel multiplexer 1)" "Disabled,Enabled" endif sif cpuis("MK10D*7")||cpuis("MK10F*12")||cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK10D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*") textline " " bitfld.long 0x00 14. " SP36 ,Supervisor protect (FlexCAN 0)" "Disabled,Enabled" bitfld.long 0x00 13. " WP36 ,Write protect (FlexCAN 0)" "Disabled,Enabled" bitfld.long 0x00 12. " TP36 ,Trusted protect (FlexCAN 0)" "Disabled,Enabled" endif line.long 0x04 "PACRF,Peripheral Access Control Register" bitfld.long 0x04 14. " SP44 ,Supervisor protect (SPI 0)" "Disabled,Enabled" bitfld.long 0x04 13. " WP44 ,Write protect (SPI 0)" "Disabled,Enabled" bitfld.long 0x04 12. " TP44 ,Trusted protect (SPI 0)" "Disabled,Enabled" sif cpuis("MK10D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK10D*7")||cpuis("MK10F*12")||cpuis("MK11D*")||cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK5?D*")||cpuis("MK6?*")||cpuis("MK70*") textline " " bitfld.long 0x04 10. " SP45 ,Supervisor protect (SPI 1)" "Disabled,Enabled" bitfld.long 0x04 9. " WP45 ,Write protect (SPI 1)" "Disabled,Enabled" bitfld.long 0x04 8. " TP45 ,Trusted protect (SPI 1)" "Disabled,Enabled" endif textline " " bitfld.long 0x04 2. " SP47 ,Supervisor protect (I2S 0)" "Disabled,Enabled" bitfld.long 0x04 1. " WP47 ,Write protect (I2S 0)" "Disabled,Enabled" bitfld.long 0x04 0. " TP47 ,Trusted protect (I2S 0)" "Disabled,Enabled" line.long 0x08 "PACRG,Peripheral Access Control Register" bitfld.long 0x08 22. " SP50 ,Supervisor protect (CRC)" "Disabled,Enabled" bitfld.long 0x08 21. " WP50 ,Write protect (CRC)" "Disabled,Enabled" bitfld.long 0x08 20. " TP50 ,Trusted protect (CRC)" "Disabled,Enabled" sif cpuis("MK6?*")||cpuis("MK70*") sif !cpuis("MK60*10") textline " " bitfld.long 0x08 14. " SP52 ,Supervisor protect (USB OTG)" "Disabled,Enabled" bitfld.long 0x08 13. " WP52 ,Write protect (USB OTG)" "Disabled,Enabled" bitfld.long 0x08 12. " TP52 ,Trusted protect (USB OTG)" "Disabled,Enabled" endif endif sif cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK40D*")||cpuis("MK5?*")||cpuis("MK6?*")||cpuis("MK70*") textline " " bitfld.long 0x08 10. " SP53 ,Supervisor protect (USB DCD)" "Disabled,Enabled" bitfld.long 0x08 9. " WP53 ,Write protect (USB DCD)" "Disabled,Enabled" bitfld.long 0x08 8. " TP53 ,Trusted protect (USB DCD)" "Disabled,Enabled" endif textline " " bitfld.long 0x08 6. " SP54 ,Supervisor protect (PDB)" "Disabled,Enabled" bitfld.long 0x08 5. " WP54 ,Write protect (PDB)" "Disabled,Enabled" bitfld.long 0x08 4. " TP54 ,Trusted protect (PDB)" "Disabled,Enabled" textline " " bitfld.long 0x08 2. " SP55 ,Supervisor protect (PIT)" "Disabled,Enabled" bitfld.long 0x08 1. " WP55 ,Write protect (PIT)" "Disabled,Enabled" bitfld.long 0x08 0. " TP55 ,Trusted protect (PIT)" "Disabled,Enabled" line.long 0x0C "PACRH,Peripheral Access Control Register" bitfld.long 0x0C 30. " SP56 ,Supervisor protect (Flex Timer FTM 0)" "Disabled,Enabled" bitfld.long 0x0C 29. " WP56 ,Write protect (Flex Timer FTM 0)" "Disabled,Enabled" bitfld.long 0x0C 28. " TP56 ,Trusted protect (Flex Timer FTM 0) " "Disabled,Enabled" textline " " bitfld.long 0x0C 26. " SP57 ,Supervisor protect (Flex Timer FTM 1)" "Disabled,Enabled" bitfld.long 0x0C 25. " WP57 ,Write protect (Flex Timer FTM 1)" "Disabled,Enabled" bitfld.long 0x0C 24. " TP57 ,Trusted protect (Flex Timer FTM 1) " "Disabled,Enabled" textline " " bitfld.long 0x0C 18. " SP59 ,Supervisor protect (ADC 0)" "Disabled,Enabled" bitfld.long 0x0C 17. " WP59 ,Write protect (ADC 0)" "Disabled,Enabled" bitfld.long 0x0C 16. " TP59 ,Trusted protect (ADC 0)" "Disabled,Enabled" sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") textline " " bitfld.long 0x0C 14. " SP60 ,Supervisor protect (ADC 2)" "Disabled,Enabled" bitfld.long 0x0C 13. " WP60 ,Write protect (ADC 2)" "Disabled,Enabled" bitfld.long 0x0C 12. " TP60 ,Trusted protect (ADC 2)" "Disabled,Enabled" endif textline " " bitfld.long 0x0C 10. " SP61 ,Supervisor protect (RTC)" "Disabled,Enabled" bitfld.long 0x0C 9. " WP61 ,Write protect (RTC)" "Disabled,Enabled" bitfld.long 0x0C 8. " TP61 ,Trusted protect (RTC)" "Disabled,Enabled" textline " " bitfld.long 0x0C 6. " SP62 ,Supervisor protect (VBAT)" "Disabled,Enabled" bitfld.long 0x0C 5. " WP62 ,Write protect (VBAT)" "Disabled,Enabled" bitfld.long 0x0C 4. " TP62 ,Trusted protect (VBAT)" "Disabled,Enabled" line.long 0x10 "PACRI,Peripheral Access Control Register" bitfld.long 0x10 30. " SP64 ,Supervisor protect (Low power Timer)" "Disabled,Enabled" bitfld.long 0x10 29. " WP64 ,Write protect (Low power Timer)" "Disabled,Enabled" bitfld.long 0x10 28. " TP64 ,Trusted protect (Low power Timer) " "Disabled,Enabled" textline " " bitfld.long 0x10 26. " SP65 ,Supervisor protect (System register)" "Disabled,Enabled" bitfld.long 0x10 25. " WP65 ,Write protect (System register)" "Disabled,Enabled" bitfld.long 0x10 24. " TP65 ,Trusted protect (System register) " "Disabled,Enabled" sif cpuis("MK61*")||cpuis("MK70*")||cpuis("MK40D*ZVLL10")||cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10") sif !cpuis("MK70FN1M0VMJ12")&&!cpuis("MK70FN1M0VMJ15") textline " " bitfld.long 0x10 22. " SP66 ,Supervisor protect (DryIce)" "Disabled,Enabled" bitfld.long 0x10 21. " WP66 ,Write protect (DryIce)" "Disabled,Enabled" bitfld.long 0x10 20. " TP66 ,Trusted protect (DryIce) " "Disabled,Enabled" textline " " bitfld.long 0x10 18. " SP67 ,Supervisor protect (DryIce secure storage)" "Disabled,Enabled" bitfld.long 0x10 17. " WP67 ,Write protect (DryIce secure storage)" "Disabled,Enabled" bitfld.long 0x10 16. " TP67 ,Trusted protect (DryIce secure storage) " "Disabled,Enabled" endif endif sif !cpuis("MK11D*")&&!cpuis("MK12D*") textline " " bitfld.long 0x10 10. " SP69 ,Supervisor protect (TSI)" "Disabled,Enabled" bitfld.long 0x10 9. " WP69 ,Write protect (TSI)" "Disabled,Enabled" bitfld.long 0x10 8. " TP69 ,Trusted protect (TSI)" "Disabled,Enabled" endif textline " " bitfld.long 0x10 2. " SP71 ,Supervisor protect (SIM low power logic)" "Disabled,Enabled" bitfld.long 0x10 1. " WP71 ,Write protect (SIM low power logic)" "Disabled,Enabled" bitfld.long 0x10 0. " TP71 ,Trusted protect (SIM low power logic) " "Disabled,Enabled" line.long 0x14 "PACRJ,Peripheral Access Control Register" bitfld.long 0x14 30. " SP72 ,Supervisor protect (SIM)" "Disabled,Enabled" bitfld.long 0x14 29. " WP72 ,Write protect (SIM)" "Disabled,Enabled" bitfld.long 0x14 28. " TP72 ,Trusted protect (SIM) " "Disabled,Enabled" textline " " bitfld.long 0x14 26. " SP73 ,Supervisor protect (Port A Control)" "Disabled,Enabled" bitfld.long 0x14 25. " WP73 ,Write protect (Port A Control)" "Disabled,Enabled" bitfld.long 0x14 24. " TP73 ,Trusted protect (Port A Control) " "Disabled,Enabled" textline " " bitfld.long 0x14 22. " SP74 ,Supervisor protect (Port B Control)" "Disabled,Enabled" bitfld.long 0x14 21. " WP74 ,Write protect (Port B Control)" "Disabled,Enabled" bitfld.long 0x14 20. " TP74 ,Trusted protect (Port B Control) " "Disabled,Enabled" textline " " bitfld.long 0x14 18. " SP75 ,Supervisor protect (Port C Control)" "Disabled,Enabled" bitfld.long 0x14 17. " WP75 ,Write protect (Port C Control)" "Disabled,Enabled" bitfld.long 0x14 16. " TP75 ,Trusted protect (Port C Control) " "Disabled,Enabled" textline " " bitfld.long 0x14 14. " SP76 ,Supervisor protect (Port D Control)" "Disabled,Enabled" bitfld.long 0x14 13. " WP76 ,Write protect (Port D Control)" "Disabled,Enabled" bitfld.long 0x14 12. " TP76 ,Trusted protect (Port D Control) " "Disabled,Enabled" textline " " bitfld.long 0x14 10. " SP77 ,Supervisor protect (Port E Control)" "Disabled,Enabled" bitfld.long 0x14 9. " WP77 ,Write protect (Port E Control)" "Disabled,Enabled" bitfld.long 0x14 8. " TP77 ,Trusted protect (Port E Control) " "Disabled,Enabled" sif cpuis("MK61*")||cpuis("MK70*")||cpuis("MK10FN1M0VLQ12")||cpuis("MK10FN1M0VMD12")||cpuis("MK10FX512VLQ12")||cpuis("MK10FX512VMD12")||cpuis("MK60F*") textline " " bitfld.long 0x14 6. " SP78 ,Supervisor protect (Port F Control)" "Disabled,Enabled" bitfld.long 0x14 5. " WP78 ,Write protect (Port F Control)" "Disabled,Enabled" bitfld.long 0x14 4. " TP78 ,Trusted protect (Port F Control) " "Disabled,Enabled" endif line.long 0x18 "PACRK,Peripheral Access Control Register" bitfld.long 0x18 22. " SP82 ,Supervisor protect (SW Watchdog)" "Disabled,Enabled" bitfld.long 0x18 21. " WP82 ,Write protect (SW Watchdog)" "Disabled,Enabled" bitfld.long 0x18 20. " TP82 ,Trusted protect (SW Watchdog) " "Disabled,Enabled" group.long 0x60++0x0F line.long 0x00 "PACRM,Peripheral Access Control Register" bitfld.long 0x00 26. " SP97 ,Supervisor protect (Ext Watchdog)" "Disabled,Enabled" bitfld.long 0x00 25. " WP97 ,Write protect (Ext Watchdog)" "Disabled,Enabled" bitfld.long 0x00 24. " TP97 ,Trusted protect (Ext Watchdog) " "Disabled,Enabled" sif !cpuis("MK11D*")&&!cpuis("MK12D*") textline " " bitfld.long 0x00 22. " SP98 ,Supervisor protect (CMT)" "Disabled,Enabled" bitfld.long 0x00 21. " WP98 ,Write protect (CMT)" "Disabled,Enabled" bitfld.long 0x00 20. " TP98 ,Trusted protect (CMT) " "Disabled,Enabled" endif textline " " bitfld.long 0x00 14. " SP100 ,Supervisor protect (MCG)" "Disabled,Enabled" bitfld.long 0x00 13. " WP100 ,Write protect (MCG)" "Disabled,Enabled" bitfld.long 0x00 12. " TP100 ,Trusted protect (MCG) " "Disabled,Enabled" textline " " bitfld.long 0x00 10. " SP101 ,Supervisor protect (OSC)" "Disabled,Enabled" bitfld.long 0x00 9. " WP101 ,Write protect (OSC)" "Disabled,Enabled" bitfld.long 0x00 8. " TP101 ,Trusted protect (OSC) " "Disabled,Enabled" textline " " bitfld.long 0x00 6. " SP102 ,Supervisor protect (I2C 0)" "Disabled,Enabled" bitfld.long 0x00 5. " WP102 ,Write protect (I2C 0)" "Disabled,Enabled" bitfld.long 0x00 4. " TP102 ,Trusted protect (I2C 0) " "Disabled,Enabled" sif cpuis("MK10D*7")||cpuis("MK10F*12")||cpuis("MK11D*")||cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK5?*")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK10D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*") textline " " bitfld.long 0x00 2. " SP103 ,Supervisor protect (I2C 1)" "Disabled,Enabled" bitfld.long 0x00 1. " WP103 ,Write protect (I2C 1)" "Disabled,Enabled" bitfld.long 0x00 0. " TP103 ,Trusted protect (I2C 1)" "Disabled,Enabled" endif line.long 0x04 "PACRN,Peripheral Access Control Register" bitfld.long 0x04 22. " SP106 ,Supervisor protect (UART 0)" "Disabled,Enabled" bitfld.long 0x04 21. " WP106 ,Write protect (UART 0)" "Disabled,Enabled" bitfld.long 0x04 20. " TP106 ,Trusted protect (UART 0) " "Disabled,Enabled" textline " " bitfld.long 0x04 18. " SP107 ,Supervisor protect (UART 1)" "Disabled,Enabled" bitfld.long 0x04 17. " WP107 ,Write protect (UART 1)" "Disabled,Enabled" bitfld.long 0x04 16. " TP107 ,Trusted protect (UART 1) " "Disabled,Enabled" textline " " bitfld.long 0x04 14. " SP108 ,Supervisor protect (UART 2)" "Disabled,Enabled" bitfld.long 0x04 13. " WP108 ,Write protect (UART 2)" "Disabled,Enabled" bitfld.long 0x04 12. " TP108 ,Trusted protect (UART 2) " "Disabled,Enabled" sif cpuis("MK10D*7")||cpuis("MK10F*12")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK5?*")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK10D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*") sif !cpuis("MK40D*VLH7")&&!cpuis("MK30D*VLH7")&&!cpuis("MK10D*VLH7")&&!cpuis("MK51D*CLH7")&&!cpuis("MK50D*CLH7") textline " " bitfld.long 0x04 10. " SP109 ,Supervisor protect (UART 3)" "Disabled,Enabled" bitfld.long 0x04 9. " WP109 ,Write protect (UART 3)" "Disabled,Enabled" bitfld.long 0x04 8. " TP109 ,Trusted protect (UART 3) " "Disabled,Enabled" endif endif line.long 0x08 "PACRO,Peripheral Access Control Register" sif cpuis("MK40D*")||cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*")||cpuis("MK50D*")||cpuis("MK60*10")||cpuis("MK6?F*")||cpuis("MK70*") bitfld.long 0x08 22. " SP114 ,Supervisor protect (USB OTG FS/LS)" "Disabled,Enabled" bitfld.long 0x08 21. " WP114 ,Write protect (USB OTG FS/LS)" "Disabled,Enabled" bitfld.long 0x08 20. " TP114 ,Trusted protect (USB OTG FS/LS) " "Disabled,Enabled" textline " " endif bitfld.long 0x08 18. " SP115 ,Supervisor protect (CMP/DAC)" "Disabled,Enabled" bitfld.long 0x08 17. " WP115 ,Write protect (CMP/DAC)" "Disabled,Enabled" bitfld.long 0x08 16. " TP115 ,Trusted protect (CMP/DAC) " "Disabled,Enabled" sif !cpuis("MK10D*VFM5") textline " " bitfld.long 0x08 14. " SP116 ,Supervisor protect (VREF)" "Disabled,Enabled" bitfld.long 0x08 13. " WP116 ,Write protect (VREF)" "Disabled,Enabled" bitfld.long 0x08 12. " TP116 ,Trusted protect (VREF) " "Disabled,Enabled" endif line.long 0x0C "PACRP,Peripheral Access Control Register" bitfld.long 0x0C 14. " SP124 ,Supervisor protect (LLWU)" "Disabled,Enabled" bitfld.long 0x0C 13. " WP124 ,Write protect (LLWU)" "Disabled,Enabled" bitfld.long 0x0C 12. " TP124 ,Trusted protect (LLWU) " "Disabled,Enabled" textline " " bitfld.long 0x0C 10. " SP125 ,Supervisor protect (PMC)" "Disabled,Enabled" bitfld.long 0x0C 9. " WP125 ,Write protect (PMC)" "Disabled,Enabled" bitfld.long 0x0C 8. " TP125 ,Trusted protect (PMC) " "Disabled,Enabled" textline " " bitfld.long 0x0C 6. " SP126 ,Supervisor protect (MC)" "Disabled,Enabled" bitfld.long 0x0C 5. " WP126 ,Write protect (MC)" "Disabled,Enabled" bitfld.long 0x0C 4. " TP126 ,Trusted protect (MC) " "Disabled,Enabled" sif !cpuis("MK60*AB10")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK40D*Z*10")&&!cpuis("MK10DN512ZVLL10*")&&!cpuis("MK10DN512ZVLQ10")&&!cpuis("MK10DN512ZVMD10")&&!cpuis("MK10DN512ZVMC10")&&!cpuis("MK10DX256ZVLQ10*")&&!cpuis("MK10DX256ZVMD10")&&cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10")&&cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10") textline " " bitfld.long 0x0C 2. " SP127 ,Supervisor protect (RCM)" "Disabled,Enabled" bitfld.long 0x0C 1. " WP127 ,Write protect (RCM)" "Disabled,Enabled" bitfld.long 0x0C 0. " TP127 ,Trusted protect (RCM) " "Disabled,Enabled" endif width 0x0B tree.end tree "AIPS-Lite 1" base ad:0x40080000 width 7. group.long 0x00++0x03 line.long 0x00 "MPRA,Master Privilege Register A" bitfld.long 0x00 30. " MTR0 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 29. " MTW0 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 28. " MPL0 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 26. " MTR1 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 25. " MTW1 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 24. " MPL1 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 22. " MTR2 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 21. " MTW2 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 20. " MPL2 ,Master privilege level" "Not forced,Forced" sif (!cpuis("MK30DX256VLL7*")) textline " " bitfld.long 0x00 18. " MTR3 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 17. " MTW3 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 16. " MPL3 ,Master privilege level" "Not forced,Forced" sif !cpuis("MK?0D*7") textline " " bitfld.long 0x00 14. " MTR4 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 13. " MTW4 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 12. " MPL4 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 10. " MTR5 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 9. " MTW5 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 8. " MPL5 ,Master privilege level" "Not forced,Forced" sif !cpuis("MK?0D*10*")&&!cpuis("MK60DN512ZVLQ10R") textline " " bitfld.long 0x00 6. " MTR6 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 5. " MTW6 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 4. " MPL6 ,Master privilege level" "Not forced,Forced" textline " " bitfld.long 0x00 2. " MTR7 ,Master trusted for read" "Not trusted,Trusted" bitfld.long 0x00 1. " MTW7 ,Master trusted for writes" "Not trusted,Trusted" bitfld.long 0x00 0. " MPL7 ,Master privilege level" "Not forced,Forced" endif endif endif textline " " group.long 0x20++0x03 line.long 0x00 "PACRA,Peripheral Access Control Register" bitfld.long 0x00 30. " SP0 ,Supervisor protect (AIPS-Lite 1)" "Disabled,Enabled" bitfld.long 0x00 29. " WP0 ,Write protect (AIPS-Lite 1)" "Disabled,Enabled" bitfld.long 0x00 28. " TP0 ,Trusted protect (AIPS-Lite 1)" "Disabled,Enabled" sif cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK40DN512VLL10")||cpuis("MK40DN512VMC10")||cpuis("MK40D*VLQ10")||cpuis("MK40D*VMD10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30D????ZVLQ*")||cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK60*10")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10") sif !cpuis("MK30DN512VLK10")&&!cpuis("MK30DN512VMB10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN512ZCLL10") group.long 0x40++0x03 line.long 0x00 "PACRE,Peripheral Access Control Register" sif cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK60*10")||cpuis("MK6?F*")||cpuis("MK70*") bitfld.long 0x00 30. " SP32 ,Supervisor protect (RNGB 1)" "Disabled,Enabled" bitfld.long 0x00 29. " WP32 ,Write protect (RNGB 1)" "Disabled,Enabled" bitfld.long 0x00 28. " TP32 ,Trusted protect (RNGB 1)" "Disabled,Enabled" endif sif cpu()!=("MK52DN512ZCLQ10")&&cpu()!=("MK52DN512ZCMD10")&&cpu()!=("MK53DN512ZCLQ10")&&cpu()!=("MK53DN512ZCMD10")&&cpu()!=("MK53DX256ZCLQ10")&&cpu()!=("MK50DN512ZCLQ10")&&cpu()!=("MK50DX256ZCLQ10")&&cpu()!=("MK50DN512ZCLL10")&&cpu()!=("MK50DX256ZCLL10")&&cpu()!=("MK51DN512ZCLL10")&&cpu()!=("MK51DN512ZCMC10")&&cpu()!=("MK51DX256ZCMC10")&&cpu()!=("MK51DN256ZCMD10")&&cpu()!=("MK51DN512ZCLQ10") bitfld.long 0x00 14. " SP36 ,Supervisor protect (FlexCAN 1)" "Disabled,Enabled" bitfld.long 0x00 13. " WP36 ,Write protect (FlexCAN 1)" "Disabled,Enabled" bitfld.long 0x00 12. " TP36 ,Trusted protect (FlexCAN 1)" "Disabled,Enabled" endif endif endif sif cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10") group.long 0x44++0x03 line.long 0x00 "PACRF,Peripheral Access Control Register" bitfld.long 0x00 14. " SP44 ,Supervisor protect (SPI 2)" "Disabled,Enabled" bitfld.long 0x00 13. " WP44 ,Write protect (SPI 2)" "Disabled,Enabled" bitfld.long 0x00 12. " TP44 ,Trusted protect (SPI 2)" "Disabled,Enabled" else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40DN512VLL10")||cpuis("MK40DN512VMC10")||cpuis("MK40D*VLQ10")||cpuis("MK40D*VMD10")||cpuis("MK40D*Z*10")||cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10")||cpu()==("MK51DN512ZCLL10")||cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpuis("MK52D*")||cpuis("MK53D*")||cpuis("MK60*10")||cpuis("MK6?F*")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK70*") sif !cpuis("MK10D*10")&&!cpuis("*VLK10") sif cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512VLL10")||cpuis("MK10D*VLQ10")||cpuis("MK10D*VMD10")||cpuis("MK10D*VMC10")||cpuis("MK10F*12")||cpuis("MK30D????ZVLQ*")||cpuis("MK30D*10")||cpuis("MK40D*Z*10")||cpuis("MK40DN512VLL10")||cpuis("MK40DN512VMC10")||cpuis("MK40D*VLQ10")||cpuis("MK40D*VMD10")||cpuis("MK50D*10")||cpuis("MK51D*CLL10")||cpuis("MK51D*CMC10")||cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10")||cpuis("MK52D*")||cpuis("MK53D*")||cpuis("MK6?*")||cpuis("MK70*") group.long 0x44++0x03 line.long 0x00 "PACRF,Peripheral Access Control Register" sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") bitfld.long 0x00 30. " SP40 ,Supervisor protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 29. " WP40 ,Write protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 28. " TP40 ,Trusted protect (NAND)" "Disabled,Enabled" textline " " bitfld.long 0x00 26. " SP41 ,Supervisor protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 25. " WP41 ,Write protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 24. " TP41 ,Trusted protect (NAND)" "Disabled,Enabled" textline " " bitfld.long 0x00 22. " SP42 ,Supervisor protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 21. " WP42 ,Write protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 20. " TP42 ,Trusted protect (NAND)" "Disabled,Enabled" textline " " bitfld.long 0x00 18. " SP43 ,Supervisor protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 17. " WP43 ,Write protect (NAND)" "Disabled,Enabled" bitfld.long 0x00 16. " TP43 ,Trusted protect (NAND)" "Disabled,Enabled" endif sif !cpuis("MK10D*10")&&!cpuis("*VLK10") sif cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512VLL10")||cpuis("MK10D*VLQ10")||cpuis("MK10D*VMD10")||cpuis("MK10D*VMC10")||cpuis("MK10F*12")||cpuis("MK30D*10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40DN512VLL10")||cpuis("MK40DN512VMC10")||cpuis("MK40D*VLQ10")||cpuis("MK40D*VMD10")||cpuis("MK40D*Z*10")||cpuis("MK50D*10")||cpuis("MK50D*10")||cpuis("MK51D*CLL10")||cpuis("MK51D*CMC10")||cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10")||cpuis("MK52D*")||cpuis("MK53D*")||cpuis("MK6?*")||cpuis("MK70*") sif !cpuis("MK30DN512VLK10")&&!cpuis("MK30DN512VMB10") textline " " bitfld.long 0x00 14. " SP44 ,Supervisor protect (SPI 2)" "Disabled,Enabled" bitfld.long 0x00 13. " WP44 ,Write protect (SPI 2)" "Disabled,Enabled" bitfld.long 0x00 12. " TP44 ,Trusted protect (SPI 2)" "Disabled,Enabled" endif endif endif sif cpuis("MK61F*VMJ12")||cpuis("MK61F*VMJ15")||cpuis("MK70*") textline " " bitfld.long 0x00 6. " SP46 ,Supervisor protect (DDR controller)" "Disabled,Enabled" bitfld.long 0x00 5. " WP46 ,Write protect (DDR controller)" "Disabled,Enabled" bitfld.long 0x00 4. " TP46 ,Trusted protect (DDR controller)" "Disabled,Enabled" endif sif cpuis("MK10FN1M0VLQ12")||cpuis("MK10FN1M0VMD12")||cpuis("MK10FX512VLQ12")||cpuis("MK10FX512VMD12")||cpuis("MK6?F*")||cpuis("MK70*") textline " " bitfld.long 0x00 2. " SP47 ,Supervisor protect (I2S 1)" "Disabled,Enabled" bitfld.long 0x00 1. " WP47 ,Write protect (I2S 1)" "Disabled,Enabled" bitfld.long 0x00 0. " TP47 ,Trusted protect (I2S 1)" "Disabled,Enabled" endif endif endif endif endif sif cpuis("MK10D*10")||cpuis("MK10F*12")||cpuis("MK30D*10")||cpuis("MK40D*10")||cpuis("MK50D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51D*CLL10")||cpuis("MK51D*CMC10")||cpuis("MK51D*10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*") group.long 0x48++0x03 line.long 0x00 "PACRG,Peripheral Access Control Register" sif !cpuis("MK50DX256CLK10") bitfld.long 0x00 26. " SP49 ,Supervisor protect (SDHC)" "Disabled,Enabled" bitfld.long 0x00 25. " WP49 ,Write protect (SDHC)" "Disabled,Enabled" bitfld.long 0x00 24. " TP49 ,Trusted protect (SDHC)" "Disabled,Enabled" endif sif cpuis("MK7*") textline " " bitfld.long 0x00 6. " SP54 ,Supervisor protect (PDB)" "Disabled,Enabled" bitfld.long 0x00 5. " WP54 ,Write protect (PDB)" "Disabled,Enabled" bitfld.long 0x00 4. " TP54 ,Trusted protect (PDB)" "Disabled,Enabled" endif endif group.long 0x4C++0x03 line.long 0x00 "PACRH,Peripheral Access Control Register" bitfld.long 0x00 30. " SP56 ,Supervisor protect (FlexTimer FTM 2)" "Disabled,Enabled" bitfld.long 0x00 29. " WP56 ,Write protect (FlexTimer FTM 2)" "Disabled,Enabled" bitfld.long 0x00 28. " TP56 ,Trusted protect (FlexTimer FTM 2)" "Disabled,Enabled" sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") textline " " bitfld.long 0x00 26. " SP57 ,Supervisor protect (FlexTimer FTM 3)" "Disabled,Enabled" bitfld.long 0x00 25. " WP57 ,Write protect (FlexTimer FTM 3)" "Disabled,Enabled" bitfld.long 0x00 24. " TP57 ,Trusted protect (FlexTimer FTM 3)" "Disabled,Enabled" endif textline " " bitfld.long 0x00 18. " SP59 ,Supervisor protect (ADC 1)" "Disabled,Enabled" bitfld.long 0x00 17. " WP59 ,Write protect (ADC 1)" "Disabled,Enabled" bitfld.long 0x00 16. " TP59 ,Trusted protect (ADC 1)" "Disabled,Enabled" sif cpuis("MK10F*12")||cpuis("MK6?F*")||cpuis("MK70*") textline " " bitfld.long 0x00 14. " SP60 ,Supervisor protect (ADC 3)" "Disabled,Enabled" bitfld.long 0x00 13. " WP60 ,Write protect (ADC 3)" "Disabled,Enabled" bitfld.long 0x00 12. " TP60 ,Trusted protect (ADC 3)" "Disabled,Enabled" endif sif cpuis("MK30D*")||cpuis("MK40D*")||cpuis("MK51*")||cpuis("MK53D*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*") textline " " bitfld.long 0x00 6. " SP62 ,Supervisor protect (LCD)" "Disabled,Enabled" bitfld.long 0x00 5. " WP62 ,Write protect (LCD)" "Disabled,Enabled" bitfld.long 0x00 4. " TP62 ,Trusted protect (LCD)" "Disabled,Enabled" endif sif (cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK60*10")||cpuis("MK6?F*")||cpuis("MK70*")) group.long 0x50++0x03 line.long 0x00 "PACRI,Peripheral Access Control Register" bitfld.long 0x00 30. " SP64 ,Supervisor protect (Ethernet MAC and IEEE 1588 timers)" "Disabled,Enabled" bitfld.long 0x00 29. " WP64 ,Write protect (Ethernet MAC and IEEE 1588 timers)" "Disabled,Enabled" bitfld.long 0x00 28. " TP64 ,Trusted protect (Ethernet MAC and IEEE 1588 timers)" "Disabled,Enabled" endif group.long 0x54++0x03 line.long 0x00 "PACRJ,Peripheral Access Control Register" bitfld.long 0x00 14. " SP76 ,Supervisor protect (DAC 0)" "Disabled,Enabled" bitfld.long 0x00 13. " WP76 ,Write protect (DAC 0)" "Disabled,Enabled" bitfld.long 0x00 12. " TP76 ,Trusted protect (DAC 0)" "Disabled,Enabled" sif cpuis("MK?0D*VMC10")||cpuis("MK?0D*VLQ10")||cpuis("MK?0D*VMD10")||cpuis("MK10F*12")||cpuis("MK50D*10")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK53D*")||cpuis("MK52D*")||cpuis("MK51DX256CLK10")||cpuis("MK51D*CLL10")||cpuis("MK51D*CMC10")||cpuis("MK60*AB10")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10") sif !cpuis("MK40*ZVLL10")&&!cpuis("MK10DN512ZVLL10*")&&!cpuis("MK10DN512ZVLQ10")&&!cpuis("MK10DN512ZVMD10")&&!cpuis("MK10DN512ZVMC10")&&!cpuis("MK10DX256ZVLQ10*")&&!cpuis("MK10DX256ZVMD10") textline " " bitfld.long 0x00 10. " SP77 ,Supervisor protect (DAC 1)" "Disabled,Enabled" bitfld.long 0x00 9. " WP77 ,Write protect (DAC 1)" "Disabled,Enabled" bitfld.long 0x00 8. " TP77 ,Trusted protect (DAC 1)" "Disabled,Enabled" endif endif sif cpuis("MK10FN1M0VLQ12")||cpuis("MK10FN1M0VMD12")||cpuis("MK10FX512VLQ12")||cpuis("MK10FX512VMD12")||cpuis("MK6?F*")||cpuis("MK70*") group.long 0x60++0x03 line.long 0x00 "PACRM,Peripheral Access Control Register" bitfld.long 0x00 10. " SP101 ,Supervisor protect (OSC1)" "Disabled,Enabled" bitfld.long 0x00 9. " WP101 ,Write protect (OSC1)" "Disabled,Enabled" bitfld.long 0x00 8. " TP101 ,Trusted protect (OSC1)" "Disabled,Enabled" endif sif cpuis("MK?0D*VLL7")||cpuis("MK?0D*VMC7")||cpuis("MK30D*VLL10")||cpuis("MK?0D*VMC10")||cpuis("MK?0D*VLQ10")||cpuis("MK?0D*VMD10")||cpuis("MK10F*12")||cpuis("MK50D*10")||cpuis("MK6?*")||cpuis("MK70*")||cpuis("MK40DN512VLL10")||cpuis("MK10DN512VLL10")||cpuis("K53D*")||cpuis("MK52D*")||cpuis("MK51D*CMC10")||cpuis("MK51D*CLQ10")||cpuis("MK51D*CMD10")||cpuis("MK51D*CLL7")||cpuis("MK51D*CMC7")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLL10*")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK40D*Z*10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK50DX256CLK10") group.long 0x64++0x03 line.long 0x00 "PACRN,Peripheral Access Control Register" bitfld.long 0x00 22. " SP106 ,Supervisor protect (UART 4)" "Disabled,Enabled" bitfld.long 0x00 21. " WP106 ,Write protect (UART 4)" "Disabled,Enabled" bitfld.long 0x00 20. " TP106 ,Trusted protect (UART 4)" "Disabled,Enabled" endif endif sif cpuis("MK?0D*VMC10")||cpuis("MK?0D*VLQ10")||cpuis("MK?0D*VMD10")||cpuis("MK10F*12")||cpuis("MK50D*CMC10")||cpuis("MK50D*CLQ10")||cpuis("MK50D*CMD10")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("K53D*")||cpuis("MK52D*")||cpuis("MK51D*CMC10")||cpuis("MK51D*10")||cpuis("MK60*AB10")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DN512ZCLL10")&&(!cpuis("MK40*ZVLL10")) textline " " bitfld.long 0x00 18. " SP107 ,Supervisor protect (UART 5)" "Disabled,Enabled" bitfld.long 0x00 17. " WP107 ,Write protect (UART 5)" "Disabled,Enabled" bitfld.long 0x00 16. " TP107 ,Trusted protect (UART 5)" "Disabled,Enabled" endif endif sif cpuis("MK5?*") group.long 0x68++0x03 line.long 0x00 "PACRO,Peripheral Access Control Register" bitfld.long 0x00 10. " SP117 ,Supervisor protect (Op-amp)" "Disabled,Enabled" bitfld.long 0x00 9. " WP117 ,Write protect (Op-amp)" "Disabled,Enabled" bitfld.long 0x00 8. " TP117 ,Trusted protect (Op-amp)" "Disabled,Enabled" group.long 0x6C++0x03 line.long 0x00 "PACRP,Peripheral Access Control Register" bitfld.long 0x00 30. " SP120 ,Supervisor protect (TRIAMP)" "Disabled,Enabled" bitfld.long 0x00 29. " WP120 ,Write protect (TRIAMP)" "Disabled,Enabled" bitfld.long 0x00 28. " TP120 ,Trusted protect (TRIAMP)" "Disabled,Enabled" endif width 0x0B tree.end tree.end tree.open "DMAMUX (Direct Memory Access Multiplexer)" tree "MUX0" base ad:0x40021000 width 22. sif cpuis("MK60F*") group.byte 0x0++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_3,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 3 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 3 trigger enable" "Disabled,Enabled" group.byte 0x1++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_2,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 2 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 2 trigger enable" "Disabled,Enabled" group.byte 0x2++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_1,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 1 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 1 trigger enable" "Disabled,Enabled" group.byte 0x3++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_0,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 0 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 0 trigger enable" "Disabled,Enabled" group.byte 0x4++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_7,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 7 enable" "Disabled,Enabled" group.byte 0x5++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_6,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 6 enable" "Disabled,Enabled" group.byte 0x6++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_5,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 5 enable" "Disabled,Enabled" group.byte 0x7++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_4,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 4 enable" "Disabled,Enabled" group.byte 0x8++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_11,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 11 enable" "Disabled,Enabled" group.byte 0x9++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_10,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 10 enable" "Disabled,Enabled" group.byte 0xA++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_9,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 9 enable" "Disabled,Enabled" group.byte 0xB++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_8,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 8 enable" "Disabled,Enabled" group.byte 0xC++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_15,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 15 enable" "Disabled,Enabled" group.byte 0xD++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_14,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 14 enable" "Disabled,Enabled" group.byte 0xE++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_13,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 13 enable" "Disabled,Enabled" group.byte 0xF++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_12,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 12 enable" "Disabled,Enabled" else group.byte 0x0++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_0,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 0 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 0 trigger enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 0 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x1++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_1,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 1 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 1 trigger enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 1 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x2++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_2,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 2 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 2 trigger enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 2 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x3++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_3,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 3 enable" "Disabled,Enabled" bitfld.byte 0x00 6. " TRIG ,DMA_0 channel 3 trigger enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 3 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x4++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_4,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 4 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 4 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x5++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_5,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 5 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 5 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x6++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_6,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 6 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 6 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x7++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_7,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 7 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 7 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x8++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_8,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 8 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 8 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0x9++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_9,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 9 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 9 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xA++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_10,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 10 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 10 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xB++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_11,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 11 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 11 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xC++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_12,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 12 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 12 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xD++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_13,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 13 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 13 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xE++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_14,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 14 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 14 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif group.byte 0xF++0x00 line.byte 0x00 "DMAMUX_0_CHCFG_15,Channel Configuration Register" bitfld.byte 0x00 7. " ENBL ,DMA_0 channel 15 enable" "Disabled,Enabled" sif cpuis("MK11*MC*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK70*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,Timer_0,Timer_1,Timer_2,Timer_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK11*LK*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,,CMP0,CMP1,,,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLK10*")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK30DN512ZVLK10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,,,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*ZVMD10")||cpuis("MK40D*ZVLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif cpuis("MK30DX256VLL7*") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpuis("MK10DN512ZVLL10*")||cpuis("MK40D*ZVLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK50DN512ZCLL10")||cpu()==("MK50DX256ZCLL10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,,,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()=="MK10DN512ZVMC10")||cpuis("MK10DX256ZV??10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpu()==("MK50DN512ZCLQ10")||cpu()==("MK50DX256ZCLQ10") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif (cpu()==("MK51DN512ZCMC10")||cpu()==("MK51DX256ZCMC10")||cpu()==("MK51DN256ZCMD10")||cpu()==("MK51DN512ZCLQ10")||cpu()==("MK52DN512ZCLQ10")||cpu()==("MK52DN512ZCMD10")||cpu()==("MK53DN512ZCLQ10")||cpu()==("MK53DN512ZCMD10")||cpu()==("MK53DX256ZCLQ10")) bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,,,I2C0,I2C1,FTM0_CH_0,FTM0_CH_1,FTM0_CH_2,FTM0_CH_3,FTM0_CH_4,FTM0_CH_5,FTM0_CH_6,FTM0_CH_7,FTM1_CH_0,FTM1_CH_1,FTM2_CH_0,FTM2_CH_1,FTM3_CH_0,FTM3_CH_1,FTM3_CH_2,FTM1_CH_3,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,FTM3_CH4,FTM3_CH5,FTM3_CH6,FTM3_CH7,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" elif CPUIS("MK20FN1M0VLQ12R") bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "Disabled,,UART0_Rx,UART0_Tx,UART1_Rx,UART1_Tx,UART2_Rx,UART2_Tx,UART3_Rx,UART3_Tx,UART4_Rx,UART4_Tx,UART5_Rx,UART5_Tx,I2S0_Rx,I2S0_Tx,SPI0_Rx,SPI0_Tx,SPI1_Rx,SPI1_Tx,SPI2_Rx,SPI2_Tx,I2C0,I2C1,FTM0_CH0,FTM0_CH1,FTM0_CH2,FTM0_CH3,FTM0_CH4,FTM0_CH5,FTM0_CH6,FTM0_CH7,FTM1_CH0,FTM1_CH1,FTM2_CH0,FTM2_CH1,,,,,ADC0,ADC1,CMP0,CMP1,CMP2,DAC0,DAC1,CMT,PDB,Port A,Port B,Port C,Port D,Port E,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled,Always enabled" else bitfld.byte 0x00 0.--5. " SOURCE ,DMA_0 channel 15 source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" endif endif width 0x0B tree.end tree.end tree "eDMA (Enhanced Direct Memory Access)" base ad:0x40008000 width 6. tree "eDMA Control and Status Registers" group.long 0x00++0x03 line.long 0x00 "CR,Control Register" sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") sif cpuis("MK22FN128VLH10R") rbitfld.long 0x00 31. " ACTIVE ,DMA active status" "Idle,Executing" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.long 0x00 31. " ACTIVE ,DMA active status" "Idle,Executing" newline endif endif bitfld.long 0x00 17. " CX ,Cancel transfer" "Not canceled,Canceled" bitfld.long 0x00 16. " ECX ,Error cancel transfer" "No error,Error" sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") newline bitfld.long 0x00 10. " GRP1PRI ,Channel group 1 priority" "0,1" bitfld.long 0x00 8. " GRP0PRI ,Channel group 0 priority" "0,1" elif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK60FN1M0VLQ15") sif !cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 10.--11. " GRP1PRI ,Channel group 1 priority" "0,1,2,3" bitfld.long 0x00 8.--9. " GRP0PRI ,Channel group 0 priority" "0,1,2,3" endif endif newline bitfld.long 0x00 7. " EMLM ,Enable minor loop mapping" "Disabled,Enabled" bitfld.long 0x00 6. " CLM ,Continuous link mode" "Through channel arbitration,Not through channel arbitration" newline bitfld.long 0x00 5. " HALT ,Halt DMA operations" "Not halted,Halted" bitfld.long 0x00 4. " HOE ,Halt on error" "Not halted,Halted" newline sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 3. " ERGA ,Enable round robin group arbitration" "Disabled,Enabled" newline endif endif bitfld.long 0x00 2. " ERCA ,Enable round robin channel arbitration" "Disabled,Enabled" bitfld.long 0x00 1. " EDBG ,Enable debug" "Disabled,Enabled" rgroup.long 0x04++0x03 line.long 0x00 "ES,Error Status Register" bitfld.long 0x00 31. " VLD ,Logical OR of all ERR status bits" "Cleared,Not cleared" bitfld.long 0x00 16. " ECX ,Transfer canceled" "Not canceled,Canceled" sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") newline bitfld.long 0x00 15. " GPE ,Group priority error" "No error,Error" endif endif sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") newline bitfld.long 0x00 14. " CPE ,Channel priority error" "No error,Error" bitfld.long 0x00 8.--12. " ERRCHN ,Error channel number or canceled channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else newline bitfld.long 0x00 14. " CPE ,Channel priority error" "No error,Error" bitfld.long 0x00 8.--11. " ERRCHN ,Error channel number or canceled channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") newline bitfld.long 0x00 14. " CPE ,Channel priority error" "No error,Error" bitfld.long 0x00 8.--9. " ERRCHN ,Error channel number or canceled channel number" "0,1,2,3" else newline bitfld.long 0x00 14. " CPE ,Channel priority error" "No error,Error" bitfld.long 0x00 8.--11. " ERRCHN ,Error channel number or canceled channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else newline bitfld.long 0x00 14. " CPE ,Channel priority error" "No error,Error" bitfld.long 0x00 8.--11. " ERRCHN ,Error channel number or canceled channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.long 0x00 7. " SAE ,Source address error" "No error,Error" bitfld.long 0x00 6. " SOE ,Source offset error" "No error,Error" newline bitfld.long 0x00 5. " DAE ,Destination address error" "No error,Error" bitfld.long 0x00 4. " DOE ,Destination offset error" "No error,Error" bitfld.long 0x00 3. " NCE ,NBYTES/CITER configuration error" "No error,Error" newline bitfld.long 0x00 2. " SGE ,Scatter/gather configuration error" "No error,Error" bitfld.long 0x00 1. " SBE ,Source bus error" "No error,Error" bitfld.long 0x00 0. " DBE ,Destination bus error" "No error,Error" group.long 0x0C++0x03 line.long 0x00 "ERQ,Enable Request Register" sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 31. " ERQ[31] ,Enable DMA request 31" "Disabled,Enabled" bitfld.long 0x00 30. " [30] ,Enable DMA request 30" "Disabled,Enabled" bitfld.long 0x00 29. " [29] ,Enable DMA request 29" "Disabled,Enabled" newline bitfld.long 0x00 28. " [28] ,Enable DMA request 28" "Disabled,Enabled" bitfld.long 0x00 27. " [27] ,Enable DMA request 27" "Disabled,Enabled" bitfld.long 0x00 26. " [26] ,Enable DMA request 26" "Disabled,Enabled" newline bitfld.long 0x00 25. " [25] ,Enable DMA request 25" "Disabled,Enabled" bitfld.long 0x00 24. " [24] ,Enable DMA request 24" "Disabled,Enabled" bitfld.long 0x00 23. " [23] ,Enable DMA request 23" "Disabled,Enabled" newline bitfld.long 0x00 22. " [22] ,Enable DMA request 22" "Disabled,Enabled" bitfld.long 0x00 21. " [21] ,Enable DMA request 21" "Disabled,Enabled" bitfld.long 0x00 20. " [20] ,Enable DMA request 20" "Disabled,Enabled" newline bitfld.long 0x00 19. " [19] ,Enable DMA request 19" "Disabled,Enabled" bitfld.long 0x00 18. " [18] ,Enable DMA request 18" "Disabled,Enabled" bitfld.long 0x00 17. " [17] ,Enable DMA request 17" "Disabled,Enabled" newline bitfld.long 0x00 16. " [16] ,Enable DMA request 16" "Disabled,Enabled" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK20FX256VLH7")||cpuis("MK20FX128VLH7")||cpuis("MK20FX64VLH7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Enable DMA request 15" "Disabled,Enabled" endif else bitfld.long 0x00 15. " ERQ[15] ,Enable DMA request 15" "Disabled,Enabled" endif newline bitfld.long 0x00 14. " [14] ,Enable DMA request 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Enable DMA request 13" "Disabled,Enabled" newline bitfld.long 0x00 12. " [12] ,Enable DMA request 12" "Disabled,Enabled" bitfld.long 0x00 11. " [11] ,Enable DMA request 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Enable DMA request 10" "Disabled,Enabled" newline bitfld.long 0x00 9. " [9] ,Enable DMA request 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Enable DMA request 8" "Disabled,Enabled" bitfld.long 0x00 7. " [7] ,Enable DMA request 7" "Disabled,Enabled" newline bitfld.long 0x00 6. " [6] ,Enable DMA request 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Enable DMA request 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Enable DMA request 4" "Disabled,Enabled" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Enable DMA request 15" "Disabled,Enabled" endif else bitfld.long 0x00 15. " ERQ[15] ,Enable DMA request 15" "Disabled,Enabled" endif newline bitfld.long 0x00 14. " [14] ,Enable DMA request 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Enable DMA request 13" "Disabled,Enabled" newline bitfld.long 0x00 12. " [12] ,Enable DMA request 12" "Disabled,Enabled" bitfld.long 0x00 11. " [11] ,Enable DMA request 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Enable DMA request 10" "Disabled,Enabled" newline bitfld.long 0x00 9. " [9] ,Enable DMA request 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Enable DMA request 8" "Disabled,Enabled" bitfld.long 0x00 7. " [7] ,Enable DMA request 7" "Disabled,Enabled" newline bitfld.long 0x00 6. " [6] ,Enable DMA request 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Enable DMA request 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Enable DMA request 4" "Disabled,Enabled" newline endif bitfld.long 0x00 3. " [3] ,Enable DMA request 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Enable DMA request 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Enable DMA request 1" "Disabled,Enabled" newline bitfld.long 0x00 0. " [0] ,Enable DMA request 0" "Disabled,Enabled" group.long 0x14++0x03 line.long 0x00 "EEI,Enable Error Interrupt Register" sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 31. " EEI[31] ,Enable error interrupt 31" "Disabled,Enabled" bitfld.long 0x00 30. " [30] ,Enable error interrupt 30" "Disabled,Enabled" bitfld.long 0x00 29. " [29] ,Enable error interrupt 29" "Disabled,Enabled" newline bitfld.long 0x00 28. " [28] ,Enable error interrupt 28" "Disabled,Enabled" bitfld.long 0x00 27. " [27] ,Enable error interrupt 27" "Disabled,Enabled" bitfld.long 0x00 26. " [26] ,Enable error interrupt 26" "Disabled,Enabled" newline bitfld.long 0x00 25. " [25] ,Enable error interrupt 25" "Disabled,Enabled" bitfld.long 0x00 24. " [24] ,Enable error interrupt 24" "Disabled,Enabled" bitfld.long 0x00 23. " [23] ,Enable error interrupt 23" "Disabled,Enabled" newline bitfld.long 0x00 22. " [22] ,Enable error interrupt 22" "Disabled,Enabled" bitfld.long 0x00 21. " [21] ,Enable error interrupt 21" "Disabled,Enabled" bitfld.long 0x00 20. " [20] ,Enable error interrupt 20" "Disabled,Enabled" newline bitfld.long 0x00 19. " [19] ,Enable error interrupt 19" "Disabled,Enabled" bitfld.long 0x00 18. " [18] ,Enable error interrupt 18" "Disabled,Enabled" bitfld.long 0x00 17. " [17] ,Enable error interrupt 17" "Disabled,Enabled" newline bitfld.long 0x00 16. " [16] ,Enable error interrupt 16" "Disabled,Enabled" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R") sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Enable error interrupt 15" "Disabled,Enabled" endif else bitfld.long 0x00 15. " EEI[15] ,Enable error interrupt 15" "Disabled,Enabled" endif newline bitfld.long 0x00 14. " [14] ,Enable error interrupt 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Enable error interrupt 13" "Disabled,Enabled" newline bitfld.long 0x00 12. " [12] ,Enable error interrupt 12" "Disabled,Enabled" bitfld.long 0x00 11. " [11] ,Enable error interrupt 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Enable error interrupt 10" "Disabled,Enabled" newline bitfld.long 0x00 9. " [9] ,Enable error interrupt 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Enable error interrupt 8" "Disabled,Enabled" bitfld.long 0x00 7. " [7] ,Enable error interrupt 7" "Disabled,Enabled" newline bitfld.long 0x00 6. " [6] ,Enable error interrupt 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Enable error interrupt 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Enable error interrupt 4" "Disabled,Enabled" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK?0F*")||cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Enable error interrupt 15" "Disabled,Enabled" endif else bitfld.long 0x00 15. " EEI[15] ,Enable error interrupt 15" "Disabled,Enabled" endif newline bitfld.long 0x00 14. " [14] ,Enable error interrupt 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Enable error interrupt 13" "Disabled,Enabled" newline bitfld.long 0x00 12. " [12] ,Enable error interrupt 12" "Disabled,Enabled" bitfld.long 0x00 11. " [11] ,Enable error interrupt 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Enable error interrupt 10" "Disabled,Enabled" newline bitfld.long 0x00 9. " [9] ,Enable error interrupt 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Enable error interrupt 8" "Disabled,Enabled" bitfld.long 0x00 7. " [7] ,Enable error interrupt 7" "Disabled,Enabled" newline bitfld.long 0x00 6. " [6] ,Enable error interrupt 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Enable error interrupt 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Enable error interrupt 4" "Disabled,Enabled" newline endif bitfld.long 0x00 3. " [3] ,Enable error interrupt 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Enable error interrupt 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Enable error interrupt 1" "Disabled,Enabled" newline bitfld.long 0x00 0. " [0] ,Enable error interrupt 0" "Disabled,Enabled" newline wgroup.byte 0x18++0x27 line.byte 0x00 "CEEI,Clear Enable Error Interrupt Register" bitfld.byte 0x00 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x00 6. " CAEE ,Clear all enable error interrupts" "CEEI only,All EEI" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 0.--4. " CEEI ,Clear enable error interrupt for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x00 0.--1. " CEEI ,Clear enable error interrupt for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 0.--3. " CEEI ,Clear enable error interrupt for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70*")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x00 4. " CEEI[4] ,Clear enable error interrupt 4 in EEI" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x00 3. " CEEI[3] ,Clear enable error interrupt 3 in EEI" "No effect,Clear" bitfld.byte 0x00 2. " CEEI[2] ,Clear enable error interrupt 2 in EEI" "No effect,Clear" newline endif bitfld.byte 0x00 1. " CEEI[1] ,Clear enable error interrupt 1 in EEI" "No effect,Clear" bitfld.byte 0x00 0. " CEEI[0] ,Clear enable error interrupt 0 in EEI" "No effect,Clear" endif line.byte 0x01 "SEEI,Set Enable Error Interrupt Register" bitfld.byte 0x01 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x01 6. " SAEE ,Sets all enable error interrupts" "SEEI only,All EEI" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x01 0.--4. " SEEI ,Set enable error interrupt for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x01 0.--1. " SEEI ,Set enable error interrupt for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x01 0.--3. " SEEI ,Set enable error interrupt for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x01 4. " SEEI[4] ,Set enable error interrupt 4 in EEI" "No effect,Set" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x01 3. " SEEI[3] ,Set enable error interrupt 3 in EEI" "No effect,Set" bitfld.byte 0x01 2. " SEEI[2] ,Set enable error interrupt 2 in EEI" "No effect,Set" newline endif bitfld.byte 0x01 1. " SEEI[1] ,Set enable error interrupt 1 in EEI" "No effect,Set" bitfld.byte 0x01 0. " SEEI[0] ,Set enable error interrupt 0 in EEI" "No effect,Set" endif line.byte 0x02 "CERQ,Clear Enable Request Register" bitfld.byte 0x02 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x02 6. " CAER ,Clear all enable requests" "CER only,ALL ER" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x02 0.--4. " CERQ ,Clear enable request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x02 0.--1. " CERQ ,Clear enable request for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x02 0.--3. " CERQ ,Clear enable request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x02 4. " CERQ[4] ,Clear enable request" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x02 3. " CERQ[3] ,Clear enable request" "No effect,Clear" bitfld.byte 0x02 2. " CERQ[2] ,Clear enable request" "No effect,Clear" newline endif bitfld.byte 0x02 1. " CERQ[1] ,Clear enable request" "No effect,Clear" bitfld.byte 0x02 0. " CERQ[0] ,Clear enable request" "No effect,Clear" endif line.byte 0x03 "SERQ,Set Enable Request Register" bitfld.byte 0x03 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x03 6. " SAER ,Set all enable requests" "SAER only,All ER" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x03 0.--4. " SERQ ,Set enable request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x03 0.--1. " SERQ ,Set enable request for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x03 0.--3. " SERQ ,Set enable request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x03 4. " SERQ[4] ,Set enable request" "No effect,Set" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x03 3. " SERQ[3] ,Set enable request" "No effect,Set" bitfld.byte 0x03 2. " SERQ[2] ,Set enable request" "No effect,Set" newline endif bitfld.byte 0x03 1. " SERQ[1] ,Set enable request" "No effect,Set" bitfld.byte 0x03 0. " SERQ[0] ,Set enable request" "No effect,Set" endif line.byte 0x04 "CDNE,Clear DONE Status Bit Register" bitfld.byte 0x04 7. " NOP ,No operation bit" "Disabled,Enabled" bitfld.byte 0x04 6. " CADN ,Clear all done bits" "CADB only,All DB" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x04 0.--4. " CDNE ,Clear done bit for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x04 0.--1. " CDNE ,Clear done bit for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x04 0.--3. " CDNE ,Clear done bit for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70*") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x04 4. " CDNE[4] ,Clear done bit" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x04 3. " CDNE[3] ,Clear done bit" "No effect,Clear" bitfld.byte 0x04 2. " CDNE[2] ,Clear done bit" "No effect,Clear" newline endif bitfld.byte 0x04 1. " CDNE[1] ,Clear done bit" "No effect,Clear" bitfld.byte 0x04 0. " CDNE[0] ,Clear done bit" "No effect,Clear" endif line.byte 0x05 "SSRT,Set START Bit Register" bitfld.byte 0x05 7. " NOP ,No operation bit" "Disabled,Enabled" bitfld.byte 0x05 6. " SAST ,Set all start bits" "SASB only,All SB" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x05 0.--4. " SSRT ,Set start bit for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x05 0.--1. " SSRT ,Set start bit for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 0.--3. " SSRT ,Set start bit for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x05 4. " SSRT[4] ,Set start bit" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x05 3. " SSRT[3] ,Set start bit" "No effect,Clear" bitfld.byte 0x05 2. " SSRT[2] ,Set start bit" "No effect,Clear" newline endif bitfld.byte 0x05 1. " SSRT[1] ,Set start bit" "No effect,Clear" bitfld.byte 0x05 0. " SSRT[0] ,Set start bit" "No effect,Clear" endif line.byte 0x06 "CERR,Clear Error Register" bitfld.byte 0x06 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x06 6. " CAEI ,Clear all error indicators" "CAEI only,ALL EI" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x06 0.--4. " CERR ,Clear error indicator for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x06 0.--1. " CERR ,Clear error indicator for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x06 0.--3. " CERR ,Clear error indicator for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x06 4. " CERR[4] ,Clear error indicator" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x06 3. " CERR[3] ,Clear error indicator" "No effect,Clear" bitfld.byte 0x06 2. " CERR[2] ,Clear error indicator" "No effect,Clear" newline endif bitfld.byte 0x06 1. " CERR[1] ,Clear error indicator" "No effect,Clear" bitfld.byte 0x06 0. " CERR[0] ,Clear error indicator" "No effect,Clear" endif line.byte 0x07 "CINT,Clear Interrupt Request Register" bitfld.byte 0x07 7. " NOP ,No operation bit" "Disable,Enable" bitfld.byte 0x07 6. " CAIR ,Clear all interrupt request" "CAIR only,All IR" newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x07 0.--4. " CINT ,Clear interrupt request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline elif cpuis("MK20DX64VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN32VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK22FN128VLH10R") bitfld.byte 0x07 0.--1. " CINT ,Clear interrupt request for DMA channel" "0,1,2,3" newline elif cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VMB7")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VEX7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x07 0.--3. " CINT ,Clear interrupt request for DMA channel" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline else sif cpuis("MK6?F*")||cpuis("MK10F*12")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.byte 0x07 4. " CINT[4] ,Clear interrupt request" "No effect,Clear" newline endif endif sif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10") bitfld.byte 0x07 3. " CINT[3] ,Clear interrupt request" "No effect,Clear" bitfld.byte 0x07 2. " CINT[2] ,Clear interrupt request" "No effect,Clear" newline endif bitfld.byte 0x07 1. " CINT[1] ,Clear interrupt request" "No effect,Clear" bitfld.byte 0x07 0. " CINT[0] ,Clear interrupt request" "No effect,Clear" endif group.long 0x24++0x03 line.long 0x00 "INT,Interrupt Request Register" sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") eventfld.long 0x00 31. " INT[31] ,Interrupt request 31" "No interrupt,Interrupt" eventfld.long 0x00 30. " [30] ,Interrupt request 30" "No interrupt,Interrupt" eventfld.long 0x00 29. " [29] ,Interrupt request 29" "No interrupt,Interrupt" newline eventfld.long 0x00 28. " [28] ,Interrupt request 28" "No interrupt,Interrupt" eventfld.long 0x00 27. " [27] ,Interrupt request 27" "No interrupt,Interrupt" eventfld.long 0x00 26. " [26] ,Interrupt request 26" "No interrupt,Interrupt" newline eventfld.long 0x00 25. " [25] ,Interrupt request 25" "No interrupt,Interrupt" eventfld.long 0x00 24. " [24] ,Interrupt request 24" "No interrupt,Interrupt" eventfld.long 0x00 23. " [23] ,Interrupt request 23" "No interrupt,Interrupt" newline eventfld.long 0x00 22. " [22] ,Interrupt request 22" "No interrupt,Interrupt" eventfld.long 0x00 21. " [21] ,Interrupt request 21" "No interrupt,Interrupt" eventfld.long 0x00 20. " [20] ,Interrupt request 20" "No interrupt,Interrupt" newline eventfld.long 0x00 19. " [19] ,Interrupt request 19" "No interrupt,Interrupt" eventfld.long 0x00 18. " [18] ,Interrupt request 18" "No interrupt,Interrupt" eventfld.long 0x00 17. " [17] ,Interrupt request 17" "No interrupt,Interrupt" newline eventfld.long 0x00 16. " [16] ,Interrupt request 16" "No interrupt,Interrupt" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Interrupt request 15" "No interrupt,Interrupt" endif else bitfld.long 0x00 15. " INT[15] ,Interrupt request 15" "No interrupt,Interrupt" endif newline eventfld.long 0x00 14. " [14] ,Interrupt request 14" "No interrupt,Interrupt" eventfld.long 0x00 13. " [13] ,Interrupt request 13" "No interrupt,Interrupt" newline eventfld.long 0x00 12. " [12] ,Interrupt request 12" "No interrupt,Interrupt" eventfld.long 0x00 11. " [11] ,Interrupt request 11" "No interrupt,Interrupt" eventfld.long 0x00 10. " [10] ,Interrupt request 10" "No interrupt,Interrupt" newline eventfld.long 0x00 9. " [9] ,Interrupt request 9" "No interrupt,Interrupt" eventfld.long 0x00 8. " [8] ,Interrupt request 8" "No interrupt,Interrupt" eventfld.long 0x00 7. " [7] ,Interrupt request 7" "No interrupt,Interrupt" newline eventfld.long 0x00 6. " [6] ,Interrupt request 6" "No interrupt,Interrupt" eventfld.long 0x00 5. " [5] ,Interrupt request 5" "No interrupt,Interrupt" eventfld.long 0x00 4. " [4] ,Interrupt request 4" "No interrupt,Interrupt" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Interrupt request 15" "No interrupt,Interrupt" endif else bitfld.long 0x00 15. " INT[15] ,Interrupt request 15" "No interrupt,Interrupt" endif newline eventfld.long 0x00 14. " [14] ,Interrupt request 14" "No interrupt,Interrupt" eventfld.long 0x00 13. " [13] ,Interrupt request 13" "No interrupt,Interrupt" newline eventfld.long 0x00 12. " [12] ,Interrupt request 12" "No interrupt,Interrupt" eventfld.long 0x00 11. " [11] ,Interrupt request 11" "No interrupt,Interrupt" eventfld.long 0x00 10. " [10] ,Interrupt request 10" "No interrupt,Interrupt" newline eventfld.long 0x00 9. " [9] ,Interrupt request 9" "No interrupt,Interrupt" eventfld.long 0x00 8. " [8] ,Interrupt request 8" "No interrupt,Interrupt" eventfld.long 0x00 7. " [7] ,Interrupt request 7" "No interrupt,Interrupt" newline eventfld.long 0x00 6. " [6] ,Interrupt request 6" "No interrupt,Interrupt" eventfld.long 0x00 5. " [5] ,Interrupt request 5" "No interrupt,Interrupt" eventfld.long 0x00 4. " [4] ,Interrupt request 4" "No interrupt,Interrupt" newline endif eventfld.long 0x00 3. " [3] ,Interrupt request 3" "No interrupt,Interrupt" eventfld.long 0x00 2. " [2] ,Interrupt request 2" "No interrupt,Interrupt" eventfld.long 0x00 1. " [1] ,Interrupt request 1" "No interrupt,Interrupt" newline eventfld.long 0x00 0. " [0] ,Interrupt request 0" "No interrupt,Interrupt" group.long 0x2C++0x03 line.long 0x00 "ERR,Error Register" sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") eventfld.long 0x00 31. " ERR[31] ,Error in channel 31" "No error,Error" eventfld.long 0x00 30. " [30] ,Error in channel 30" "No error,Error" eventfld.long 0x00 29. " [29] ,Error in channel 29" "No error,Error" newline eventfld.long 0x00 28. " [28] ,Error in channel 28" "No error,Error" eventfld.long 0x00 27. " [27] ,Error in channel 27" "No error,Error" eventfld.long 0x00 26. " [26] ,Error in channel 26" "No error,Error" newline eventfld.long 0x00 25. " [25] ,Error in channel 25" "No error,Error" eventfld.long 0x00 24. " [24] ,Error in channel 24" "No error,Error" eventfld.long 0x00 23. " [23] ,Error in channel 23" "No error,Error" newline eventfld.long 0x00 22. " [22] ,Error in channel 22" "No error,Error" eventfld.long 0x00 21. " [21] ,Error in channel 21" "No error,Error" eventfld.long 0x00 20. " [20] ,Error in channel 20" "No error,Error" newline eventfld.long 0x00 19. " [19] ,Error in channel 19" "No error,Error" eventfld.long 0x00 18. " [18] ,Error in channel 18" "No error,Error" eventfld.long 0x00 17. " [17] ,Error in channel 17" "No error,Error" newline eventfld.long 0x00 16. " [16] ,Error in channel 16" "No error,Error" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Error in channel 15" "No error,Error" endif else bitfld.long 0x00 15. " ERR[15] ,Error in channel 15" "No error,Error" endif newline eventfld.long 0x00 14. " [14] ,Error in channel 14" "No error,Error" eventfld.long 0x00 13. " [13] ,Error in channel 13" "No error,Error" newline eventfld.long 0x00 12. " [12] ,Error in channel 12" "No error,Error" eventfld.long 0x00 11. " [11] ,Error in channel 11" "No error,Error" eventfld.long 0x00 10. " [10] ,Error in channel 10" "No error,Error" newline eventfld.long 0x00 9. " [9] ,Error in channel 9" "No error,Error" eventfld.long 0x00 8. " [8] ,Error in channel 8" "No error,Error" eventfld.long 0x00 7. " [7] ,Error in channel 7" "No error,Error" newline eventfld.long 0x00 6. " [6] ,Error in channel 6" "No error,Error" eventfld.long 0x00 5. " [5] ,Error in channel 5" "No error,Error" eventfld.long 0x00 4. " [4] ,Error in channel 4" "No error,Error" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Error in channel 15" "No error,Error" endif else bitfld.long 0x00 15. " ERR[15] ,Error in channel 15" "No error,Error" endif newline eventfld.long 0x00 14. " [14] ,Error in channel 14" "No error,Error" eventfld.long 0x00 13. " [13] ,Error in channel 13" "No error,Error" newline eventfld.long 0x00 12. " [12] ,Error in channel 12" "No error,Error" eventfld.long 0x00 11. " [11] ,Error in channel 11" "No error,Error" eventfld.long 0x00 10. " [10] ,Error in channel 10" "No error,Error" newline eventfld.long 0x00 9. " [9] ,Error in channel 9" "No error,Error" eventfld.long 0x00 8. " [8] ,Error in channel 8" "No error,Error" eventfld.long 0x00 7. " [7] ,Error in channel 7" "No error,Error" newline eventfld.long 0x00 6. " [6] ,Error in channel 6" "No error,Error" eventfld.long 0x00 5. " [5] ,Error in channel 5" "No error,Error" eventfld.long 0x00 4. " [4] ,Error in channel 4" "No error,Error" newline endif eventfld.long 0x00 3. " [3] ,Error in channel 3" "No error,Error" eventfld.long 0x00 2. " [2] ,Error in channel 2" "No error,Error" eventfld.long 0x00 1. " [1] ,Error in channel 1" "No error,Error" newline eventfld.long 0x00 0. " [0] ,Error in channel 0" "No error,Error" sif cpuis("MK11*")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") rgroup.long 0x34++0x03 line.long 0x00 "HRS,Hardware Request Status Register" bitfld.long 0x00 15. " HRS[15] ,Hardware request status for channel 15" "Not present,Present" bitfld.long 0x00 14. " [14] ,Hardware request status for channel 14" "Not present,Present" bitfld.long 0x00 13. " [13] ,Hardware request status for channel 13" "Not present,Present" newline bitfld.long 0x00 12. " [12] ,Hardware request status for channel 12" "Not present,Present" bitfld.long 0x00 11. " [11] ,Hardware request status for channel 11" "Not present,Present" bitfld.long 0x00 10. " [10] ,Hardware request status for channel 10" "Not present,Present" newline bitfld.long 0x00 9. " [9] ,Hardware request status for channel 9" "Not present,Present" bitfld.long 0x00 8. " [8] ,Hardware request status for channel 8" "Not present,Present" bitfld.long 0x00 7. " [7] ,Hardware request status for channel 7" "Not present,Present" newline bitfld.long 0x00 6. " [6] ,Hardware request status for channel 6" "Not present,Present" bitfld.long 0x00 5. " [5] ,Hardware request status for channel 5" "Not present,Present" bitfld.long 0x00 4. " [4] ,Hardware request status for channel 4" "Not present,Present" newline bitfld.long 0x00 3. " [3] ,Hardware request status for channel 3" "Not present,Present" bitfld.long 0x00 2. " [2] ,Hardware request status for channel 2" "Not present,Present" bitfld.long 0x00 1. " [1] ,Hardware request status for channel 1" "Not present,Present" newline bitfld.long 0x00 0. " [0] ,Hardware request status for channel 0" "Not present,Present" elif cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK26*")||cpuis("MK24*")||cpuis("MK21D*LK5")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21F*AVMC12")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22F*DC10")||(cpuis("MK22F*LL10")&&!cpuis("MK22FN1M0VLL10"))||cpuis("MK22F*MP10")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK24FN256VDC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK22FN128VLH10R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") rgroup.long 0x34++0x03 line.long 0x00 "HRS,Hardware Request Status Register" sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 31. " HRS[31] ,Hardware request status for channel 31" "Not present,Present" bitfld.long 0x00 30. " [30] ,Hardware request status for channel 30" "Not present,Present" bitfld.long 0x00 29. " [29] ,Hardware request status for channel 29" "Not present,Present" newline bitfld.long 0x00 28. " [28] ,Hardware request status for channel 28" "Not present,Present" bitfld.long 0x00 27. " [27] ,Hardware request status for channel 27" "Not present,Present" bitfld.long 0x00 26. " [26] ,Hardware request status for channel 26" "Not present,Present" newline bitfld.long 0x00 25. " [25] ,Hardware request status for channel 25" "Not present,Present" bitfld.long 0x00 24. " [24] ,Hardware request status for channel 24" "Not present,Present" bitfld.long 0x00 23. " [23] ,Hardware request status for channel 23" "Not present,Present" newline bitfld.long 0x00 22. " [22] ,Hardware request status for channel 22" "Not present,Present" bitfld.long 0x00 21. " [21] ,Hardware request status for channel 21" "Not present,Present" bitfld.long 0x00 20. " [20] ,Hardware request status for channel 20" "Not present,Present" newline bitfld.long 0x00 19. " [19] ,Hardware request status for channel 19" "Not present,Present" bitfld.long 0x00 18. " [18] ,Hardware request status for channel 18" "Not present,Present" bitfld.long 0x00 17. " [17] ,Hardware request status for channel 17" "Not present,Present" newline bitfld.long 0x00 16. " [16] ,Hardware request status for channel 16" "Not present,Present" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Hardware request status for channel 15" "Not present,Present" endif else bitfld.long 0x00 15. " HRS[15] ,Hardware request status for channel 15" "Not present,Present" endif newline bitfld.long 0x00 14. " [14] ,Hardware request status for channel 14" "Not present,Present" bitfld.long 0x00 13. " [13] ,Hardware request status for channel 13" "Not present,Present" newline bitfld.long 0x00 12. " [12] ,Hardware request status for channel 12" "Not present,Present" bitfld.long 0x00 11. " [11] ,Hardware request status for channel 11" "Not present,Present" bitfld.long 0x00 10. " [10] ,Hardware request status for channel 10" "Not present,Present" newline bitfld.long 0x00 9. " [9] ,Hardware request status for channel 9" "Not present,Present" bitfld.long 0x00 8. " [8] ,Hardware request status for channel 8" "Not present,Present" bitfld.long 0x00 7. " [7] ,Hardware request status for channel 7" "Not present,Present" newline bitfld.long 0x00 6. " [6] ,Hardware request status for channel 6" "Not present,Present" bitfld.long 0x00 5. " [5] ,Hardware request status for channel 5" "Not present,Present" bitfld.long 0x00 4. " [4] ,Hardware request status for channel 4" "Not present,Present" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Hardware request status for channel 15" "Not present,Present" endif else bitfld.long 0x00 15. " HRS[15] ,Hardware request status for channel 15" "Not present,Present" endif newline bitfld.long 0x00 14. " [14] ,Hardware request status for channel 14" "Not present,Present" bitfld.long 0x00 13. " [13] ,Hardware request status for channel 13" "Not present,Present" newline bitfld.long 0x00 12. " [12] ,Hardware request status for channel 12" "Not present,Present" bitfld.long 0x00 11. " [11] ,Hardware request status for channel 11" "Not present,Present" bitfld.long 0x00 10. " [10] ,Hardware request status for channel 10" "Not present,Present" newline bitfld.long 0x00 9. " [9] ,Hardware request status for channel 9" "Not present,Present" bitfld.long 0x00 8. " [8] ,Hardware request status for channel 8" "Not present,Present" bitfld.long 0x00 7. " [7] ,Hardware request status for channel 7" "Not present,Present" newline bitfld.long 0x00 6. " [6] ,Hardware request status for channel 6" "Not present,Present" bitfld.long 0x00 5. " [5] ,Hardware request status for channel 5" "Not present,Present" bitfld.long 0x00 4. " [4] ,Hardware request status for channel 4" "Not present,Present" newline endif bitfld.long 0x00 3. " [3] ,Hardware request status for channel 3" "Not present,Present" bitfld.long 0x00 2. " [2] ,Hardware request status for channel 2" "Not present,Present" bitfld.long 0x00 1. " [1] ,Hardware request status for channel 1" "Not present,Present" newline bitfld.long 0x00 0. " [0] ,Hardware request status for channel 0" "Not present,Present" else group.long 0x34++0x03 line.long 0x00 "HRS,Hardware Request Status Register" sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 31. " HRS[31] ,Hardware request status for channel 31" "Not present,Present" bitfld.long 0x00 30. " [30] ,Hardware request status for channel 30" "Not present,Present" bitfld.long 0x00 29. " [29] ,Hardware request status for channel 29" "Not present,Present" newline bitfld.long 0x00 28. " [28] ,Hardware request status for channel 28" "Not present,Present" bitfld.long 0x00 27. " [27] ,Hardware request status for channel 27" "Not present,Present" bitfld.long 0x00 26. " [26] ,Hardware request status for channel 26" "Not present,Present" newline bitfld.long 0x00 25. " [25] ,Hardware request status for channel 25" "Not present,Present" bitfld.long 0x00 24. " [24] ,Hardware request status for channel 24" "Not present,Present" bitfld.long 0x00 23. " [23] ,Hardware request status for channel 23" "Not present,Present" newline bitfld.long 0x00 22. " [22] ,Hardware request status for channel 22" "Not present,Present" bitfld.long 0x00 21. " [21] ,Hardware request status for channel 21" "Not present,Present" bitfld.long 0x00 20. " [20] ,Hardware request status for channel 20" "Not present,Present" newline bitfld.long 0x00 19. " [19] ,Hardware request status for channel 19" "Not present,Present" bitfld.long 0x00 18. " [18] ,Hardware request status for channel 18" "Not present,Present" bitfld.long 0x00 17. " [17] ,Hardware request status for channel 17" "Not present,Present" newline bitfld.long 0x00 16. " [16] ,Hardware request status for channel 16" "Not present,Present" newline endif endif sif cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLL10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Hardware request status for channel 15" "Not present,Present" endif else bitfld.long 0x00 15. " HRS[15] ,Hardware request status for channel 15" "Not present,Present" endif newline bitfld.long 0x00 14. " [14] ,Hardware request status for channel 14" "Not present,Present" bitfld.long 0x00 13. " [13] ,Hardware request status for channel 13" "Not present,Present" newline bitfld.long 0x00 12. " [12] ,Hardware request status for channel 12" "Not present,Present" bitfld.long 0x00 11. " [11] ,Hardware request status for channel 11" "Not present,Present" bitfld.long 0x00 10. " [10] ,Hardware request status for channel 10" "Not present,Present" newline bitfld.long 0x00 9. " [9] ,Hardware request status for channel 9" "Not present,Present" bitfld.long 0x00 8. " [8] ,Hardware request status for channel 8" "Not present,Present" bitfld.long 0x00 7. " [7] ,Hardware request status for channel 7" "Not present,Present" newline bitfld.long 0x00 6. " [6] ,Hardware request status for channel 6" "Not present,Present" bitfld.long 0x00 5. " [5] ,Hardware request status for channel 5" "Not present,Present" bitfld.long 0x00 4. " [4] ,Hardware request status for channel 4" "Not present,Present" newline elif !cpuis("MK?0D*5")&&!cpuis("MK22*DC10")&&!cpuis("MK22*LL10")&&!cpuis("MK22*MP10")&&!cpuis("MK22*LH10")&&!cpuis("MK22FN128VLH10R") sif cpuis("MK6?F*")||cpuis("MK?0F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.long 0x00 15. " [15] ,Hardware request status for channel 15" "Not present,Present" endif else bitfld.long 0x00 15. " HRS[15] ,Hardware request status for channel 15" "Not present,Present" endif newline bitfld.long 0x00 14. " [14] ,Hardware request status for channel 14" "Not present,Present" bitfld.long 0x00 13. " [13] ,Hardware request status for channel 13" "Not present,Present" newline bitfld.long 0x00 12. " [12] ,Hardware request status for channel 12" "Not present,Present" bitfld.long 0x00 11. " [11] ,Hardware request status for channel 11" "Not present,Present" bitfld.long 0x00 10. " [10] ,Hardware request status for channel 10" "Not present,Present" newline bitfld.long 0x00 9. " [9] ,Hardware request status for channel 9" "Not present,Present" bitfld.long 0x00 8. " [8] ,Hardware request status for channel 8" "Not present,Present" bitfld.long 0x00 7. " [7] ,Hardware request status for channel 7" "Not present,Present" newline bitfld.long 0x00 6. " [6] ,Hardware request status for channel 6" "Not present,Present" bitfld.long 0x00 5. " [5] ,Hardware request status for channel 5" "Not present,Present" bitfld.long 0x00 4. " [4] ,Hardware request status for channel 4" "Not present,Present" newline endif bitfld.long 0x00 3. " [3] ,Hardware request status for channel 3" "Not present,Present" bitfld.long 0x00 2. " [2] ,Hardware request status for channel 2" "Not present,Present" bitfld.long 0x00 1. " [1] ,Hardware request status for channel 1" "Not present,Present" newline bitfld.long 0x00 0. " [0] ,Hardware request status for channel 0" "Not present,Present" endif sif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK26F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN128CAH12R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") group.long 0x44++0x03 line.long 0x00 "EARS,Enable Asynchronous Request In Stop Register" sif cpuis("MK26F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 31. " EDREQ[31] ,Enable asynchronous DMA request in stop for channel 31" "Disabled,Enabled" bitfld.long 0x00 30. " [30] ,Enable asynchronous DMA request in stop for channel 30" "Disabled,Enabled" bitfld.long 0x00 29. " [29] ,Enable asynchronous DMA request in stop for channel 29" "Disabled,Enabled" newline bitfld.long 0x00 28. " [28] ,Enable asynchronous DMA request in stop for channel 28" "Disabled,Enabled" bitfld.long 0x00 27. " [27] ,Enable asynchronous DMA request in stop for channel 27" "Disabled,Enabled" bitfld.long 0x00 26. " [26] ,Enable asynchronous DMA request in stop for channel 26" "Disabled,Enabled" newline bitfld.long 0x00 25. " [25] ,Enable asynchronous DMA request in stop for channel 25" "Disabled,Enabled" bitfld.long 0x00 24. " [24] ,Enable asynchronous DMA request in stop for channel 24" "Disabled,Enabled" bitfld.long 0x00 23. " [23] ,Enable asynchronous DMA request in stop for channel 23" "Disabled,Enabled" newline bitfld.long 0x00 22. " [22] ,Enable asynchronous DMA request in stop for channel 22" "Disabled,Enabled" bitfld.long 0x00 21. " [21] ,Enable asynchronous DMA request in stop for channel 21" "Disabled,Enabled" bitfld.long 0x00 20. " [20] ,Enable asynchronous DMA request in stop for channel 20" "Disabled,Enabled" newline bitfld.long 0x00 19. " [19] ,Enable asynchronous DMA request in stop for channel 19" "Disabled,Enabled" bitfld.long 0x00 18. " [18] ,Enable asynchronous DMA request in stop for channel 18" "Disabled,Enabled" bitfld.long 0x00 17. " [17] ,Enable asynchronous DMA request in stop for channel 17" "Disabled,Enabled" newline bitfld.long 0x00 16. " [16] ,Enable asynchronous DMA request in stop for channel 16" "Disabled,Enabled" newline endif sif cpuis("MK26F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 15. " [15] ,Enable asynchronous DMA request in stop for channel 15" "Disabled,Enabled" else bitfld.long 0x00 15. " EDREQ[15] ,Enable asynchronous DMA request in stop for channel 15" "Disabled,Enabled" endif newline bitfld.long 0x00 14. " [14] ,Enable asynchronous DMA request in stop for channel 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Enable asynchronous DMA request in stop for channel 13" "Disabled,Enabled" newline bitfld.long 0x00 12. " [12] ,Enable asynchronous DMA request in stop for channel 12" "Disabled,Enabled" bitfld.long 0x00 11. " [11] ,Enable asynchronous DMA request in stop for channel 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Enable asynchronous DMA request in stop for channel 10" "Disabled,Enabled" newline bitfld.long 0x00 9. " [9] ,Enable asynchronous DMA request in stop for channel 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Enable asynchronous DMA request in stop for channel 8" "Disabled,Enabled" bitfld.long 0x00 7. " [7] ,Enable asynchronous DMA request in stop for channel 7" "Disabled,Enabled" newline bitfld.long 0x00 6. " [6] ,Enable asynchronous DMA request in stop for channel 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Enable asynchronous DMA request in stop for channel 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Enable asynchronous DMA request in stop for channel 4" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,Enable asynchronous DMA request in stop for channel 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Enable asynchronous DMA request in stop for channel 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Enable asynchronous DMA request in stop for channel 1" "Disabled,Enabled" newline bitfld.long 0x00 0. " [0] ,Enable asynchronous DMA request in stop for channel 0" "Disabled,Enabled" elif cpuis("MK26F*MD18")||cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0VLH10") group.long 0x44++0x03 line.long 0x00 "EARS,Enable Asynchronous Request In Stop Register" bitfld.long 0x00 3. " EDREQ[3] ,Enable asynchronous DMA request in stop for channel 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Enable asynchronous DMA request in stop for channel 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Enable asynchronous DMA request in stop for channel 1" "Disabled,Enabled" newline bitfld.long 0x00 0. " [0] ,Enable asynchronous DMA request in stop for channel 0" "Disabled,Enabled" endif endif tree.end width 11. tree "DMA Channel Priority Registers" sif cpuis("MK20D*5")||cpuis("MK10D*5")||cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") group.byte (0x100+0x0)++0x00 line.byte 0x00 "DCHPRI_3,Channel 3 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 3 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 3 preempt ability" "No,Yes" bitfld.byte 0x00 0.--1. " CHPRI ,Channel 3 arbitration priority" "Lowest,1,2,Highest" group.byte (0x100+0x1)++0x00 line.byte 0x00 "DCHPRI_2,Channel 2 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 2 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 2 preempt ability" "No,Yes" bitfld.byte 0x00 0.--1. " CHPRI ,Channel 2 arbitration priority" "Lowest,1,2,Highest" group.byte (0x100+0x2)++0x00 line.byte 0x00 "DCHPRI_1,Channel 1 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 1 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 1 preempt ability" "No,Yes" bitfld.byte 0x00 0.--1. " CHPRI ,Channel 1 arbitration priority" "Lowest,1,2,Highest" group.byte (0x100+0x3)++0x00 line.byte 0x00 "DCHPRI_0,Channel 0 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 0 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 0 preempt ability" "No,Yes" bitfld.byte 0x00 0.--1. " CHPRI ,Channel 0 arbitration priority" "Lowest,1,2,Highest" else group.byte (0x100+0x0)++0x00 line.byte 0x00 "DCHPRI_3,Channel 3 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 3 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 3 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 3 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1)++0x00 line.byte 0x00 "DCHPRI_2,Channel 2 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 2 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 2 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 2 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x2)++0x00 line.byte 0x00 "DCHPRI_1,Channel 1 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 1 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 1 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 1 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x3)++0x00 line.byte 0x00 "DCHPRI_0,Channel 0 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 0 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 0 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 0 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x4)++0x00 line.byte 0x00 "DCHPRI_7,Channel 7 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 7 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 7 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 7 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x5)++0x00 line.byte 0x00 "DCHPRI_6,Channel 6 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 6 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 6 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 6 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x6)++0x00 line.byte 0x00 "DCHPRI_5,Channel 5 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 5 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 5 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 5 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x7)++0x00 line.byte 0x00 "DCHPRI_4,Channel 4 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 4 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 4 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 4 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x8)++0x00 line.byte 0x00 "DCHPRI_11,Channel 11 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 11 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 11 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 11 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x9)++0x00 line.byte 0x00 "DCHPRI_10,Channel 10 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 10 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 10 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 10 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xA)++0x00 line.byte 0x00 "DCHPRI_9,Channel 9 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 9 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 9 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 9 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xB)++0x00 line.byte 0x00 "DCHPRI_8,Channel 8 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 8 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 8 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 8 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xC)++0x00 line.byte 0x00 "DCHPRI_15,Channel 15 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 15 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 15 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 15 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xD)++0x00 line.byte 0x00 "DCHPRI_14,Channel 14 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 14 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 14 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 14 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xE)++0x00 line.byte 0x00 "DCHPRI_13,Channel 13 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 13 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 13 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 13 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xF)++0x00 line.byte 0x00 "DCHPRI_12,Channel 12 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 12 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 12 preempt ability" "No,Yes" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 12 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" endif elif cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") group.byte (0x100+0x0)++0x00 line.byte 0x00 "DCHPRI_3,Channel 3 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 3 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 3 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 3 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 3 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1)++0x00 line.byte 0x00 "DCHPRI_2,Channel 2 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 2 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 2 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 2 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 2 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x2)++0x00 line.byte 0x00 "DCHPRI_1,Channel 1 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 1 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 1 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 1 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 1 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x3)++0x00 line.byte 0x00 "DCHPRI_0,Channel 0 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 0 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 0 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 0 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 0 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x4)++0x00 line.byte 0x00 "DCHPRI_7,Channel 7 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 7 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 7 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 7 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 7 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x5)++0x00 line.byte 0x00 "DCHPRI_6,Channel 6 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 6 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 6 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 6 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 6 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x6)++0x00 line.byte 0x00 "DCHPRI_5,Channel 5 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 5 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 5 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 5 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 5 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x7)++0x00 line.byte 0x00 "DCHPRI_4,Channel 4 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 4 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 4 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 4 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 4 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x8)++0x00 line.byte 0x00 "DCHPRI_11,Channel 11 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 11 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 11 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 11 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 11 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x9)++0x00 line.byte 0x00 "DCHPRI_10,Channel 10 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 10 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 10 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 10 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 10 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xA)++0x00 line.byte 0x00 "DCHPRI_9,Channel 9 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 9 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 9 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 9 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 9 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xB)++0x00 line.byte 0x00 "DCHPRI_8,Channel 8 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 8 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 8 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 8 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 8 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xC)++0x00 line.byte 0x00 "DCHPRI_15,Channel 15 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 15 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 15 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 15 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 15 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xD)++0x00 line.byte 0x00 "DCHPRI_14,Channel 14 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 14 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 14 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 14 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 14 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xE)++0x00 line.byte 0x00 "DCHPRI_13,Channel 13 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 13 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 13 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 13 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 13 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xF)++0x00 line.byte 0x00 "DCHPRI_12,Channel 12 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 12 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 12 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 12 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 12 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x10)++0x00 line.byte 0x00 "DCHPRI_19,Channel 19 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 19 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 19 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 19 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 19 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x11)++0x00 line.byte 0x00 "DCHPRI_18,Channel 18 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 18 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 18 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 18 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 18 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x12)++0x00 line.byte 0x00 "DCHPRI_17,Channel 17 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 17 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 17 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 17 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 17 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x13)++0x00 line.byte 0x00 "DCHPRI_16,Channel 16 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 16 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 16 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 16 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 16 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x14)++0x00 line.byte 0x00 "DCHPRI_23,Channel 23 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 23 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 23 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 23 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 23 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x15)++0x00 line.byte 0x00 "DCHPRI_22,Channel 22 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 22 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 22 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 22 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 22 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x16)++0x00 line.byte 0x00 "DCHPRI_21,Channel 21 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 21 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 21 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 21 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 21 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x17)++0x00 line.byte 0x00 "DCHPRI_20,Channel 20 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 20 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 20 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 20 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 20 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x18)++0x00 line.byte 0x00 "DCHPRI_27,Channel 27 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 27 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 27 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 27 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 27 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x19)++0x00 line.byte 0x00 "DCHPRI_26,Channel 26 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 26 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 26 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 26 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 26 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1A)++0x00 line.byte 0x00 "DCHPRI_25,Channel 25 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 25 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 25 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 25 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 25 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1B)++0x00 line.byte 0x00 "DCHPRI_24,Channel 24 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 24 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 24 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 24 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 24 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1C)++0x00 line.byte 0x00 "DCHPRI_31,Channel 31 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 31 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 31 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 31 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 31 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1D)++0x00 line.byte 0x00 "DCHPRI_30,Channel 30 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 30 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 30 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 30 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 30 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1E)++0x00 line.byte 0x00 "DCHPRI_29,Channel 29 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 29 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 29 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 29 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 29 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1F)++0x00 line.byte 0x00 "DCHPRI_28,Channel 28 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 28 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 28 preempt ability" "No,Yes" rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 28 current group priority" "0,1,2,3" bitfld.byte 0x00 0.--3. " CHPRI ,Channel 28 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" else group.byte (0x100+0x0)++0x00 line.byte 0x00 "DCHPRI_3,Channel 3 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 3 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 3 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 3 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 3 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x1)++0x00 line.byte 0x00 "DCHPRI_2,Channel 2 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 2 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 2 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 2 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 2 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x2)++0x00 line.byte 0x00 "DCHPRI_1,Channel 1 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 1 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 1 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 1 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 1 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x3)++0x00 line.byte 0x00 "DCHPRI_0,Channel 0 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 0 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 0 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 0 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 0 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x4)++0x00 line.byte 0x00 "DCHPRI_7,Channel 7 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 7 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 7 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 7 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 7 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x5)++0x00 line.byte 0x00 "DCHPRI_6,Channel 6 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 6 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 6 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 6 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 6 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x6)++0x00 line.byte 0x00 "DCHPRI_5,Channel 5 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 5 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 5 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 5 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 5 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x7)++0x00 line.byte 0x00 "DCHPRI_4,Channel 4 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 4 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 4 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 4 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 4 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x8)++0x00 line.byte 0x00 "DCHPRI_11,Channel 11 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 11 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 11 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 11 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 11 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0x9)++0x00 line.byte 0x00 "DCHPRI_10,Channel 10 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 10 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 10 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 10 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 10 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xA)++0x00 line.byte 0x00 "DCHPRI_9,Channel 9 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 9 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 9 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 9 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 9 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xB)++0x00 line.byte 0x00 "DCHPRI_8,Channel 8 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 8 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 8 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 8 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 8 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xC)++0x00 line.byte 0x00 "DCHPRI_15,Channel 15 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 15 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 15 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 15 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 15 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xD)++0x00 line.byte 0x00 "DCHPRI_14,Channel 14 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 14 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 14 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 14 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 14 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xE)++0x00 line.byte 0x00 "DCHPRI_13,Channel 13 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 13 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 13 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 13 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 13 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" group.byte (0x100+0xF)++0x00 line.byte 0x00 "DCHPRI_12,Channel 12 Priority Register" bitfld.byte 0x00 7. " ECP ,Enable channel 12 preemption" "Disabled,Enabled" bitfld.byte 0x00 6. " DPA ,Disable channel 12 preempt ability" "No,Yes" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK20FN1M0VLQ12R") sif !cpuis("MK63F*")&&!cpuis("MK64F*") rbitfld.byte 0x00 4.--5. " GRPPRI ,Channel 12 current group priority" "0,1,2,3" newline endif endif bitfld.byte 0x00 0.--3. " CHPRI ,Channel 12 arbitration priority" "Lowest,1,2,3,4,5,6,7,8,9,10,11,12,13,14,Highest" endif sif cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") group.byte (0x140+0x0)++0x00 line.byte 0x00 "DCHMID_3,Channel 3 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x1)++0x00 line.byte 0x00 "DCHMID_2,Channel 2 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x2)++0x00 line.byte 0x00 "DCHMID_1,Channel 1 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x3)++0x00 line.byte 0x00 "DCHMID_0,Channel 0 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x4)++0x00 line.byte 0x00 "DCHMID_7,Channel 7 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x5)++0x00 line.byte 0x00 "DCHMID_6,Channel 6 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x6)++0x00 line.byte 0x00 "DCHMID_5,Channel 5 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x7)++0x00 line.byte 0x00 "DCHMID_4,Channel 4 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x8)++0x00 line.byte 0x00 "DCHMID_11,Channel 11 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0x9)++0x00 line.byte 0x00 "DCHMID_10,Channel 10 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xA)++0x00 line.byte 0x00 "DCHMID_9,Channel 9 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xB)++0x00 line.byte 0x00 "DCHMID_8,Channel 8 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xC)++0x00 line.byte 0x00 "DCHMID_15,Channel 15 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xD)++0x00 line.byte 0x00 "DCHMID_14,Channel 14 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xE)++0x00 line.byte 0x00 "DCHMID_13,Channel 13 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif group.byte (0x140+0xF)++0x00 line.byte 0x00 "DCHMID_12,Channel 12 Master ID Register" bitfld.byte 0x00 7. " EMI ,Enable master ID replication" "Disabled,Enabled" sif cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4") rbitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" rbitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 6. " PAL ,Privileged access level" "Not privileged,Privileged" bitfld.byte 0x00 0.--3. " MID ,Master ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline endif tree.end base ad:0x40009000 tree "Transfer Control Descriptor Registers" tree "Channel 0" width 23. group.long 0x0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x0+0x08))&0xC0000000)==0x00) group.long (0x0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x0+0x16))&0x8000)==0x00) group.word (0x0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x0+0x1C))&0x80)==0x00) group.word (0x0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x0+0x1C))&0x80)==0x00) group.word (0x0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x0+0x1E))&0x8000)==0x00) group.word (0x0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 1" width 23. group.long 0x20++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x20+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x20+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x20+0x08))&0xC0000000)==0x00) group.long (0x20+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x20+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x20+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x20+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x20+0x16))&0x8000)==0x00) group.word (0x20+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x20+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x20+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x20+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x20+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x20+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x20+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x20+0x1C))&0x80)==0x00) group.word (0x20+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x20+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x20+0x1C))&0x80)==0x00) group.word (0x20+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x20+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x20+0x1E))&0x8000)==0x00) group.word (0x20+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x20+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 2" width 23. group.long 0x40++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x40+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x40+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x40+0x08))&0xC0000000)==0x00) group.long (0x40+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x40+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x40+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x40+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x40+0x16))&0x8000)==0x00) group.word (0x40+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x40+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x40+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x40+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x40+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x40+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x40+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x40+0x1C))&0x80)==0x00) group.word (0x40+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x40+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x40+0x1C))&0x80)==0x00) group.word (0x40+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x40+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x40+0x1E))&0x8000)==0x00) group.word (0x40+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x40+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 3" width 23. group.long 0x60++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x60+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x60+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x60+0x08))&0xC0000000)==0x00) group.long (0x60+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x60+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x60+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x60+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x60+0x16))&0x8000)==0x00) group.word (0x60+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x60+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x60+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x60+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x60+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x60+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x60+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x60+0x1C))&0x80)==0x00) group.word (0x60+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x60+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x60+0x1C))&0x80)==0x00) group.word (0x60+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x60+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x60+0x1E))&0x8000)==0x00) group.word (0x60+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x60+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 4" width 23. group.long 0x80++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x80+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x80+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x80+0x08))&0xC0000000)==0x00) group.long (0x80+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x80+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x80+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x80+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x80+0x16))&0x8000)==0x00) group.word (0x80+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x80+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x80+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x80+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x80+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x80+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x80+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x80+0x1C))&0x80)==0x00) group.word (0x80+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x80+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x80+0x1C))&0x80)==0x00) group.word (0x80+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x80+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x80+0x1E))&0x8000)==0x00) group.word (0x80+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x80+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 5" width 23. group.long 0xA0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0xA0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0xA0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0xA0+0x08))&0xC0000000)==0x00) group.long (0xA0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0xA0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0xA0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0xA0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0xA0+0x16))&0x8000)==0x00) group.word (0xA0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0xA0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0xA0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0xA0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0xA0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0xA0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0xA0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0xA0+0x1C))&0x80)==0x00) group.word (0xA0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xA0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0xA0+0x1C))&0x80)==0x00) group.word (0xA0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xA0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0xA0+0x1E))&0x8000)==0x00) group.word (0xA0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0xA0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 6" width 23. group.long 0xC0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0xC0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0xC0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0xC0+0x08))&0xC0000000)==0x00) group.long (0xC0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0xC0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0xC0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0xC0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0xC0+0x16))&0x8000)==0x00) group.word (0xC0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0xC0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0xC0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0xC0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0xC0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0xC0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0xC0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0xC0+0x1C))&0x80)==0x00) group.word (0xC0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xC0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0xC0+0x1C))&0x80)==0x00) group.word (0xC0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xC0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0xC0+0x1E))&0x8000)==0x00) group.word (0xC0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0xC0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 7" width 23. group.long 0xE0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0xE0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0xE0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0xE0+0x08))&0xC0000000)==0x00) group.long (0xE0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0xE0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0xE0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0xE0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0xE0+0x16))&0x8000)==0x00) group.word (0xE0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0xE0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0xE0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0xE0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0xE0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0xE0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0xE0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0xE0+0x1C))&0x80)==0x00) group.word (0xE0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xE0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0xE0+0x1C))&0x80)==0x00) group.word (0xE0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0xE0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0xE0+0x1E))&0x8000)==0x00) group.word (0xE0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0xE0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 8" width 23. group.long 0x100++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x100+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x100+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x100+0x08))&0xC0000000)==0x00) group.long (0x100+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x100+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x100+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x100+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x100+0x16))&0x8000)==0x00) group.word (0x100+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x100+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x100+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x100+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x100+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x100+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x100+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x100+0x1C))&0x80)==0x00) group.word (0x100+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x100+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x100+0x1C))&0x80)==0x00) group.word (0x100+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x100+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x100+0x1E))&0x8000)==0x00) group.word (0x100+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x100+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 9" width 23. group.long 0x120++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x120+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x120+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x120+0x08))&0xC0000000)==0x00) group.long (0x120+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x120+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x120+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x120+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x120+0x16))&0x8000)==0x00) group.word (0x120+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x120+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x120+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x120+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x120+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x120+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x120+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x120+0x1C))&0x80)==0x00) group.word (0x120+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x120+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x120+0x1C))&0x80)==0x00) group.word (0x120+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x120+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x120+0x1E))&0x8000)==0x00) group.word (0x120+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x120+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 10" width 23. group.long 0x140++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x140+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x140+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x140+0x08))&0xC0000000)==0x00) group.long (0x140+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x140+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x140+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x140+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x140+0x16))&0x8000)==0x00) group.word (0x140+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x140+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x140+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x140+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x140+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x140+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x140+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x140+0x1C))&0x80)==0x00) group.word (0x140+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x140+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x140+0x1C))&0x80)==0x00) group.word (0x140+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x140+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x140+0x1E))&0x8000)==0x00) group.word (0x140+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x140+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 11" width 23. group.long 0x160++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x160+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x160+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x160+0x08))&0xC0000000)==0x00) group.long (0x160+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x160+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x160+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x160+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x160+0x16))&0x8000)==0x00) group.word (0x160+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x160+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x160+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x160+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x160+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x160+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x160+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x160+0x1C))&0x80)==0x00) group.word (0x160+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x160+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x160+0x1C))&0x80)==0x00) group.word (0x160+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x160+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x160+0x1E))&0x8000)==0x00) group.word (0x160+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x160+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 12" width 23. group.long 0x180++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x180+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x180+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x180+0x08))&0xC0000000)==0x00) group.long (0x180+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x180+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x180+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x180+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x180+0x16))&0x8000)==0x00) group.word (0x180+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x180+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x180+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x180+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x180+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x180+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x180+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x180+0x1C))&0x80)==0x00) group.word (0x180+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x180+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x180+0x1C))&0x80)==0x00) group.word (0x180+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x180+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x180+0x1E))&0x8000)==0x00) group.word (0x180+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x180+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 13" width 23. group.long 0x1A0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x1A0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x1A0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x1A0+0x08))&0xC0000000)==0x00) group.long (0x1A0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x1A0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x1A0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x1A0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x1A0+0x16))&0x8000)==0x00) group.word (0x1A0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x1A0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x1A0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x1A0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x1A0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x1A0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x1A0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x1A0+0x1C))&0x80)==0x00) group.word (0x1A0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1A0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x1A0+0x1C))&0x80)==0x00) group.word (0x1A0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1A0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x1A0+0x1E))&0x8000)==0x00) group.word (0x1A0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x1A0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 14" width 23. group.long 0x1C0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x1C0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x1C0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x1C0+0x08))&0xC0000000)==0x00) group.long (0x1C0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x1C0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x1C0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x1C0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x1C0+0x16))&0x8000)==0x00) group.word (0x1C0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x1C0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x1C0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x1C0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x1C0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x1C0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x1C0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x1C0+0x1C))&0x80)==0x00) group.word (0x1C0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1C0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x1C0+0x1C))&0x80)==0x00) group.word (0x1C0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1C0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x1C0+0x1E))&0x8000)==0x00) group.word (0x1C0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x1C0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree "Channel 15" width 23. group.long 0x1E0++0x03 line.long 0x00 "SADDR,TCD Source Address" newline group.word (0x1E0+0x04)++0x03 line.word 0x00 "SOFF,TCD Signed Source Address Offset Register" line.word 0x02 "ATTR,TCD Transfer Attributes Register" bitfld.word 0x02 11.--15. " SMOD ,Source address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK60DX256ZVMD10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline else bitfld.word 0x02 8.--10. " SSIZE ,Source data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif bitfld.word 0x02 3.--7. " DMOD ,Destination address modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline sif cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte burst,?..." newline elif cpuis("MK40D*Z*10")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK30DX256VLL7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,?..." newline elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,32 byte burst,?..." newline elif cpuis("MAC57D54H-CA5")||cpuis("MAC57D53M-CA5")||cpuis("MAC57D52L-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D53M-CM0")||cpuis("MAC57D52L-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MAC57D53M-CM4")||cpuis("MAC57D52L-CM4") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,64 bit,,32 byte burst,?..." newline elif cpuis("KK60FN1M0VLQ15") bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte burst,?..." newline else bitfld.word 0x02 0.--2. " DSIZE ,Destination data transfer size" "8 bit,16 bit,32 bit,,16 byte,32 byte,?..." newline endif newline if (((per.l(ad:0x40008000))&0x80)==0x00) group.long (0x1E0+0x08)++0x03 line.long 0x00 "NBYTES_MLNO,TCD Minor Byte Count" elif (((per.l(ad:0x40009000+0x1E0+0x08))&0xC0000000)==0x00) group.long (0x1E0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFNO,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long 0x00 0.--29. 1. " NBYTES ,Minor byte transfer count" else group.long (0x1E0+0x08)++0x03 line.long 0x00 "NBYTES_MLOFFYES,TCD Signed Minor Loop Offset" bitfld.long 0x00 31. " SMLOE ,Source minor loop offset enable" "Disabled,Enabled" bitfld.long 0x00 30. " DMLOE ,Destination minor loop offset enable" "Disabled,Enabled" newline hexmask.long.tbyte 0x00 10.--29. 0x4 " MLOFF ,Sign extended offset applied to the source/destination address" hexmask.long.word 0x00 0.--9. 1. " NBYTES ,Minor byte transfer count" endif group.long (0x1E0+0x0C)++0x07 line.long 0x00 "SLAST,TCD Last Source Address Adjustment" line.long 0x04 "DADDR,TCD Destination Address" newline group.word (0x1E0+0x14)++0x01 line.word 0x00 "DOFF,TCD Signed Destination Address Offset" if (((per.w(ad:0x40009000+0x1E0+0x16))&0x8000)==0x00) group.word (0x1E0+0x16)++0x01 line.word 0x00 "CITER_ELINKNO,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " CITER ,Current major iteration count" else group.word (0x1E0+0x16)++0x01 line.word 0x00 "CITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63F*")&&!cpuis("MK64F*") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else bitfld.word 0x00 9.--12. " LINKCH ,Minor loop ink channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " CITER ,Current major iteration count" endif newline group.long (0x1E0+0x18)++0x03 line.long 0x00 "DLASTSGA,TCD Last Destination Address Adjustment/Scatter Gather Address" newline if ((((per.w(ad:0x40009000+0x1E0+0x1E))&0x8000)==0x00)&&(((per.w(ad:0x40009000+0x1E0+0x1E))&0x7FFF)==0x01))||((((per.w(ad:0x40009000+0x1E0+0x1E))&0x8000)==0x8000)&&(((per.w(ad:0x40009000+0x1E0+0x1E))&0x1FF)==0x01)) if (((per.w(ad:0x40009000+0x1E0+0x1C))&0x80)==0x00) group.word (0x1E0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1E0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif else if (((per.w(ad:0x40009000+0x1E0+0x1C))&0x80)==0x00) group.word (0x1E0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline endif bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif bitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" bitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" else group.word (0x1E0+0x1C)++0x01 line.word 0x00 "CSR,TCD Control And Status" sif cpuis("MK6?F*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline endif sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60D*") bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" newline sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" else bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--9. " MAJORLINKCH ,Link channel number" "0,1,2,3" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline elif cpuis("MK70*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" newline bitfld.word 0x00 8.--12. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40D*Z*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MKS2?FN???V??12") bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 8 cycles" else bitfld.word 0x00 14.--15. " BWC ,Bandwidth control" "Not stalled,,Stalled for 4 cycles,Stalled for 4 cycles" endif newline bitfld.word 0x00 8.--11. " MAJORLINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.word 0x00 7. " DONE ,Channel done" "Not completed,Completed" newline endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MAC57D54H-CA5")||cpuis("MAC57D54H-CM0")||cpuis("MAC57D54H-CM4")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MKS2?FN???V??12")||cpuis("MK63FN1M0VLQ12R") rbitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline else bitfld.word 0x00 6. " ACTIVE ,Channel active" "Not active,Active" newline endif rbitfld.word 0x00 5. " MAJORELINK ,Enable channel-to-channel linking on major loop complete" "Disabled,Enabled" rbitfld.word 0x00 4. " ESG ,Enable scatter/gather processing" "Disabled,Enabled" newline bitfld.word 0x00 3. " DREQ ,Disable request" "No,Yes" bitfld.word 0x00 2. " INTHALF ,Enable an interrupt when major counter is half complete" "Disabled,Enabled" newline bitfld.word 0x00 1. " INTMAJOR ,Enable an interrupt when major iteration count completes" "Disabled,Enabled" bitfld.word 0x00 0. " START ,Channel start" "Not started,Started" endif endif if (((per.w(ad:0x40009000+0x1E0+0x1E))&0x8000)==0x00) group.word (0x1E0+0x1E)++0x01 line.word 0x00 "BITER_ELINKNO,TCD Beginning Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" hexmask.word 0x00 0.--14. 1. " BITER ,Starting major iteration count" else group.word (0x1E0+0x1E)++0x01 line.word 0x00 "BITER_ELINKYES,TCD Current Minor Loop Link (Major Loop Count)" bitfld.word 0x00 15. " ELINK ,Enable channel-to-channel linking on minor-loop complete" "Disabled,Enabled" newline sif cpuis("MK6?F*")||cpuis("MK70*")||cpuis("MK26*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10*")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK63F*")&&!cpuis("MK64F*")&&!cpuis("MK60D*")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.word 0x00 9.--13. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" elif cpuis("MK22*DC10")||cpuis("MK22*LL10")||cpuis("MK22*MP10")||cpuis("MK22*LH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") bitfld.word 0x00 9.--10. " LINKCH ,Link channel number" "0,1,2,3" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif else bitfld.word 0x00 9.--12. " LINKCH ,Link channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" hexmask.word 0x00 0.--8. 1. " BITER ,Starting major iteration count" endif endif tree.end tree.end width 0x0B tree.end tree "EWM (External Watchdog Monitor)" base ad:0x40061000 width 14. group.byte 0x00++0x00 line.byte 0x00 "CTRL,Control Register" sif !cpuis("MK60*AB10")&&!cpuis("MK20DN512*AB10R")&&!cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30DN512ZVLQ10")&&!cpuis("MK30DN512ZVLQ10R")&&!cpuis("MK30DX256ZVLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 3. " INTEN ,Interrupt enable" "Disabled,Enabled" endif bitfld.byte 0x00 2. " INEN ,Enables the EWM_in port" "Disabled,Enabled" bitfld.byte 0x00 1. " ASSIN ,Inverts the assert state to a logic one" "Not inverted,Inverted" bitfld.byte 0x00 0. " EWMEN ,EWM module enable" "Disabled,Enabled" wgroup.byte 0x01++0x00 line.byte 0x00 "SERV,Service Register" group.byte 0x02++0x01 line.byte 0x00 "CMPL,Compare Low Register" line.byte 0x01 "CMPH,Compare High Register" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15") group.byte 0x04++0x00 line.byte 0x00 "CLKCTRL,Clock Control Register" bitfld.byte 0x00 0.--1. " CLKSEL ,Low power clock source select" "lpo_clk[0],lpo_clk[1],lpo_clk[2],lpo_clk[3]" endif sif !cpuis("MK40D*Z*10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") sif cpuis("MK40D*10")||cpuis("MK5?D*10")||cpuis("MK60D*10")||cpuis("MK02*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK20DN512VLK10R")||cpuis("MK22FN128VLH10R")||cpuis("MK27FN2M0VMI15")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK60DN512VMC10*")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK20DX256VLK10R") group.byte 0x05++0x00 line.byte 0x00 "CLKPRESCALER,Clock Prescaler Register" endif endif width 0x0B tree.end tree "WDOG (Watchdog Timer)" base ad:0x40052000 width 9. group.word 0x00++0x17 line.word 0x00 "STCTRLH,Watchdog Status And Control Register High" bitfld.word 0x00 14. " DISTESTWDOG ,WDOG functional test mode disable" "No,Yes" bitfld.word 0x00 12.--13. " BYTESEL ,Select the byte to be tested" "Byte 0,Byte 1,Byte 2,Byte 3" bitfld.word 0x00 11. " TESTSEL ,Selects the test to be run on the watchdog timer" "Quick test,Byte test" newline bitfld.word 0x00 10. " TESTWDOG ,Functional test mode enable" "Disabled,Enabled" sif cpuis("MK20DN512*AB10R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK40D*Z*10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("KK60DN512ZCAB10R") newline bitfld.word 0x00 8. " STNDBYEN ,Enables WDOG in standby mode" "Disabled,Enabled" endif newline bitfld.word 0x00 7. " WAIT_EN ,Enables WDOG in wait mode" "Disabled,Enabled" bitfld.word 0x00 6. " STOPEN ,Enables WDOG in stop mode" "Disabled,Enabled" bitfld.word 0x00 5. " DBGEN ,Enables WDOG in debug mode" "Disabled,Enabled" newline bitfld.word 0x00 4. " ALLOWUPDATE ,Enables updates to watchdog write once registers" "Disabled,Enabled" bitfld.word 0x00 3. " WINEN ,Enable windowing mode" "Disabled,Enabled" bitfld.word 0x00 2. " IRQRSTEN ,Enable the debug breadcrumbs feature" "Disabled,Enabled" newline bitfld.word 0x00 1. " CLKSRC ,Selects clock source for the WDOG timer and other internal timing operations" "LPO Osc,Alternate" bitfld.word 0x00 0. " WDOGEN ,Enables the WDOG operation" "Disabled,Enabled" line.word 0x02 "STCTRLL,Watchdog Status And Control Register Low" eventfld.word 0x02 15. " INTFLG ,Interrupt flag" "No interrupt,Interrupt" line.word 0x04 "TOVALH,Watchdog Time-out Value Register High" line.word 0x06 "TOVALL,Watchdog Time-out Value Register Low" line.word 0x08 "WINH,Watchdog Window Register High" line.word 0x0A "WINL,Watchdog Window Register Low" line.word 0x0C "REFRESH,Watchdog Refresh Register" line.word 0x0E "UNLOCK,Watchdog Unlock Register" line.word 0x10 "TMROUTH,Watchdog Timer Output Register High" line.word 0x12 "TMROUTL,Watchdog Timer Output Register Low" line.word 0x14 "RSTCNT,Watchdog Reset Count Register" line.word 0x16 "PRESC,Watchdog Prescaler Register" bitfld.word 0x16 8.--10. " PRESCVAL ,3-bit prescaler for the watchdog clock source" "/1,/2,/3,/4,/5,/6,/7,/8" width 0x0B tree.end tree.end tree.open "Clock Modules" tree "MCG (Multipurpose Clock Generator)" base ad:0x40064000 width 7. if (((per.b(ad:0x40064000+0x001))&0x30)==0x00||((per.b(ad:0x40064000+0x00C))&0x01)==0x01) group.byte 0x00++0x00 line.byte 0x00 "C1,MCG Control 1 Register" sif cpuis("MK11DN512AVLK5*") bitfld.byte 0x00 6.--7. " CLKS ,Clock source select" ",Internal ref clk,External ref clk,?..." newline else bitfld.byte 0x00 6.--7. " CLKS ,Clock source select" "Out FLL/PLL,Internal ref clk,External ref clk,?..." newline endif bitfld.byte 0x00 3.--5. " FRDIV ,FLL external reference divider" "/1,/2,/4,/8,/16,/32,/64,/128" bitfld.byte 0x00 2. " IREFS ,Internal reference select" "External,Internal" bitfld.byte 0x00 1. " IRCLKEN ,Internal reference clock enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " IREFSTEN ,Internal reference stop enable" "Disabled,Enabled" else group.byte 0x00++0x00 line.byte 0x00 "C1,MCG Control 1 Register" bitfld.byte 0x00 6.--7. " CLKS ,Clock source select" "Out FLL/PLL,Internal ref clk,External ref clk,?..." sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK63FN1M0VLQ12")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0VMI18")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK66FN2M0VLQ18") bitfld.byte 0x00 3.--5. " FRDIV ,FLL external reference divider" "/32,/64,/128,/256,/512,/1024,/1280,/1536" elif cpuis("MK40D*Z*10")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10")||cpuis("MK??F*")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 3.--5. " FRDIV ,FLL external reference divider" "/32,/64,/128,/256,/512,/1024,?..." else bitfld.byte 0x00 3.--5. " FRDIV ,FLL external reference divider" "/32,/64,/128,/256,/512,/1024,/1280,/1536" endif newline bitfld.byte 0x00 2. " IREFS ,Internal reference select" "External,Internal" bitfld.byte 0x00 1. " IRCLKEN ,Internal reference clock enable" "Disabled,Enabled" bitfld.byte 0x00 0. " IREFSTEN ,Internal reference stop enable" "Disabled,Enabled" endif group.byte 0x01++0x01 line.byte 0x00 "C2,MCG Control 2 Register" sif !cpuis("MK20D*AB10")&&!cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30DN512ZVLQ10")&&!cpuis("MK30DN512ZVLQ10R")&&!cpuis("MK30DX256ZVLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 7. " LOCRE0 ,Loss of clock reset enable" "Interrupt,Reset" newline endif sif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5"))||cpuis("MK02*")||cpuis("MK63*")||cpuis("MK64*")||cpuis("MK65*")||cpuis("MK66*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60D*") sif !cpuis("MK60D*")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 6. " FCFTRIM ,Fast internal reference clock fine trim" "Increased,Decreased" endif bitfld.byte 0x00 4.--5. " RANGE ,Frequency range select" "Encoding 0,Encoding 1,Encoding 2,Encoding 2" bitfld.byte 0x00 3. " HGO ,High gain oscillator select" "Low-power,High-gain" newline else sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*") bitfld.byte 0x00 4.--5. " RANGE ,Frequency range select" "32kHz-39kHz,1MHz-8MHz,8MHz-32MHz,8MHz-32MHz" newline elif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.byte 0x00 4.--5. " RANGE ,Frequency range select" "32kHz-40kHz,3MHz-8MHz,8MHz-32MHz,8MHz-32MHz" newline else bitfld.byte 0x00 4.--5. " RANGE ,Frequency range select" "1kHz-32kHz,1MHz-8MHz,8MHz-32MHz,8MHz-32MHz" newline endif bitfld.byte 0x00 3. " HGO ,High gain oscillator select" "Low-power,High-gain" newline endif bitfld.byte 0x00 2. " EREFS ,External reference select" "Ext ref,Osc" bitfld.byte 0x00 1. " LP ,Low power select" "FLL||PLL enabled,FLL||PLL disabled" bitfld.byte 0x00 0. " IRCS ,Internal reference clock select" "Slow,Fast" line.byte 0x01 "C3,MCG Control 3 Register" if (((per.b(ad:0x40064000+0x003))&0x60)==0x00) group.byte 0x03++0x00 line.byte 0x00 "C4,MCG Control 4 Register" bitfld.byte 0x00 7. " DMX32 ,DCO maximum frequency with 32.768 kHz reference" "20 - 25 MHz,24 MHz" bitfld.byte 0x00 5.--6. " DRST_DRS ,DCO range select" "Low range,Mid range,Mid-high range,High range" bitfld.byte 0x00 1.--4. " FCTRIM ,Fast internal reference clock trim setting" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.byte 0x00 0. " SCFTRIM ,Slow internal reference clock fine trim" "Decrease the period,Increase th period" elif (((per.b(ad:0x40064000+0x03))&0x60)==0x20) group.byte 0x03++0x00 line.byte 0x00 "C4,MCG Control 4 Register" bitfld.byte 0x00 7. " DMX32 ,Dco maximum frequency with 32.768 kHz reference" "40 - 50 MHz,48 MHz" bitfld.byte 0x00 5.--6. " DRST_DRS ,DCO range select" "Low range,Mid range,Mid-high range,High range" bitfld.byte 0x00 1.--4. " FCTRIM ,Fast internal reference clock trim setting" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.byte 0x00 0. " SCFTRIM ,Slow internal reference clock fine trim" "Decrease the period,Increase th period" elif (((per.b(ad:0x40064000+0x03))&0x60)==0x40) group.byte 0x03++0x00 line.byte 0x00 "C4,MCG Control 4 Register" bitfld.byte 0x00 7. " DMX32 ,DCO maximum frequency with 32.768 kHz reference" "60 - 75 MHz,72 MHz" bitfld.byte 0x00 5.--6. " DRST_DRS ,DCO range select" "Low range,Mid range,Mid-high range,High range" bitfld.byte 0x00 1.--4. " FCTRIM ,Fast internal reference clock trim setting" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.byte 0x00 0. " SCFTRIM ,Slow internal reference clock fine trim" "Decrease the period,Increase th period" else group.byte 0x03++0x00 line.byte 0x00 "C4,MCG Control 4 Register" bitfld.byte 0x00 7. " DMX32 ,DCO maximum frequency with 32.768 kHz reference" "80 - 100 MHz,96 MHz" bitfld.byte 0x00 5.--6. " DRST_DRS ,DCO range select" "Low range,Mid range,Mid-high range,High range" bitfld.byte 0x00 1.--4. " FCTRIM ,Fast internal reference clock trim setting" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.byte 0x00 0. " SCFTRIM ,Slow internal reference clock fine trim" "Decrease the period,Increase th period" endif sif !cpuis("MK02*") sif cpuis("MK??F*")||cpuis("MK60D*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*") group.byte 0x04++0x00 line.byte 0x00 "C5,MCG Control 5 Register" sif cpuis("KK60FN1M0VLQ15") bitfld.byte 0x00 7. "PLLREFSEL0,PLL0 external reference select" "OSC0,OSC1" endif bitfld.byte 0x00 6. " PLLCLKEN ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x00 5. " PLLSTEN ,PLL stop enable" "Disabled,Enabled" bitfld.byte 0x00 0.--2. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8" elif !cpuis("MK21F*") group.byte 0x04++0x00 line.byte 0x00 "C5,MCG Control 5 Register" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK63FN1M0VLQ12R") newline sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK70*") bitfld.byte 0x00 7. " PLLREFSEL ,PLL0 external reference select" "OSC0,OSC1" else bitfld.byte 0x00 7. " PLLREFSEL ,PLL0 external reference select" "Disabled,Enabled" endif endif bitfld.byte 0x00 6. " PLLCLKEN ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x00 5. " PLLSTEN ,PLL stop enable" "Disabled,Enabled" sif CPUIS("MK20FN1M0VLQ12R") newline bitfld.byte 0x00 0.--2. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8" elif cpuis("MK20F*")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK63FN1M0VLQ12R") newline bitfld.byte 0x00 0.--4. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16,/18,/19,/20,/21,/22,/23,/24,/25,?..." else newline bitfld.byte 0x00 0.--2. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8" endif else group.byte 0x04++0x00 line.byte 0x00 "C5,MCG Control 5 Register" bitfld.byte 0x00 6. " PLLCLKEN ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x00 5. " PLLSTEN ,PLL stop enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16,/18,/19,/20,/21,/22,/23,/24,/25,?..." endif elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5*")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) group.byte 0x04++0x00 line.byte 0x00 "C5,MCG Control 5 Register" bitfld.byte 0x00 6. " PLLCLKEN ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x00 5. " PLLSTEN ,PLL stop enable" "Disabled,Enabled" else group.byte 0x04++0x00 line.byte 0x00 "C5,MCG Control 5 Register" bitfld.byte 0x00 6. " PLLCLKEN ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x00 5. " PLLSTEN ,PLL stop enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " PRDIV ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16,/17,/18,/19,/20,/21,/22,/23,/24,/25,?..." endif group.byte 0x05++0x00 line.byte 0x00 "C6,MCG Control 6 Register" bitfld.byte 0x00 7. " LOLIE ,Loss of lock interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 6. " PLLS ,PLL select" "FLL,PLL" bitfld.byte 0x00 5. " CME ,Clock monitor enable" "Disabled,Enabled" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5*")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM14Z64CHH5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*") sif !cpuis("MK20F*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK21F*")&&!cpuis("MK10F*")&&!cpuis("MK70F*")&&!cpuis("MK8?FN256V*")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK65FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("KK60FN1M0VLQ15") newline bitfld.byte 0x00 0.--4. " VDIV ,VCO divider" "/24,/25,/26,/27,/28,/29,/30,/31,/32,/33,/34,/35,/36,/37,/38,/39,/40,/41,/42,/43,/44,/45,/46,/47,/48,/49,/50,/51,/52,/53,/54,/55" elif cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10") newline bitfld.byte 0x00 0.--4. " VDIV ,VCO divider" "/24,/25,/26,/27,/28,/29,/30,/31,/32,/33,/34,/35,/36,/37,/38,/39,/40,/41,/42,/43,/44,/45,/46,/47,/48,/49,/50,/51,/52,/53,/54,/55" elif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") newline bitfld.byte 0x00 0.--4. " CHGPMP_BIAS ,PLL charge pump current" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else newline bitfld.byte 0x00 0.--4. " VDIV ,VCO divider" "/16,/17,/18,/19,/20,/21,/22,/23,/24,/25,/26,/27,/28,/29,/30,/31,/32,/33,/34,/35,/36,/37,/38,/39,/40,/41,/42,/43,/44,/45,/46,/47" endif endif else group.byte 0x05++0x00 line.byte 0x00 "C6,MCG Control 6 Register" bitfld.byte 0x00 5. " CME ,Clock monitor enable" "Disabled,Enabled" endif rgroup.byte 0x06++0x00 line.byte 0x00 "S,MCG Status Register" sif !cpuis("MK02*") bitfld.byte 0x00 7. " LOLS ,Loss of lock status" "Not lost,Lost" bitfld.byte 0x00 6. " LOCK ,Lock status" "Not locked,Locked" bitfld.byte 0x00 5. " PLLST ,PLL select status" "FLL,PLL" newline bitfld.byte 0x00 4. " IREFST ,Internal reference status" "External,Internal" bitfld.byte 0x00 2.--3. " CLKST ,Clock mode status" "Out FLL,Internal ref,External ref,Out PLL" bitfld.byte 0x00 1. " OSCINIT ,OSC initialization" "Not completed,Completed" newline else bitfld.byte 0x00 4. " IREFST ,Internal reference status" "External,Internal" bitfld.byte 0x00 2.--3. " CLKST ,Clock mode status" "Out FLL,Internal ref,External ref,?..." bitfld.byte 0x00 1. " OSCINIT ,OSC initialization" "Not completed,Completed" newline endif bitfld.byte 0x00 0. " IRCST ,Internal reference clock status" "Slow clock,Fast clock" sif cpuis("MK20D*AB10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R") group.byte 0x08++0x00 line.byte 0x00 "ATC,MCG Auto Trim Control Register" bitfld.byte 0x00 7. " ATME ,Automatic trim machine enable" "Disabled,Enabled" bitfld.byte 0x00 6. " ATMS ,Automatic trim machine select" "32kHz,4MHz" rbitfld.byte 0x00 5. " ATMF ,Automatic trim machine fail flag" "Not occurred,Occurred" elif cpuis("KK60DN512ZCAB10R") group.byte 0x08++0x00 line.byte 0x00 "ATC,MCG Auto Trim Control Register" bitfld.byte 0x00 7. " ATME ,Automatic trim machine enable" "Disabled,Enabled" bitfld.byte 0x00 6. " ATMS ,Automatic trim machine select" "32kHz,4MHz" eventfld.byte 0x00 5. " ATMF ,Automatic trim machine fail flag" "Not occurred,Occurred" else group.byte 0x08++0x00 line.byte 0x00 "SC,MCG Status And Control Register" bitfld.byte 0x00 7. " ATME ,Automatic trim machine enable" "Disabled,Enabled" bitfld.byte 0x00 6. " ATMS ,Automatic trim machine select" "32kHz,4MHz" sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") rbitfld.byte 0x00 5. " ATMF ,Automatic trim machine fail flag" "Not occurred,Occurred" else eventfld.byte 0x00 5. " ATMF ,Automatic trim machine fail flag" "Not occurred,Occurred" endif newline bitfld.byte 0x00 4. " FLTPRSRV ,FLL filter preserve enable" "Disabled,Enabled" bitfld.byte 0x00 1.--3. " FCIRDIV ,Fast clock internal reference divider" "/1,/2,/4,/8,/16,/32,/64,/128" sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") rbitfld.byte 0x00 0. " LOCS ,OSC0 loss of clock status" "Not occurred,Occurred" else eventfld.byte 0x00 0. " LOCS ,OSC0 loss of clock status" "Not occurred,Occurred" endif endif group.byte 0x0A++0x01 line.byte 0x00 "ATCVH,MCG Auto Trim Compare Value High Register" line.byte 0x01 "ATCVL,MCG Auto Trim Compare Value Low Register" sif !cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30DN512ZVLQ10")&&!cpuis("MK30DN512ZVLQ10R")&&!cpuis("MK30DX256ZVLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") sif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5*")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5*")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5*")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) group.byte 0x0C++0x00 line.byte 0x00 "C7,MCG Control 7 Register" bitfld.byte 0x00 6.--7. " PLL32KREFSEL ,MCG PLL 32kHz reference clock select" "32kHz RTC,32kHz IRC,FLL FRDIV,?..." sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")||cpuis("MKM33Z128CLH5*") newline bitfld.byte 0x00 0. " OSCSEL ,MCG OSC clock select" "OSCCLK,32kHz RTC" else newline bitfld.byte 0x00 0.--1. " OSCSEL ,MCG OSC clock select" "OSCCLK0,32kHz RTC,OSCCLK1,?..." endif elif cpuis("MK02*")||cpuis("MK63*")||cpuis("MK64*")||cpuis("MK65*")||cpuis("MK66*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN512CAP12R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") group.byte 0x0C++0x00 line.byte 0x00 "C7,MCG Control 7 Register" bitfld.byte 0x00 0.--1. " OSCSEL ,MCG OSC clock select" "OSCCLK0,32kHz RTC,OSCCLK1,?..." else group.byte 0x0C++0x00 line.byte 0x00 "C7,MCG Control 7 Register" bitfld.byte 0x00 0. " OSCSEL ,MCG OSC clock select" "OSCCLK,32kHz RTC" endif sif !cpuis("MK70*")&&!cpuis("MK02*")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK60FN1M0VLQ15") group.byte 0x0D++0x00 line.byte 0x00 "C8,MCG Control 8 Register" bitfld.byte 0x00 7. " LOCRE1 ,Loss of clock reset enable" "Interrupt,Reset" sif !cpuis("KK60FN1M0VLQ15") bitfld.byte 0x00 6. " LOLRE ,PLL loss of lock reset enable" "Interrupt,Reset" endif bitfld.byte 0x00 5. " CME1 ,Clock monitor enable" "Disabled,Enabled" newline sif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5*")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) bitfld.byte 0x00 4. " COARSE_LOLIE ,Loss of coarse lock interrupt enable" "No interrupt,Interrupt" newline endif eventfld.byte 0x00 0. " LOCS1 ,RTC loss of clock status" "Not occurred,Occurred" else group.byte 0x0D++0x00 line.byte 0x00 "C8,MCG Control 8 Register" bitfld.byte 0x00 7. " LOCRE1 ,Loss of clock reset enable" "Interrupt,Reset" bitfld.byte 0x00 5. " CME1 ,Clock monitor enable" "Disabled,Enabled" newline sif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5*")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) bitfld.byte 0x00 4. " COARSE_LOLIE ,Loss of coarse lock interrupt enable" "No interrupt,Interrupt" newline endif eventfld.byte 0x00 0. " LOCS1 ,RTC loss of clock status" "Not occurred,Occurred" endif sif !cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK30DX256VLL7R")&&!cpuis("MK02F*")&&!cpuis("MK63FN1M0VLQ12R") sif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5*")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) rgroup.byte 0x0E++0x00 line.byte 0x00 "C9,MCG Control 9 Register" bitfld.byte 0x00 7. " COARSE_LOLS ,Coarse loss of lock status" "Not occurred,Occurred" bitfld.byte 0x00 6. " COARSE_LOCK ,Coarse lock status" "Unlocked,Locked" elif cpuis("MK66*")||cpuis("MK65*")||cpuis("KK65FN2M0CAC18R")||cpuis("MK63FN1M0VLQ12R") group.byte 0x0E++0x00 line.byte 0x00 "C9,MCG Control 9 Register" bitfld.byte 0x00 5. " PLL_CME ,MCG external PLL clock monitor enable" "Disabled,Enabled" bitfld.byte 0x00 4. " PLL_LOCRE ,MCG external PLL loss of clock reset enable" "Interrupt,Sys. reset" eventfld.byte 0x00 0. " EXT_PLL_LOCS ,External PLL loss of clock status" "Not occurred,Occurred" elif !cpuis("MK63*")&&!cpuis("MK64*")&&!cpuis("MK20F*")&&!cpuis("MK21F*")&&!cpuis("MK10F*")&&!cpuis("MK10D*5")&&!cpuis("MK70*")&&!cpuis("MK11*")&&!cpuis("MK11DN512AVLK5")&&!cpuis("MK11DN512VLK5*")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60DN512ZCAB10R") hgroup.byte 0x0E++0x00 hide.byte 0x00 "C9,MCG Control 9 Register" endif sif !cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM33Z128CLH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MK11DN512AVLK5")&&!cpuis("MK11DN512VLK5*") sif cpuis("MK??F*")||cpuis("KK60FN1M0VLQ15") sif !cpuis("MK63*")&&!cpuis("MK64*")&&!cpuis("MK65*")&&!cpuis("MK66*")&&!cpuis("KK65FN2M0CAC18R") group.byte 0x0F++0x02 line.byte 0x00 "C10,MCG Control 10 Register" bitfld.byte 0x00 7. " LOCRE2 ,Loss of clock reset enable" "Interrupt,Reset" bitfld.byte 0x00 4.--5. " RANGE1 ,Frequency range select" "Encoding 0,Encoding 1,Encoding 2,Encoding 2" bitfld.byte 0x00 3. " HGO1 ,High gain oscillator select" "Low-power,High-gain" newline bitfld.byte 0x00 2. " EREFS1 ,External reference select" "Ext ref,Osc" line.byte 0x01 "C11,MCG Control 11 Register" sif cpuis("MK70*")||cpuis("KK60FN1M0VLQ15") bitfld.byte 0x01 7. " PLLREFSEL1 ,PLL1 external reference select" "OSC0,OSC1" else bitfld.byte 0x01 7. " PLLREFSEL1 ,PLL1 external reference select" "Disabled,Enabled" endif newline bitfld.byte 0x01 6. " PLLCLKEN1 ,PLL clock enable" "Disabled,Enabled" bitfld.byte 0x01 5. " PLLSTEN1 ,PLL stop enable" "Disabled,Enabled" newline bitfld.byte 0x01 4. " PLLCS ,PLL clock select" "PLL0,PLL1" bitfld.byte 0x01 0.--2. " PRDIV1 ,PLL external reference divider" "/1,/2,/3,/4,/5,/6,/7,/8" line.byte 0x02 "C12,MCG Control 12 Register" bitfld.byte 0x02 7. " LOLIE1 ,Loss of lock interrupt enable" "Disabled,Enabled" bitfld.byte 0x02 5. " CME2 ,Clock monitor enable" "Disabled,Enabled" newline sif !cpuis("MK20F*")&&!cpuis("MK21F*")&&!cpuis("KK60FN1M0VLQ15") bitfld.byte 0x02 0.--4. " VDIV1 ,VCO divider" "/24,/25,/26,/27,/28,/29,/30,/31,/32,/33,/34,/35,/36,/37,/38,/39,/40,/41,/42,/43,/44,/45,/46,/47,/48,/49,/50,/51,/52,/53,/54,/55" else bitfld.byte 0x02 0.--4. " VDIV1 ,VCO divider" "/16,/17,/18,/19,/20,/21,/22,/23,/24,/25,/26,/27,/28,/29,/30,/31,/32,/33,/34,/35,/36,/37,/38,/39,/40,/41,/42,/43,/44,/45,/46,/47" endif rgroup.byte 0x12++0x00 line.byte 0x00 "S2,MCG Status Register" sif !cpuis("KK60FN1M0VLQ15") bitfld.byte 0x00 7. " LOLS1 ,Loss of lock status" "Not lost,Lost" else eventfld.byte 0x00 7. " LOLS1 ,Loss of lock status" "Not lost,Lost" endif bitfld.byte 0x00 6. " LOCK1 ,Lock status" "Not locked,Locked" bitfld.byte 0x00 4. " PLLCST ,PLL clock select status" "PLL0,PLL1" newline bitfld.byte 0x00 1. " OSCINIT1 ,OSC initialization" "Not completed,Completed" bitfld.byte 0x00 0. " LOCS2 ,OSC1 loss of clock status" "No loss of OSC1,Loss of OSC1" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") group.byte 0x10++0x00 line.byte 0x00 "C11,MCG Control 11 Register" bitfld.byte 0x00 4. " PLLCS ,PLL clock select" "PLL0,PLL_EXT" hgroup.byte 0x11++0x00 hide.byte 0x00 "C12,MCG Control 12 Register" rgroup.byte 0x12++0x00 line.byte 0x00 "S2,MCG Status 2 Register" bitfld.byte 0x00 4. " PLLCST ,PLL clock select status" "PLL0,PLL_EXT" elif !cpuis("MK10D*5")&&!cpuis("MK64*")&&!cpuis("MK63*") hgroup.byte 0x0F++0x00 hide.byte 0x00 "C10,MCG Control 10 Register" endif elif cpuis("MK66*")||cpuis("MK65*") group.byte 0x10++0x00 line.byte 0x00 "C11,MCG Control 11 Register" bitfld.byte 0x00 4. " PLLCS ,PLL clock select" "PLL0,PLL_EXT" hgroup.byte 0x11++0x00 hide.byte 0x00 "C12,MCG Control 12 Register" rgroup.byte 0x12++0x00 line.byte 0x00 "S2,MCG Status 2 Register" bitfld.byte 0x00 4. " PLLCST ,PLL clock select status" "PLL0,PLL_EXT" hgroup.byte 0x13++0x00 hide.byte 0x00 "T3,MCG Test 3 Register" elif !cpuis("MK10D*5")&&!cpuis("MK64*")&&!cpuis("MK63*") hgroup.byte 0x0F++0x00 hide.byte 0x00 "C10,MCG Control 10 Register" elif cpuis("MK63FN1M0VLQ12R") hgroup.byte 0x11++0x00 hide.byte 0x00 "C12,MCG Control 12 Register" endif endif endif endif width 0x0B tree.end tree "OSC (Oscillator)" base ad:0x40065000 width 4. group.byte 0x00++0x00 line.byte 0x00 "CR,OSC Control Register" bitfld.byte 0x00 7. " ERCLKEN ,External reference enable" "Disabled,Enabled" bitfld.byte 0x00 5. " EREFSTEN ,External reference stop enable" "Disabled,Enabled" bitfld.byte 0x00 3. " SC2P ,Oscillator 2 pF capacitor load configure" "Disabled,Enabled" newline bitfld.byte 0x00 2. " SC4P ,Oscillator 4 pF capacitor load configure" "Disabled,Enabled" bitfld.byte 0x00 1. " SC8P ,Oscillator 8 pF capacitor load configure" "Disabled,Enabled" bitfld.byte 0x00 0. " SC16P ,Oscillator 16 pF capacitor load configure" "Disabled,Enabled" sif cpuis("MK02*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MKV5*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN128VLH10R")||cpuis("MK27FN2M0VMI15")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK65FN2M0CAC18*") width 9. newline group.byte 0x02++0x00 line.byte 0x00 "OSC_DIV,OSC Clock Divider Register" bitfld.byte 0x00 6.--7. " ERPS ,ERCLK prescaler" "/1,/2,/4,/8" endif width 0x0B tree.end tree.end tree.open "Memories and Memory Interfaces" tree "FMC (Flash Memory Controller)" base ad:0x4001f000 width 9. sif cpuis("MK02*")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("MK20FN1M0VLQ12R") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" bitfld.long 0x00 19. " M3PFD ,Master 3 prefetch disable" "No,Yes" bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" newline bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 6.--7. " M3AP ,Master 3 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("MK66*")||cpuis("MK65*") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 23. " M7PFD ,Master 7 prefetch disable" "No,Yes" endif bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline bitfld.long 0x00 19. " M3PFD ,Master 3 prefetch disable" "No,Yes" bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" newline bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 14.--15. " M7AP ,Master 7 access protection" "No access,RO accesses,WO accesses,RW accesses" endif bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 6.--7. " M3AP ,Master 3 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("?K26*") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("MK64*")||cpuis("MK63*") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 23. " M7PFD ,Master 7 prefetch disable" "No,Yes" bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" endif bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" bitfld.long 0x00 19. " M3PFD ,Master 3 prefetch disable" "No,Yes" newline bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 14.--15. " M7AP ,Master 7 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" endif bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 6.--7. " M3AP ,Master 3 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("MK21F*MC12")||cpuis("MK24F*LL12")||cpuis("MK24F*DC12")||cpuis("MK24F*LQ12")||cpuis("MK22F*LQ12")||cpuis("MK22F*MD12")||cpuis("MK21F*LQ")||cpuis("MK21F*MD")||cpuis("MK20DN512ZCAB10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" elif cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLL12") group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" else group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" sif !cpuis("MK?0D*5")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN256VDC12") bitfld.long 0x00 23. " M7PFD ,Master 7 prefetch disable" "No,Yes" bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" newline bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline endif bitfld.long 0x00 19. " M3PFD ,Master 3 prefetch disable" "No,Yes" bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" newline bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline sif !cpuis("MK?0D*5")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN256VDC12") bitfld.long 0x00 14.--15. " M7AP ,Master 7 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline endif bitfld.long 0x00 6.--7. " M3AP ,Master 3 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" endif else group.long 0x00++0x03 line.long 0x00 "PFAPR,Flash Access Protection Register" sif !cpuis("MK?0D*5")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN256VDC12") bitfld.long 0x00 23. " M7PFD ,Master 7 prefetch disable" "No,Yes" bitfld.long 0x00 22. " M6PFD ,Master 6 prefetch disable" "No,Yes" newline bitfld.long 0x00 21. " M5PFD ,Master 5 prefetch disable" "No,Yes" bitfld.long 0x00 20. " M4PFD ,Master 4 prefetch disable" "No,Yes" newline endif bitfld.long 0x00 19. " M3PFD ,Master 3 prefetch disable" "No,Yes" bitfld.long 0x00 18. " M2PFD ,Master 2 prefetch disable" "No,Yes" newline bitfld.long 0x00 17. " M1PFD ,Master 1 prefetch disable" "No,Yes" bitfld.long 0x00 16. " M0PFD ,Master 0 prefetch disable" "No,Yes" newline sif !cpuis("MK?0D*5")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN256VDC12") bitfld.long 0x00 14.--15. " M7AP ,Master 7 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 12.--13. " M6AP ,Master 6 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 10.--11. " M5AP ,Master 5 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 8.--9. " M4AP ,Master 4 access protection" "No access,RO accesses,WO accesses,RW accesses" newline endif bitfld.long 0x00 6.--7. " M3AP ,Master 3 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 4.--5. " M2AP ,Master 2 access protection" "No access,RO accesses,WO accesses,RW accesses" newline bitfld.long 0x00 2.--3. " M1AP ,Master 1 access protection" "No access,RO accesses,WO accesses,RW accesses" bitfld.long 0x00 0.--1. " M0AP ,Master 0 access protection" "No access,RO accesses,WO accesses,RW accesses" endif sif cpuis("MK65*")||cpuis("MK66*")||cpuis("?K26*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK70*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.long 0x04++0x03 line.long 0x00 "PFB01CR,Flash Bank 0-1 Control Register" rbitfld.long 0x00 28.--31. " B01RWSC ,Bank 0-1 read wait state control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" newline bitfld.long 0x00 27. " CLCK_WAY[3] ,Cache lock way 3" "Not locked,Locked" bitfld.long 0x00 26. " [2] ,Cache lock way 2" "Not locked,Locked" bitfld.long 0x00 25. " [1] ,Cache lock way 1" "Not locked,Locked" bitfld.long 0x00 24. " [0] ,Cache lock way 0" "Not locked,Locked" newline bitfld.long 0x00 23. " CINV_WAY[3] ,Cache invalidate way 3" "Not invalidated,Invalidated" bitfld.long 0x00 22. " [2] ,Cache invalidate way 2" "Not invalidated,Invalidated" bitfld.long 0x00 21. " [1] ,Cache invalidate way 1" "Not invalidated,Invalidated" bitfld.long 0x00 20. " [0] ,Cache invalidate way 0" "Not invalidated,Invalidated" newline bitfld.long 0x00 19. " S_B_INV ,Invalidate prefetch speculation buffer" "Not invalidated,Invalidated" rbitfld.long 0x00 17.--18. " B01MW ,Bank 0-1 memory width" "32 bits,64 bits,128 bits,?..." bitfld.long 0x00 5.--7. " CRC ,Cache replacement control" "LRU per 4 ways,,LRU with 0-1 ways,LRU with 0-2 ways,?..." newline bitfld.long 0x00 4. " B01DCE ,Bank 0-1 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B01ICE ,Bank 0-1 instruction cache enable" "Disabled,Enabled" bitfld.long 0x00 2. " B01DPE ,Bank 0-1 data prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " B01IPE ,Bank 0-1 instruction prefetch enable" "Disabled,Enabled" bitfld.long 0x00 0. " B01SEBE ,Bank 0-1 single entry buffer enable" "Disabled,Enabled" sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") group.long 0x08++0x03 line.long 0x00 "PFB1CR,Flash Bank 1 Control Register" rbitfld.long 0x00 28.--31. " B1RWSC ,Bank 1 read wait state control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" rbitfld.long 0x00 17.--18. " B1MW ,Bank 1 memory width" "32 bits,64 bits,128 bits,?..." newline bitfld.long 0x00 4. " B1DCE ,Bank 1 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B1ICE ,Bank 1 instruction cache enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " B1DPE ,Bank 1 data prefetch enable" "Disabled,Enabled" bitfld.long 0x00 1. " B1IPE ,Bank 1 instruction prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " B1SEBE ,Bank 1 single entry buffer enable" "Disabled,Enabled" else group.long 0x08++0x03 line.long 0x00 "PFB23CR,Flash Bank 2-3 Control Register" rbitfld.long 0x00 28.--31. " B23RWSC ,Bank 2-3 read wait state control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" rbitfld.long 0x00 17.--18. " B23MW ,Bank 2-3 memory width" "32 bits,64 bits,128 bits,?..." newline bitfld.long 0x00 4. " B23DCE ,Bank 2-3 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B23ICE ,Bank 2-3 instruction cache enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " B23DPE ,Bank 2-3 data prefetch enable" "Disabled,Enabled" bitfld.long 0x00 1. " B23IPE ,Bank 2-3 instruction prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " B23SEBE ,Bank 2-3 single entry buffer enable" "Disabled,Enabled" endif else group.long 0x04++0x03 line.long 0x00 "PFB0CR,Flash Bank 0 Control Register" rbitfld.long 0x00 28.--31. " B0RWSC ,Bank 0 read wait state control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" newline bitfld.long 0x00 27. " CLCK_WAY[3] ,Cache lock way 3" "Not locked,Locked" bitfld.long 0x00 26. " [2] ,Cache lock way 2" "Not locked,Locked" bitfld.long 0x00 25. " [1] ,Cache lock way 1" "Not locked,Locked" bitfld.long 0x00 24. " [0] ,Cache lock way 0" "Not locked,Locked" newline bitfld.long 0x00 23. " CINV_WAY[3] ,Cache invalidate way 3" "Not invalidated,Invalidated" bitfld.long 0x00 22. " [2] ,Cache invalidate way 2" "Not invalidated,Invalidated" bitfld.long 0x00 21. " [1] ,Cache invalidate way 1" "Not invalidated,Invalidated" bitfld.long 0x00 20. " [0] ,Cache invalidate way 0" "Not invalidated,Invalidated" newline sif cpuis("MK2?D*")||cpuis("MK1?D*")||cpuis("MK02*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MKS2?FN???V??12")||cpuis("KK20DN512ZCAB10R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512V??12*")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12") bitfld.long 0x00 19. " S_B_INV ,Invalidate prefetch speculation buffer" "Not invalidated,Invalidated" rbitfld.long 0x00 17.--18. " B0MW ,Bank 0 memory width" "32 bits,64 bits,?..." bitfld.long 0x00 5.--7. " CRC ,Cache replacement control" "LRU per 4 ways,,LRU with 0-1 ways,LRU with 0-2 ways,?..." newline else bitfld.long 0x00 19. " S_B_INV ,Invalidate prefetch speculation buffer" "Not invalidated,Invalidated" rbitfld.long 0x00 17.--18. " B0MW ,Bank 0 memory width" "32 bits,64 bits,128 bits,?..." bitfld.long 0x00 5.--7. " CRC ,Cache replacement control" "LRU per 4 ways,,LRU with 0-1 ways,LRU with 0-2 ways,?..." newline endif else bitfld.long 0x00 19. " S_B_INV ,Invalidate prefetch speculation buffer" "Not invalidated,Invalidated" rbitfld.long 0x00 17.--18. " B0MW ,Bank 0 memory width" "32 bits,64 bits,128 bits,?..." bitfld.long 0x00 5.--7. " CRC ,Cache replacement control" "LRU per 4 ways,,LRU with 0-1 ways,LRU with 0-2 ways,?..." newline endif bitfld.long 0x00 4. " B0DCE ,Bank 0 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B0ICE ,Bank 0 instruction cache enable" "Disabled,Enabled" bitfld.long 0x00 2. " B0DPE ,Bank 0 data prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " B0IPE ,Bank 0 instruction prefetch enable" "Disabled,Enabled" bitfld.long 0x00 0. " B0SEBE ,Bank 0 single entry buffer enable" "Disabled,Enabled" sif !cpuis("MK?0D*5")&&!cpuis("MK02*")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MKS2?FN???V??12")&&!cpuis("KK22FN???CAH12R")&&!cpuis("MK22FN256VLL12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12") group.long 0x08++0x03 line.long 0x00 "PFB1CR,Flash Bank 1 Control Register" rbitfld.long 0x00 28.--31. " B1RWSC ,Bank 1 read wait state control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" sif cpuis("MK2?D*")||cpuis("MK1?D*")||cpuis("MK02*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("KK20DN512ZCAB10R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512V??12*") rbitfld.long 0x00 17.--18. " B1MW ,Bank 1 memory width" "32 bits,64 bits,?..." newline else rbitfld.long 0x00 17.--18. " B1MW ,Bank 1 memory width" "32 bits,64 bits,128 bits,?..." newline endif sif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 4. " B23DCE ,Bank 2-3 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B23ICE ,Bank 2-3 instruction cache enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " B23DPE ,Bank 2-3 data prefetch enable" "Disabled,Enabled" bitfld.long 0x00 1. " B23IPE ,Bank 2-3 instruction prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " B23SEBE ,Bank 23 single entry buffer enable" "Disabled,Enabled" elif !cpuis("MK?0D*7")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK30DX256VLL7R")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7") bitfld.long 0x00 4. " B1DCE ,Bank 1 data cache enable" "Disabled,Enabled" bitfld.long 0x00 3. " B1ICE ,Bank 1 instruction cache enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " B1DPE ,Bank 1 data prefetch enable" "Disabled,Enabled" bitfld.long 0x00 1. " B1IPE ,Bank 1 instruction prefetch enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " B1SEBE ,Bank 1 single entry buffer enable" "Disabled,Enabled" endif endif endif width 13. tree "Cache Directory Storage Registers" sif cpuis("MK22D*")||cpuis("MK21D*")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*5")||cpuis("MK20D*5") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*10")||cpuis("MK10D*10R")||cpuis("MK10D*7")||cpuis("MK20D*7")||cpuis("MK20D*10*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("KK20DN512ZCAB10R") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW0S_4,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW0S_5,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW0S_6,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW0S_7,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK02*")||cpuis("MK22F*DC10")||cpuis("MKS2?FN???V??12")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK26*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK63*")||cpuis("MK64*")||cpuis("MK24*")||cpuis("MK22FN128VLH10R")||cpuis("MK22F*LQ12")||cpuis("MK22F*MD12") sif !cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FX512AVMD12") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R") group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW0S_4,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW0S_5,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW0S_6,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW0S_7,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x0+0x100)++0x03 line.long 0x00 "TAGVDW0S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x100)++0x03 line.long 0x00 "TAGVDW0S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW0S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW0S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif sif cpuis("MK22D*")||cpuis("MK21D*")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK21D*LK5")||cpuis("MK21D*MC5") group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*5")||cpuis("MK20D*5") group.long (0x8+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*10")||cpuis("MK10D*10R")||cpuis("MK10D*7")||cpuis("MK20D*7")||cpuis("MK20D*10*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("KK20DN512ZCAB10R") group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW1S_4,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW1S_5,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW1S_6,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW1S_7,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK02*")||cpuis("MK22F*DC12")||cpuis("MKS2?FN???V??12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R") sif !cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK26*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK63*")||cpuis("MK64*")||cpuis("MK24*")||cpuis("MK22FN128VLH10R") group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R") group.long (0x0+0x120)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x120)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x120)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x120)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x10+0x120)++0x03 line.long 0x00 "TAGVDW1S_4,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x120)++0x03 line.long 0x00 "TAGVDW1S_5,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x120)++0x03 line.long 0x00 "TAGVDW1S_6,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x120)++0x03 line.long 0x00 "TAGVDW1S_7,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW1S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW1S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW1S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW1S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif sif cpuis("MK22D*")||cpuis("MK21D*")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5") group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*5")||cpuis("MK20D*5") group.long (0x10+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*10")||cpuis("MK10D*10R")||cpuis("MK10D*7")||cpuis("MK20D*7")||cpuis("MK20D*10*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("KK20DN512ZCAB10R") group.long (0x40+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x44+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x48+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x50+0x100)++0x03 line.long 0x00 "TAGVDW2S_4,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x54+0x100)++0x03 line.long 0x00 "TAGVDW2S_5,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x58+0x100)++0x03 line.long 0x00 "TAGVDW2S_6,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x5C+0x100)++0x03 line.long 0x00 "TAGVDW2S_7,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK02*")||cpuis("MK22F*DC10")||cpuis("MKS2?FN???V??12")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||(cpuis("MK22F*LL12"))||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12") group.long (0x40+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x44+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x48+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK26*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK63*")||cpuis("MK64*")||cpuis("MK24*")||cpuis("MK22FN128VLH10R")||cpuis("MK22F*LQ12")||cpuis("MK22F*MD12") sif !cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FX512AVMD12") group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R") group.long (0x0+0x140)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x140)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x140)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x140)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x10+0x140)++0x03 line.long 0x00 "TAGVDW2S_4,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x140)++0x03 line.long 0x00 "TAGVDW2S_5,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x140)++0x03 line.long 0x00 "TAGVDW2S_6,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x140)++0x03 line.long 0x00 "TAGVDW2S_7,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x20+0x100)++0x03 line.long 0x00 "TAGVDW2S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x24+0x100)++0x03 line.long 0x00 "TAGVDW2S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x28+0x100)++0x03 line.long 0x00 "TAGVDW2S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x2C+0x100)++0x03 line.long 0x00 "TAGVDW2S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif sif cpuis("MK22D*")||cpuis("MK21D*")||cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK21D*MC5")||cpuis("MK21D*LK5") group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 4.--18. 1. " TAG ,15-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*5")||cpuis("MK20D*5") group.long (0x18+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK10D*10")||cpuis("MK10D*10R")||cpuis("MK10D*7")||cpuis("MK20D*7")||cpuis("MK20D*10*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("KK20DN512ZCAB10R") group.long (0x60+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x64+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x68+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x6C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x70+0x100)++0x03 line.long 0x00 "TAGVDW3S_4,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x74+0x100)++0x03 line.long 0x00 "TAGVDW3S_5,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x78+0x100)++0x03 line.long 0x00 "TAGVDW3S_6,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x7C+0x100)++0x03 line.long 0x00 "TAGVDW3S_7,Cache Directory Storage" hexmask.long.word 0x00 6.--18. 1. " TAG ,13-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK02*")||cpuis("MK22F*DC10")||cpuis("MKS2?FN???V??12")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R") sif !cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12") group.long (0x60+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x64+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x68+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x6C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK26*")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--21. 1. " TAG ,16-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" elif cpuis("MK63*")||cpuis("MK64*")||cpuis("MK24*")||cpuis("MK22FN128VLH10R")||cpuis("MK22F*LQ12")||cpuis("MK22F*MD12") sif !cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FX512AVMD12") group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif elif cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R") group.long (0x0+0x160)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x4+0x160)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x8+0x160)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0xC+0x160)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x10+0x160)++0x03 line.long 0x00 "TAGVDW3S_4,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x14+0x160)++0x03 line.long 0x00 "TAGVDW3S_5,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x18+0x160)++0x03 line.long 0x00 "TAGVDW3S_6,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x1C+0x160)++0x03 line.long 0x00 "TAGVDW3S_7,Cache Directory Storage" hexmask.long.word 0x00 5.--18. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" else group.long (0x30+0x100)++0x03 line.long 0x00 "TAGVDW3S_0,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x34+0x100)++0x03 line.long 0x00 "TAGVDW3S_1,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x38+0x100)++0x03 line.long 0x00 "TAGVDW3S_2,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" group.long (0x3C+0x100)++0x03 line.long 0x00 "TAGVDW3S_3,Cache Directory Storage" hexmask.long.word 0x00 6.--19. 1. " TAG ,14-bit tag for cache entry" bitfld.long 0x00 0. " VALID ,1-bit valid for cache entry" "Not valid,Valid" endif tree.end tree "Cache Data Storage Registers" sif cpuis("MK11D*")||cpuis("MK12D*")||cpuis("MK22D*")||cpuis("MK21D*")||cpuis("MK21D*LK5")||cpuis("MK21D*MC5") group.long 0x200++0x3F line.long 0x00 "DATAW0S_0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S0L,Cache Data Storage (Lower Word)" line.long 0x08 "DATAW0S_1U,Cache Data Storage (Upper Word)" line.long 0x0C "DATAW0S1L,Cache Data Storage (Lower Word)" line.long 0x10 "DATAW1S_0U,Cache Data Storage (Upper Word)" line.long 0x14 "DATAW1S0L,Cache Data Storage (Lower Word)" line.long 0x18 "DATAW1S_1U,Cache Data Storage (Upper Word)" line.long 0x1C "DATAW1S1L,Cache Data Storage (Lower Word)" line.long 0x20 "DATAW2S_0U,Cache Data Storage (Upper Word)" line.long 0x24 "DATAW2S0L,Cache Data Storage (Lower Word)" line.long 0x28 "DATAW2S_1U,Cache Data Storage (Upper Word)" line.long 0x2C "DATAW2S1L,Cache Data Storage (Lower Word)" line.long 0x30 "DATAW3S_0U,Cache Data Storage (Upper Word)" line.long 0x34 "DATAW3S0L,Cache Data Storage (Lower Word)" line.long 0x38 "DATAW3S_1U,Cache Data Storage (Upper Word)" line.long 0x3C "DATAW3S1L,Cache Data Storage (Lower Word)" elif cpuis("MK10D*5")||cpuis("MK20D*5") group.long 0x200++0x1F line.long 0x00 "DATAW0S0,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S1,Cache Data Storage (Lower Word)" group.long 0x208++0x1F line.long 0x00 "DATAW1S0,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S1,Cache Data Storage (Lower Word)" group.long 0x210++0x1F line.long 0x00 "DATAW2S0,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S1,Cache Data Storage (Lower Word)" group.long 0x218++0x1F line.long 0x00 "DATAW3S0,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S1,Cache Data Storage (Lower Word)" elif cpuis("MK02*")||cpuis("MK20DN512ZCAB10R")||cpuis("MK22F*DC12")||cpuis("MK22F*LL12")||cpuis("MK22F*MP12")||cpuis("MK22F*LH12")||cpuis("MK22F*DC10")||cpuis("MK22F*LL10")||cpuis("MK22F*MP10")||cpuis("MK22F*LH10")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK10D*10")||cpuis("MK10D*10R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DN512ZVLQ10")||cpuis("MK30DN512ZVLQ10R")||cpuis("MK30DX256VLL7R")||cpuis("MK30DX256ZVLQ10")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN128CAH12R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R") sif !cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0VLH10") group.long 0x200++0x07 line.long 0x00 "DATAW0S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S0L,Cache Data Storage (Lower Word)" group.long 0x208++0x07 line.long 0x00 "DATAW0S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S1L,Cache Data Storage (Lower Word)" group.long 0x210++0x07 line.long 0x00 "DATAW0S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S2L,Cache Data Storage (Lower Word)" group.long 0x218++0x07 line.long 0x00 "DATAW0S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S3L,Cache Data Storage (Lower Word)" group.long 0x240++0x07 line.long 0x00 "DATAW1S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S0L,Cache Data Storage (Lower Word)" group.long 0x248++0x07 line.long 0x00 "DATAW1S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S1L,Cache Data Storage (Lower Word)" group.long 0x250++0x07 line.long 0x00 "DATAW1S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S2L,Cache Data Storage (Lower Word)" group.long 0x258++0x07 line.long 0x00 "DATAW1S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S3L,Cache Data Storage (Lower Word)" group.long 0x260++0x07 line.long 0x00 "DATAW1S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S4L,Cache Data Storage (Lower Word)" group.long 0x268++0x07 line.long 0x00 "DATAW1S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S5L,Cache Data Storage (Lower Word)" group.long 0x270++0x07 line.long 0x00 "DATAW1S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S6L,Cache Data Storage (Lower Word)" group.long 0x278++0x07 line.long 0x00 "DATAW1S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S7L,Cache Data Storage (Lower Word)" group.long 0x280++0x07 line.long 0x00 "DATAW2S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S0L,Cache Data Storage (Lower Word)" group.long 0x288++0x07 line.long 0x00 "DATAW2S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S1L,Cache Data Storage (Lower Word)" group.long 0x290++0x07 line.long 0x00 "DATAW2S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S2L,Cache Data Storage (Lower Word)" group.long 0x298++0x07 line.long 0x00 "DATAW2S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S3L,Cache Data Storage (Lower Word)" group.long 0x2A0++0x07 line.long 0x00 "DATAW2S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S4L,Cache Data Storage (Lower Word)" group.long 0x2A8++0x07 line.long 0x00 "DATAW2S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S5L,Cache Data Storage (Lower Word)" group.long 0x2B0++0x07 line.long 0x00 "DATAW2S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S6L,Cache Data Storage (Lower Word)" group.long 0x2B8++0x07 line.long 0x00 "DATAW2S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S7L,Cache Data Storage (Lower Word)" group.long 0x2C0++0x07 line.long 0x00 "DATAW3S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S0L,Cache Data Storage (Lower Word)" group.long 0x2C8++0x07 line.long 0x00 "DATAW3S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S1L,Cache Data Storage (Lower Word)" group.long 0x2D0++0x07 line.long 0x00 "DATAW3S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S2L,Cache Data Storage (Lower Word)" group.long 0x2D8++0x07 line.long 0x00 "DATAW3S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S3L,Cache Data Storage (Lower Word)" group.long 0x2E0++0x07 line.long 0x00 "DATAW3S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S4L,Cache Data Storage (Lower Word)" group.long 0x2E8++0x07 line.long 0x00 "DATAW3S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S5L,Cache Data Storage (Lower Word)" group.long 0x2F0++0x07 line.long 0x00 "DATAW3S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S6L,Cache Data Storage (Lower Word)" group.long 0x2F8++0x07 line.long 0x00 "DATAW3S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S7L,Cache Data Storage (Lower Word)" else group.long 0x200++0xFF line.long 0x00 "DATAW0S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S0LM,Cache Data Storage (Lowermost Word)" group.long 0x210++0xFF line.long 0x00 "DATAW0S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S1LM,Cache Data Storage (Lowermost Word)" group.long 0x220++0xFF line.long 0x00 "DATAW0S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S2LM,Cache Data Storage (Lowermost Word)" group.long 0x230++0xFF line.long 0x00 "DATAW0S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S3LM,Cache Data Storage (Lowermost Word)" group.long 0x240++0xFF line.long 0x00 "DATAW1S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S0LM,Cache Data Storage (Lowermost Word)" group.long 0x250++0xFF line.long 0x00 "DATAW1S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S1LM,Cache Data Storage (Lowermost Word)" group.long 0x260++0xFF line.long 0x00 "DATAW1S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S2LM,Cache Data Storage (Lowermost Word)" group.long 0x270++0xFF line.long 0x00 "DATAW1S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S3LM,Cache Data Storage (Lowermost Word)" group.long 0x280++0xFF line.long 0x00 "DATAW2S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S0LM,Cache Data Storage (Lowermost Word)" group.long 0x290++0xFF line.long 0x00 "DATAW2S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S1LM,Cache Data Storage (Lowermost Word)" group.long 0x2A0++0xFF line.long 0x00 "DATAW2S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S2LM,Cache Data Storage (Lowermost Word)" group.long 0x2B0++0xFF line.long 0x00 "DATAW2S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S3LM,Cache Data Storage (Lowermost Word)" group.long 0x2C0++0xFF line.long 0x00 "DATAW3S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S0LM,Cache Data Storage (Lowermost Word)" group.long 0x2D0++0xFF line.long 0x00 "DATAW3S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S1LM,Cache Data Storage (Lowermost Word)" group.long 0x2E0++0xFF line.long 0x00 "DATAW3S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S2LM,Cache Data Storage (Lowermost Word)" group.long 0x2F0++0xFF line.long 0x00 "DATAW3S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S3LM,Cache Data Storage (Lowermost Word)" endif elif cpuis("MK64*")||cpuis("MK63*")||cpuis("MK24*")||cpuis("MK22FN128VLH10R") group.long 0x200++0x07 line.long 0x00 "DATAW0S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S0L,Cache Data Storage (Lower Word)" group.long 0x208++0x07 line.long 0x00 "DATAW0S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S1L,Cache Data Storage (Lower Word)" group.long 0x210++0x07 line.long 0x00 "DATAW0S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S2L,Cache Data Storage (Lower Word)" group.long 0x218++0x07 line.long 0x00 "DATAW0S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S3L,Cache Data Storage (Lower Word)" group.long 0x220++0x07 line.long 0x00 "DATAW1S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S0L,Cache Data Storage (Lower Word)" group.long 0x228++0x07 line.long 0x00 "DATAW1S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S1L,Cache Data Storage (Lower Word)" group.long 0x230++0x07 line.long 0x00 "DATAW1S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S2L,Cache Data Storage (Lower Word)" group.long 0x238++0x07 line.long 0x00 "DATAW1S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S3L,Cache Data Storage (Lower Word)" group.long 0x240++0x07 line.long 0x00 "DATAW2S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S0L,Cache Data Storage (Lower Word)" group.long 0x248++0x07 line.long 0x00 "DATAW2S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S1L,Cache Data Storage (Lower Word)" group.long 0x250++0x07 line.long 0x00 "DATAW2S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S2L,Cache Data Storage (Lower Word)" group.long 0x258++0x07 line.long 0x00 "DATAW2S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S3L,Cache Data Storage (Lower Word)" group.long 0x260++0x07 line.long 0x00 "DATAW3S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S0L,Cache Data Storage (Lower Word)" group.long 0x268++0x07 line.long 0x00 "DATAW3S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S1L,Cache Data Storage (Lower Word)" group.long 0x270++0x07 line.long 0x00 "DATAW3S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S2L,Cache Data Storage (Lower Word)" group.long 0x278++0x07 line.long 0x00 "DATAW3S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S3L,Cache Data Storage (Lower Word)" elif cpuis("MKS2?FN???V??12")||cpuis("MK20D????ZVLL10")||cpuis("MK20DN???ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10*")||cpuis("MK10DN512ZVMD10*")||cpuis("MK10DN512ZVMC10*")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10*") group.long 0x200++0x07 line.long 0x00 "DATAW0S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S0L,Cache Data Storage (Lower Word)" group.long 0x208++0x07 line.long 0x00 "DATAW0S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S1L,Cache Data Storage (Lower Word)" group.long 0x210++0x07 line.long 0x00 "DATAW0S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S2L,Cache Data Storage (Lower Word)" group.long 0x218++0x07 line.long 0x00 "DATAW0S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S3L,Cache Data Storage (Lower Word)" group.long 0x220++0x07 line.long 0x00 "DATAW0S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S4L,Cache Data Storage (Lower Word)" group.long 0x228++0x07 line.long 0x00 "DATAW0S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S5L,Cache Data Storage (Lower Word)" group.long 0x230++0x07 line.long 0x00 "DATAW0S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S6L,Cache Data Storage (Lower Word)" group.long 0x238++0x07 line.long 0x00 "DATAW0S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW0S7L,Cache Data Storage (Lower Word)" group.long 0x240++0x07 line.long 0x00 "DATAW1S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S0L,Cache Data Storage (Lower Word)" group.long 0x248++0x07 line.long 0x00 "DATAW1S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S1L,Cache Data Storage (Lower Word)" group.long 0x250++0x07 line.long 0x00 "DATAW1S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S2L,Cache Data Storage (Lower Word)" group.long 0x258++0x07 line.long 0x00 "DATAW1S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S3L,Cache Data Storage (Lower Word)" group.long 0x260++0x07 line.long 0x00 "DATAW1S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S4L,Cache Data Storage (Lower Word)" group.long 0x268++0x07 line.long 0x00 "DATAW1S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S5L,Cache Data Storage (Lower Word)" group.long 0x270++0x07 line.long 0x00 "DATAW1S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S6L,Cache Data Storage (Lower Word)" group.long 0x278++0x07 line.long 0x00 "DATAW1S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW1S7L,Cache Data Storage (Lower Word)" group.long 0x280++0x07 line.long 0x00 "DATAW2S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S0L,Cache Data Storage (Lower Word)" group.long 0x288++0x07 line.long 0x00 "DATAW2S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S1L,Cache Data Storage (Lower Word)" group.long 0x290++0x07 line.long 0x00 "DATAW2S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S2L,Cache Data Storage (Lower Word)" group.long 0x298++0x07 line.long 0x00 "DATAW2S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S3L,Cache Data Storage (Lower Word)" group.long 0x2A0++0x07 line.long 0x00 "DATAW2S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S4L,Cache Data Storage (Lower Word)" group.long 0x2A8++0x07 line.long 0x00 "DATAW2S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S5L,Cache Data Storage (Lower Word)" group.long 0x2B0++0x07 line.long 0x00 "DATAW2S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S6L,Cache Data Storage (Lower Word)" group.long 0x2B8++0x07 line.long 0x00 "DATAW2S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW2S7L,Cache Data Storage (Lower Word)" group.long 0x2C0++0x07 line.long 0x00 "DATAW3S0U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S0L,Cache Data Storage (Lower Word)" group.long 0x2C8++0x07 line.long 0x00 "DATAW3S1U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S1L,Cache Data Storage (Lower Word)" group.long 0x2D0++0x07 line.long 0x00 "DATAW3S2U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S2L,Cache Data Storage (Lower Word)" group.long 0x2D8++0x07 line.long 0x00 "DATAW3S3U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S3L,Cache Data Storage (Lower Word)" group.long 0x2E0++0x07 line.long 0x00 "DATAW3S4U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S4L,Cache Data Storage (Lower Word)" group.long 0x2E8++0x07 line.long 0x00 "DATAW3S5U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S5L,Cache Data Storage (Lower Word)" group.long 0x2F0++0x07 line.long 0x00 "DATAW3S6U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S6L,Cache Data Storage (Lower Word)" group.long 0x2F8++0x07 line.long 0x00 "DATAW3S7U,Cache Data Storage (Upper Word)" line.long 0x04 "DATAW3S7L,Cache Data Storage (Lower Word)" else group.long 0x200++0xFF line.long 0x00 "DATAW0S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S0LM,Cache Data Storage (Lowermost Word)" group.long 0x210++0xFF line.long 0x00 "DATAW0S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S1LM,Cache Data Storage (Lowermost Word)" group.long 0x220++0xFF line.long 0x00 "DATAW0S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S2LM,Cache Data Storage (Lowermost Word)" group.long 0x230++0xFF line.long 0x00 "DATAW0S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW0S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW0S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW0S3LM,Cache Data Storage (Lowermost Word)" group.long 0x240++0xFF line.long 0x00 "DATAW1S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S0LM,Cache Data Storage (Lowermost Word)" group.long 0x250++0xFF line.long 0x00 "DATAW1S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S1LM,Cache Data Storage (Lowermost Word)" group.long 0x260++0xFF line.long 0x00 "DATAW1S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S2LM,Cache Data Storage (Lowermost Word)" group.long 0x270++0xFF line.long 0x00 "DATAW1S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW1S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW1S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW1S3LM,Cache Data Storage (Lowermost Word)" group.long 0x280++0xFF line.long 0x00 "DATAW2S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S0LM,Cache Data Storage (Lowermost Word)" group.long 0x290++0xFF line.long 0x00 "DATAW2S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S1LM,Cache Data Storage (Lowermost Word)" group.long 0x2A0++0xFF line.long 0x00 "DATAW2S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S2LM,Cache Data Storage (Lowermost Word)" group.long 0x2B0++0xFF line.long 0x00 "DATAW2S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW2S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW2S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW2S3LM,Cache Data Storage (Lowermost Word)" group.long 0x2C0++0xFF line.long 0x00 "DATAW3S0UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S0MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S0ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S0LM,Cache Data Storage (Lowermost Word)" group.long 0x2D0++0xFF line.long 0x00 "DATAW3S1UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S1MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S1ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S1LM,Cache Data Storage (Lowermost Word)" group.long 0x2E0++0xFF line.long 0x00 "DATAW3S2UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S2MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S2ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S2LM,Cache Data Storage (Lowermost Word)" group.long 0x2F0++0xFF line.long 0x00 "DATAW3S3UM,Cache Data Storage (Uppermost Word)" line.long 0x04 "DATAW3S3MU,Cache Data Storage (Mid Upper)" line.long 0x08 "DATAW3S3ML,Cache Data Storage (Mid Lower)" line.long 0x0C "DATAW3S3LM,Cache Data Storage (Lowermost Word)" endif tree.end width 0x0B tree.end tree "FTFE (Flash Memory Module)" base ad:0x40020000 width 7. group.byte 0x00++0x01 line.byte 0x00 "FSTAT,Flash Status Register" eventfld.byte 0x00 7. " CCIF ,Command complete interrupt flag" "Not completed,Completed" eventfld.byte 0x00 6. " RDCOLERR ,Flash read collision error flag" "No error,Error" newline eventfld.byte 0x00 5. " ACCERR ,Flash access error flag" "No error,Error" eventfld.byte 0x00 4. " FPVIOL ,Flash protection violation flag" "Not detected,Detected" newline rbitfld.byte 0x00 0. " MGSTAT0 ,Memory controller command completion status flag" "No error,Error" line.byte 0x01 "FCNFG,Flash Configuration Register" bitfld.byte 0x01 7. " CCIE ,Command complete interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 6. " RDCOLLIE ,Read collision error interrupt enable" "Disabled,Enabled" newline rbitfld.byte 0x01 5. " ERSAREQ ,Erase all request" "Not erased,Erased" bitfld.byte 0x01 4. " ERSSUSP ,Erase suspend" "Not suspended,Suspended" sif cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVMC10")||cpuis("MK11DN512VLK5R")||cpuis("MK11DN512AVLK5R")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R") sif !cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMC10R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",Program flash only" newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" else newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",Program flash only" newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" endif elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK21D*AVMC5R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",Program flash only" newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" elif cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",4 flash blocks" newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" elif cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,?..." rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "2 flash and 2 FlexNVM blocks,?..." newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" elif cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") newline rbitfld.byte 0x01 3. " SWAP ,Indicates which half of program flash space is located at relative address 0x0000" "0/1 blocks,2/3 blocks" rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" elif cpuis("MK84FN2M0CAU15R")||cpuis("KK60DN512ZCAB10R") newline rbitfld.byte 0x01 3. " SWAP ,Indicates which half of program flash space is located at relative address 0x0000" "0/1 blocks,2/3 blocks" rbitfld.byte 0x01 2. " PFLSH ,FTFE configuration (number of supported blocks)" ",4 flash blocks" newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not ready,Ready" elif cpuis("MK???X*")||cpuis("MK22FN1M0VMC10")||cpuis("MK53DN512ZCMD10")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DN512ZVMC10*") sif !cpuis("MK02*") sif cpuis("MK21D*AVLK5")||cpuis("MK21D*AVMC5")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7") newline rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "Flash and/or EEPROM,?..." elif cpuis("MK20DN512ZVMC10*")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLQ10R")||cpuis("MK10DX256ZVLQ10")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK10DX256ZVMD10")||cpuis("MK40D*Z*10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DX256ZVLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DX256ZCMC10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20D????ZVLL10") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "Flash and/or EEPROM,?..." elif cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLH12") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,?..." rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "2 flash and 2 FlexNVM blocks,?..." elif !cpuis("MK10D?128V??5")&&!cpuis("MK10D?64V??5")&&!cpuis("MK10D?32V??5")&&!cpuis("MK10*7")&&!cpuis("MK30DX256VLL7R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "2 flash and 2 FlexNVM blocks,?..." else newline rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" "2 flash and 2 FlexNVM blocks,?..." endif newline rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "FlexRAM not available,FlexRAM available" sif !cpuis("MK20DX256VLK10R") newline rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" endif endif elif cpuis("MK???N*")||cpuis("KK26FN2M0CAC18R") sif !cpuis("MK02*")&&!cpuis("MK22FN256*")&&!cpuis("MK22FN128*")&&!cpuis("MK8?FN256V*")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK22FN512VDC12R")&&!cpuis("MK22FN512VFX12*")&&!cpuis("MK22FN512VLH12R") sif (cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12"))||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK40D*Z*10")||cpuis("MK21FN1M0VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VMC10")||cpuis("MK21FN1M0VMC10")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,1 block at 0x0000" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK70FN1M0VMJ12R")||cpuis("MK70FN1M0VMJ15R")||cpuis("KK26FN2M0CAC18R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0/1 block at 0x0000,2/3 block at 0x0000" elif !cpuis("MK10D?128V??5")&&!cpuis("MK10D?64V??5")&&!cpuis("MK10D?32V??5")&&!cpuis("MK10DN512ZVLK10")&&!cpuis("MK10DN512ZVLK10R")&&!cpuis("MK10DN512ZVLL10")&&!cpuis("MK10DN512ZVLL10R")&&!cpuis("MK10DN512ZVMC10")&&!cpuis("MK11DN512VLK5R")&&!cpuis("MK11DN512AVLK5R")&&!cpuis("MK10*7")&&!cpuis("MK70FN1M0VMJ12R")&&!cpuis("MK70FN1M0VMJ15R") newline rbitfld.byte 0x01 3. " SWAP ,Swap" "0 block at 0x0000,?..." endif sif cpuis("MK21D*AVLK5")||cpuis("MK21D*AVMC5")||cpuis("MK20DX256VLK10R")||cpuis("MK60DN512ZCAB10R") newline bitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",Program flash only" rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10") newline rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",Program flash only" rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" elif cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R") newline rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",2 flash blocks" rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" else newline rbitfld.byte 0x01 2. " PFLSH ,Flash configuration" ",4 flash blocks" rbitfld.byte 0x01 1. " RAMRDY ,RAM ready" "Not available,Available" endif sif (cpuis("MK10F????VLQ12")||cpuis("MK10F????VMD12"))||(cpuis("MK10D?128V??5")||cpuis("MK10D?64V??5")||cpuis("MK10D?32V??5"))||cpuis("MK10DN512VLQ10")||cpuis("MK10DN512VMD10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R") newline rbitfld.byte 0x01 0. " EEERDY ,EEPROM ready" "Not available,Available" endif endif endif rgroup.byte 0x02++0x01 line.byte 0x00 "FSEC,Flash Security Register" bitfld.byte 0x00 6.--7. " KEYEN ,Backdoor key security enable" "Disabled,Disabled,Enabled,Disabled" bitfld.byte 0x00 4.--5. " MEEN ,Mass erase enable bits" "Enabled,Enabled,Disabled,Enabled" newline bitfld.byte 0x00 2.--3. " FSLACC ,Freescale failure analysis access code" "Granted,Denied,Denied,Granted" bitfld.byte 0x00 0.--1. " SEC ,Flash security" "Secure,Secure,Unsecure,Secure" line.byte 0x01 "FOPT,Flash Option Register" sif cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.byte 0x01 6.--7. " BOOTSRC_SEL ,Boot source selection" "Internal flash,,ROM/QSPI0,ROM/boot loader mode" newline endif sif cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") bitfld.byte 0x01 5. " FAST_INIT ,Select initialization speed on POR\VLLSx and any system reset" "Slower initialization,Fast initialization" newline endif sif cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN128CAH12R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK70*")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVLQ10*")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK63FN1M0VLQ12")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18")||cpuis("MK66FN2M0VLQ18") sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK70*")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10*")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10*")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVMC10*")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") bitfld.byte 0x01 2. " NMI_DIS ,Enable/disable control for the NMI function" "Disabled,Enabled" newline endif sif !cpuis("MKS20FN128VFT12")&&!cpuis("MKS20FN128VLH12")&&!cpuis("MKS20FN128VLL12")&&!cpuis("MKS20FN256VFT12")&&!cpuis("MKS20FN256VLH12")&&!cpuis("MKS20FN256VLL12")&&!cpuis("MKS22FN128VFT12")&&!cpuis("MKS22FN128VLH12")&&!cpuis("MKS22FN128VLL12")&&!cpuis("MKS22FN256VFT12")&&!cpuis("MKS22FN256VLH12")&&!cpuis("MKS22FN256VLL12") bitfld.byte 0x01 1. " EZPORT_DIS ,Enable/disable EzPort function" "Disabled,Enabled" newline endif bitfld.byte 0x01 0. " LPBOOT ,Control the reset value of OUTDIVx values in SIM_CLKDIV1 register" "Low-power boot,Normal boot" endif width 9. newline sif cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK21FX512VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN128CAH12R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") if (((per.b(ad:0x40020000))&0x80)==0x0)||(((per.b(ad:0x40020000+0x01))&0x10)==0x10) rgroup.byte (0x04+0x0)++0x00 line.byte 0x00 "FCCOB3,Flash Common Command Object Register" rgroup.byte (0x04+0x1)++0x00 line.byte 0x00 "FCCOB2,Flash Common Command Object Register" rgroup.byte (0x04+0x2)++0x00 line.byte 0x00 "FCCOB1,Flash Common Command Object Register" rgroup.byte (0x04+0x3)++0x00 line.byte 0x00 "FCCOB0,Flash Common Command Object Register" rgroup.byte (0x04+0x4)++0x00 line.byte 0x00 "FCCOB7,Flash Common Command Object Register" rgroup.byte (0x04+0x5)++0x00 line.byte 0x00 "FCCOB6,Flash Common Command Object Register" rgroup.byte (0x04+0x6)++0x00 line.byte 0x00 "FCCOB5,Flash Common Command Object Register" rgroup.byte (0x04+0x7)++0x00 line.byte 0x00 "FCCOB4,Flash Common Command Object Register" rgroup.byte (0x04+0x8)++0x00 line.byte 0x00 "FCCOBB,Flash Common Command Object Register" rgroup.byte (0x04+0x9)++0x00 line.byte 0x00 "FCCOBA,Flash Common Command Object Register" rgroup.byte (0x04+0xA)++0x00 line.byte 0x00 "FCCOB9,Flash Common Command Object Register" rgroup.byte (0x04+0xB)++0x00 line.byte 0x00 "FCCOB8,Flash Common Command Object Register" rgroup.byte 0x10++0x03 line.byte 0x00 "FPROT_3,Program Flash Protection Register 3" bitfld.byte 0x00 7. " PROT_[7] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,Program flash region protect" "Protected,Not protected" line.byte 0x01 "FPROT_2,Program Flash Protection Register 2" bitfld.byte 0x01 7. " [15] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [14] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [13] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [12] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [11] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [10] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [9] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [8] ,Program flash region protect" "Protected,Not protected" line.byte 0x02 "FPROT_1,Program Flash Protection Register 1" bitfld.byte 0x02 7. " [23] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 6. " [22] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 5. " [21] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 4. " [20] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x02 3. " [19] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 2. " [18] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 1. " [17] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 0. " [16] ,Program flash region protect" "Protected,Not protected" line.byte 0x03 "FPROT_0,Program Flash Protection Register 0" bitfld.byte 0x03 7. " [31] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 6. " [30] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 5. " [29] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 4. " [28] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x03 3. " [27] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 2. " [26] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 1. " [25] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 0. " [24] ,Program flash region protect" "Protected,Not protected" newline else group.byte (0x04+0x0)++0x00 line.byte 0x00 "FCCOB3,Flash Common Command Object Register" group.byte (0x04+0x1)++0x00 line.byte 0x00 "FCCOB2,Flash Common Command Object Register" group.byte (0x04+0x2)++0x00 line.byte 0x00 "FCCOB1,Flash Common Command Object Register" group.byte (0x04+0x3)++0x00 line.byte 0x00 "FCCOB0,Flash Common Command Object Register" group.byte (0x04+0x4)++0x00 line.byte 0x00 "FCCOB7,Flash Common Command Object Register" group.byte (0x04+0x5)++0x00 line.byte 0x00 "FCCOB6,Flash Common Command Object Register" group.byte (0x04+0x6)++0x00 line.byte 0x00 "FCCOB5,Flash Common Command Object Register" group.byte (0x04+0x7)++0x00 line.byte 0x00 "FCCOB4,Flash Common Command Object Register" group.byte (0x04+0x8)++0x00 line.byte 0x00 "FCCOBB,Flash Common Command Object Register" group.byte (0x04+0x9)++0x00 line.byte 0x00 "FCCOBA,Flash Common Command Object Register" group.byte (0x04+0xA)++0x00 line.byte 0x00 "FCCOB9,Flash Common Command Object Register" group.byte (0x04+0xB)++0x00 line.byte 0x00 "FCCOB8,Flash Common Command Object Register" group.byte 0x10++0x03 line.byte 0x00 "FPROT_3,Program Flash Protection Register 3" bitfld.byte 0x00 7. " PROT_[7] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,Program flash region protect" "Protected,Not protected" line.byte 0x01 "FPROT_2,Program Flash Protection Register 2" bitfld.byte 0x01 7. " [15] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [14] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [13] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [12] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [11] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [10] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [9] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [8] ,Program flash region protect" "Protected,Not protected" line.byte 0x02 "FPROT_1,Program Flash Protection Register 1" bitfld.byte 0x02 7. " [23] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 6. " [22] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 5. " [21] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 4. " [20] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x02 3. " [19] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 2. " [18] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 1. " [17] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 0. " [16] ,Program flash region protect" "Protected,Not protected" line.byte 0x03 "FPROT_0,Program Flash Protection Register 0" bitfld.byte 0x03 7. " [31] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 6. " [30] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 5. " [29] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 4. " [28] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x03 3. " [27] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 2. " [26] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 1. " [25] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 0. " [24] ,Program flash region protect" "Protected,Not protected" newline endif else if (((per.b(ad:0x40020000))&0x80)==0x0)||(((per.b(ad:0x40020000+0x01))&0x10)==0x10) rgroup.byte (0x04+0x0)++0x00 line.byte 0x00 "FCCOB3,Flash Common Command Object Register" rgroup.byte (0x04+0x1)++0x00 line.byte 0x00 "FCCOB2,Flash Common Command Object Register" rgroup.byte (0x04+0x2)++0x00 line.byte 0x00 "FCCOB1,Flash Common Command Object Register" rgroup.byte (0x04+0x3)++0x00 line.byte 0x00 "FCCOB0,Flash Common Command Object Register" rgroup.byte (0x04+0x4)++0x00 line.byte 0x00 "FCCOB7,Flash Common Command Object Register" rgroup.byte (0x04+0x5)++0x00 line.byte 0x00 "FCCOB6,Flash Common Command Object Register" rgroup.byte (0x04+0x6)++0x00 line.byte 0x00 "FCCOB5,Flash Common Command Object Register" rgroup.byte (0x04+0x7)++0x00 line.byte 0x00 "FCCOB4,Flash Common Command Object Register" rgroup.byte (0x04+0x8)++0x00 line.byte 0x00 "FCCOBB,Flash Common Command Object Register" rgroup.byte (0x04+0x9)++0x00 line.byte 0x00 "FCCOBA,Flash Common Command Object Register" rgroup.byte (0x04+0xA)++0x00 line.byte 0x00 "FCCOB9,Flash Common Command Object Register" rgroup.byte (0x04+0xB)++0x00 line.byte 0x00 "FCCOB8,Flash Common Command Object Register" rgroup.byte 0x10++0x03 line.byte 0x00 "FPROT_3,Program Flash Protection Register 3" bitfld.byte 0x00 7. " PROT_[31] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [30] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [29] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [28] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [27] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [26] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [25] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [24] ,Program flash region protect" "Protected,Not protected" line.byte 0x01 "FPROT_2,Program Flash Protection Register 2" bitfld.byte 0x01 7. " [23] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [22] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [21] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [20] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [19] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [18] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [17] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [16] ,Program flash region protect" "Protected,Not protected" line.byte 0x02 "FPROT_1,Program Flash Protection Register 1" bitfld.byte 0x02 7. " [15] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 6. " [14] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 5. " [13] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 4. " [12] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x02 3. " [11] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 2. " [10] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 1. " [9] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 0. " [8] ,Program flash region protect" "Protected,Not protected" line.byte 0x03 "FPROT_0,Program Flash Protection Register 0" bitfld.byte 0x03 7. " [7] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 6. " [6] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 5. " [5] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 4. " [4] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x03 3. " [3] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 2. " [2] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 1. " [1] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 0. " [0] ,Program flash region protect" "Protected,Not protected" newline else group.byte (0x04+0x0)++0x00 line.byte 0x00 "FCCOB3,Flash Common Command Object Register" group.byte (0x04+0x1)++0x00 line.byte 0x00 "FCCOB2,Flash Common Command Object Register" group.byte (0x04+0x2)++0x00 line.byte 0x00 "FCCOB1,Flash Common Command Object Register" group.byte (0x04+0x3)++0x00 line.byte 0x00 "FCCOB0,Flash Common Command Object Register" group.byte (0x04+0x4)++0x00 line.byte 0x00 "FCCOB7,Flash Common Command Object Register" group.byte (0x04+0x5)++0x00 line.byte 0x00 "FCCOB6,Flash Common Command Object Register" group.byte (0x04+0x6)++0x00 line.byte 0x00 "FCCOB5,Flash Common Command Object Register" group.byte (0x04+0x7)++0x00 line.byte 0x00 "FCCOB4,Flash Common Command Object Register" group.byte (0x04+0x8)++0x00 line.byte 0x00 "FCCOBB,Flash Common Command Object Register" group.byte (0x04+0x9)++0x00 line.byte 0x00 "FCCOBA,Flash Common Command Object Register" group.byte (0x04+0xA)++0x00 line.byte 0x00 "FCCOB9,Flash Common Command Object Register" group.byte (0x04+0xB)++0x00 line.byte 0x00 "FCCOB8,Flash Common Command Object Register" group.byte 0x10++0x03 line.byte 0x00 "FPROT_3,Program Flash Protection Register 3" bitfld.byte 0x00 7. " PROT_[31] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [30] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [29] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [28] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [27] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [26] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [25] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [24] ,Program flash region protect" "Protected,Not protected" line.byte 0x01 "FPROT_2,Program Flash Protection Register 2" bitfld.byte 0x01 7. " [23] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [22] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [21] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [20] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [19] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [18] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [17] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [16] ,Program flash region protect" "Protected,Not protected" line.byte 0x02 "FPROT_1,Program Flash Protection Register 1" bitfld.byte 0x02 7. " [15] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 6. " [14] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 5. " [13] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 4. " [12] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x02 3. " [11] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 2. " [10] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 1. " [9] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x02 0. " [8] ,Program flash region protect" "Protected,Not protected" line.byte 0x03 "FPROT_0,Program Flash Protection Register 0" bitfld.byte 0x03 7. " [7] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 6. " [6] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 5. " [5] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 4. " [4] ,Program flash region protect" "Protected,Not protected" newline bitfld.byte 0x03 3. " [3] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 2. " [2] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 1. " [1] ,Program flash region protect" "Protected,Not protected" bitfld.byte 0x03 0. " [0] ,Program flash region protect" "Protected,Not protected" newline endif endif sif !cpuis("MK8?FN256V*")&&!cpuis("MK02*")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK40D*ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MKS20FN128V??12")&&!cpuis("MKS22FN128V??12")&&!cpuis("MKS20FN256V??12")&&!cpuis("MKS22FN256V??12")&&!cpuis("MK20D????ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("KK22FN???CAH12R")&&!cpuis("MK22FN256VLL12R")&&!cpuis("KK22FN???C?P12R")&&!cpuis("MK22FN512VDC12*")&&!cpuis("MK22FN512VFX12*")&&!cpuis("MK22FN512VLH12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("?K28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK10DN512ZV??10*")&&!cpuis("MK10DX256ZV??10*")&&!cpuis("MK11DN512AVLK5*")&&!cpuis("MK11DN512VLK5*")&&!cpuis("MK20DN512VLK10")&&!cpuis("MK22FN128VLH10")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN256VLL12")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15") if (((per.l(ad:0x40020000))&0x80)==0x0)||(((per.l(ad:0x40020000+0x01))&0x10)==0x10) sif cpuis("MK???X*") rgroup.byte 0x16++0x01 line.byte 0x00 "FEPROT,EEPROM Protection Register" bitfld.byte 0x00 7. " EPROT_[7] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,EEPROM region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,EEPROM region protect" "Protected,Not protected" line.byte 0x01 "FDPROT,Data Flash Protection Register" bitfld.byte 0x01 7. " DPROT_[7] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [6] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [5] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [4] ,Data flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [3] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [2] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [1] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [0] ,Data flash region protect" "Protected,Not protected" else hgroup.byte 0x16++0x0 hide.byte 0x00 "FEPROT,EEPROM Protection Register" rgroup.byte 0x17++0x00 line.byte 0x00 "FDPROT,Data Flash Protection Register" bitfld.byte 0x00 7. " DPROT_[7] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,Data flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,Data flash region protect" "Protected,Not protected" endif else sif cpuis("MK???X*") group.byte 0x16++0x01 line.byte 0x00 "FEPROT,EEPROM Protection Register" bitfld.byte 0x00 7. " EPROT_[7] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,EEPROM region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,EEPROM region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,EEPROM region protect" "Protected,Not protected" line.byte 0x01 "FDPROT,Data Flash Protection Register" bitfld.byte 0x01 7. " DPROT_[7] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 6. " [6] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 5. " [5] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 4. " [4] ,Data flash region protect" "Protected,Not protected" newline bitfld.byte 0x01 3. " [3] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 2. " [2] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 1. " [1] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x01 0. " [0] ,Data flash region protect" "Protected,Not protected" else hgroup.byte 0x16++0x0 hide.byte 0x00 "FEPROT,EEPROM Protection Register" group.byte 0x17++0x00 line.byte 0x00 "FDPROT,Data Flash Protection Register" bitfld.byte 0x00 7. " DPROT_[7] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 6. " [6] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 5. " [5] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 4. " [4] ,Data flash region protect" "Protected,Not protected" newline bitfld.byte 0x00 3. " [3] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 2. " [2] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 1. " [1] ,Data flash region protect" "Protected,Not protected" bitfld.byte 0x00 0. " [0] ,Data flash region protect" "Protected,Not protected" endif endif newline endif sif cpuis("MK02*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MKS20FN128V??12")||cpuis("MKS22FN128V??12")||cpuis("MKS20FN256V??12")||cpuis("MKS22FN256V??12")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") sif !cpuis("MK22FN128CAH12R") rgroup.byte 0x18++0x03 line.byte 0x00 "XACCH3,Execute-only Access Register 3" bitfld.byte 0x00 7. " XA_[39] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 6. " [38] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 5. " [37] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 4. " [36] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x00 3. " [35] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 2. " [34] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 1. " [33] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 0. " [32] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x01 "XACCH2,Execute-only Access Register 2" bitfld.byte 0x01 7. " [47] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 6. " [46] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 5. " [45] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 4. " [44] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x01 3. " [43] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 2. " [42] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 1. " [41] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 0. " [40] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x02 "XACCH1,Execute-only Access Register 1" bitfld.byte 0x02 7. " [55] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 6. " [54] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 5. " [53] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 4. " [52] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x02 3. " [51] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 2. " [50] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 1. " [49] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 0. " [48] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x03 "XACCH0,Execute-only Access Register 0" bitfld.byte 0x03 7. " [63] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 6. " [62] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 5. " [61] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 4. " [60] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x03 3. " [59] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 2. " [58] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 1. " [57] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 0. " [56] ,Execute-only access control" "Execute-only,Execute/Data" endif rgroup.byte 0x1C++0x03 line.byte 0x00 "XACCL3,Execute-only Access Register 3" sif cpuis("MK22FN128CAH12R") bitfld.byte 0x00 7. " XA_[7] ,Execute-only access control" "Execute-only,Execute/Data" else bitfld.byte 0x00 7. " [7] ,Execute-only access control" "Execute-only,Execute/Data" endif bitfld.byte 0x00 6. " [6] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 5. " [5] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 4. " [4] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x00 3. " [3] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 2. " [2] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 1. " [1] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x00 0. " [0] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x01 "XACCL2,Execute-only Access Register 2" bitfld.byte 0x01 7. " [15] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 6. " [14] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 5. " [13] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 4. " [12] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x01 3. " [11] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 2. " [10] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 1. " [9] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x01 0. " [8] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x02 "XACCL1,Execute-only Access Register 1" bitfld.byte 0x02 7. " [23] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 6. " [22] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 5. " [21] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 4. " [20] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x02 3. " [19] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 2. " [18] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 1. " [17] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x02 0. " [16] ,Execute-only access control" "Execute-only,Execute/Data" line.byte 0x03 "XACCL0,Execute-only Access Register 0" bitfld.byte 0x03 7. " [31] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 6. " [30] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 5. " [29] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 4. " [28] ,Execute-only access control" "Execute-only,Execute/Data" newline bitfld.byte 0x03 3. " [27] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 2. " [26] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 1. " [25] ,Execute-only access control" "Execute-only,Execute/Data" bitfld.byte 0x03 0. " [24] ,Execute-only access control" "Execute-only,Execute/Data" newline sif !cpuis("MK22FN128CAH12R") rgroup.byte 0x20++0x03 line.byte 0x00 "SACCH3,Supervisor-only Access Register 3" bitfld.byte 0x00 7. " SA_[39] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 6. " [38] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 5. " [37] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 4. " [36] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x00 3. " [35] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 2. " [34] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 1. " [33] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 0. " [32] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x01 "SACCH2,Supervisor-only Access Register 2" bitfld.byte 0x01 7. " [47] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 6. " [46] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 5. " [45] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 4. " [44] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x01 3. " [43] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 2. " [42] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 1. " [41] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 0. " [40] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x02 "SACCH1,Supervisor-only Access Register 1" bitfld.byte 0x02 7. " [55] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 6. " [54] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 5. " [53] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 4. " [52] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x02 3. " [51] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 2. " [50] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 1. " [49] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 0. " [48] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x03 "SACCH0,Supervisor-only Access Register 0" bitfld.byte 0x03 7. " [63] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 6. " [62] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 5. " [61] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 4. " [60] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x03 3. " [59] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 2. " [58] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 1. " [57] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 0. " [56] ,Supervisor-only access control" "Supervisor,User/Supervisor" endif rgroup.byte 0x24++0x03 line.byte 0x00 "SACCL3,Supervisor-only Access Register 3" sif cpuis("MK22FN128CAH12R") bitfld.byte 0x00 7. " SA_[7] ,Supervisor-only access control" "Supervisor,User/Supervisor" else bitfld.byte 0x00 7. " [7] ,Supervisor-only access control" "Supervisor,User/Supervisor" endif bitfld.byte 0x00 6. " [6] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 5. " [5] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 4. " [4] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x00 3. " [3] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 2. " [2] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 1. " [1] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x00 0. " [0] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x01 "SACCL2,Supervisor-only Access Register 2" bitfld.byte 0x01 7. " [15] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 6. " [14] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 5. " [13] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 4. " [12] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x01 3. " [11] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 2. " [10] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 1. " [9] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x01 0. " [8] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x02 "SACCL1,Supervisor-only Access Register 1" bitfld.byte 0x02 7. " [23] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 6. " [22] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 5. " [21] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 4. " [20] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x02 3. " [19] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 2. " [18] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 1. " [17] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x02 0. " [16] ,Supervisor-only access control" "Supervisor,User/Supervisor" line.byte 0x03 "SACCL0,Supervisor-only Access Register 0" bitfld.byte 0x03 7. " [31] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 6. " [30] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 5. " [29] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 4. " [28] ,Supervisor-only access control" "Supervisor,User/Supervisor" newline bitfld.byte 0x03 3. " [27] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 2. " [26] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 1. " [25] ,Supervisor-only access control" "Supervisor,User/Supervisor" bitfld.byte 0x03 0. " [24] ,Supervisor-only access control" "Supervisor,User/Supervisor" rgroup.byte 0x28++0x00 line.byte 0x00 "FACSS,Flash Access Segment Size Register" rgroup.byte 0x2B++0x00 line.byte 0x00 "FACSN,Flash Access Segment Number Register" endif width 0x0B tree.end sif cpuis("?????X*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") sif !cpuis("MK51DX256ZCMC10") tree "FLEXBUS (External Bus Interface)" base ad:0x4000C000 width 8. tree "Chip Select 0" group.long 0x0++0x07 line.long 0x00 "CSAR0,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR0,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0x0+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0x0+0x08)&0x100)==0x00) group.long (0x0+0x08)++0x03 line.long 0x00 "CSCR0,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x0+0x08)++0x03 line.long 0x00 "CSCR0,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0x0+0x08)&0x100)==0x00) group.long (0x0+0x08)++0x03 line.long 0x00 "CSCR0,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x0+0x08)++0x03 line.long 0x00 "CSCR0,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end tree "Chip Select 1" group.long 0xC++0x07 line.long 0x00 "CSAR1,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR1,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0xC+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0xC+0x08)&0x100)==0x00) group.long (0xC+0x08)++0x03 line.long 0x00 "CSCR1,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0xC+0x08)++0x03 line.long 0x00 "CSCR1,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0xC+0x08)&0x100)==0x00) group.long (0xC+0x08)++0x03 line.long 0x00 "CSCR1,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0xC+0x08)++0x03 line.long 0x00 "CSCR1,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end tree "Chip Select 2" group.long 0x18++0x07 line.long 0x00 "CSAR2,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR2,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0x18+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0x18+0x08)&0x100)==0x00) group.long (0x18+0x08)++0x03 line.long 0x00 "CSCR2,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x18+0x08)++0x03 line.long 0x00 "CSCR2,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0x18+0x08)&0x100)==0x00) group.long (0x18+0x08)++0x03 line.long 0x00 "CSCR2,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x18+0x08)++0x03 line.long 0x00 "CSCR2,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end tree "Chip Select 3" group.long 0x24++0x07 line.long 0x00 "CSAR3,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR3,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0x24+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0x24+0x08)&0x100)==0x00) group.long (0x24+0x08)++0x03 line.long 0x00 "CSCR3,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x24+0x08)++0x03 line.long 0x00 "CSCR3,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0x24+0x08)&0x100)==0x00) group.long (0x24+0x08)++0x03 line.long 0x00 "CSCR3,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x24+0x08)++0x03 line.long 0x00 "CSCR3,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end tree "Chip Select 4" group.long 0x30++0x07 line.long 0x00 "CSAR4,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR4,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0x30+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0x30+0x08)&0x100)==0x00) group.long (0x30+0x08)++0x03 line.long 0x00 "CSCR4,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x30+0x08)++0x03 line.long 0x00 "CSCR4,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0x30+0x08)&0x100)==0x00) group.long (0x30+0x08)++0x03 line.long 0x00 "CSCR4,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x30+0x08)++0x03 line.long 0x00 "CSCR4,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end tree "Chip Select 5" group.long 0x3C++0x07 line.long 0x00 "CSAR5,Chip Select Address Register" hexmask.long.word 0x00 16.--31. 0x01 " BA ,Base address" line.long 0x04 "CSMR5,Chip Select Mask Register" bitfld.long 0x04 31. " BAM_[15] ,Base address bit 15 mask" "Not masked,Masked" bitfld.long 0x04 30. " [14] ,Base address bit 14 mask" "Not masked,Masked" bitfld.long 0x04 29. " [13] ,Base address bit 13 mask" "Not masked,Masked" bitfld.long 0x04 28. " [12] ,Base address bit 12 mask" "Not masked,Masked" newline bitfld.long 0x04 27. " [11] ,Base address bit 11 mask" "Not masked,Masked" bitfld.long 0x04 26. " [10] ,Base address bit 10 mask" "Not masked,Masked" bitfld.long 0x04 25. " [9] ,Base address bit 9 mask" "Not masked,Masked" bitfld.long 0x04 24. " [8] ,Base address bit 8 mask" "Not masked,Masked" newline bitfld.long 0x04 23. " [7] ,Base address bit 7 mask" "Not masked,Masked" bitfld.long 0x04 22. " [6] ,Base address bit 6 mask" "Not masked,Masked" bitfld.long 0x04 21. " [5] ,Base address bit 5 mask" "Not masked,Masked" bitfld.long 0x04 20. " [4] ,Base address bit 4 mask" "Not masked,Masked" newline bitfld.long 0x04 19. " [3] ,Base address bit 3 mask" "Not masked,Masked" bitfld.long 0x04 18. " [2] ,Base address bit 2 mask" "Not masked,Masked" bitfld.long 0x04 17. " [1] ,Base address bit 1 mask" "Not masked,Masked" bitfld.long 0x04 16. " [0] ,Base address bit 0 mask" "Not masked,Masked" newline bitfld.long 0x04 8. " WP ,Write protect" "Allowed,Not allowed" bitfld.long 0x04 0. " V ,Valid bit" "Invalid,Valid" if ((per.l(ad:0x4000C000+0x3C+0x08)&0x800000)==0x800000) if ((per.l(ad:0x4000C000+0x3C+0x08)&0x100)==0x00) group.long (0x3C+0x08)++0x03 line.long 0x00 "CSCR5,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x3C+0x08)++0x03 line.long 0x00 "CSCR5,Chip Select Control Register" bitfld.long 0x00 26.--31. " SWS ,Secondary wait state" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif else if ((per.l(ad:0x4000C000+0x3C+0x08)&0x100)==0x00) group.long (0x3C+0x08)++0x03 line.long 0x00 "CSCR5,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" else group.long (0x3C+0x08)++0x03 line.long 0x00 "CSCR5,Chip Select Control Register" newline bitfld.long 0x00 23. " SWSEN ,Secondary wait state enable" "Disabled,Enabled" bitfld.long 0x00 22. " EXTS ,Extended transfer start/extended address latch enable" "Disabled,Enabled" bitfld.long 0x00 20.--21. " ASET ,Address setup" "1st rising edge,2nd rising edge,3rd rising edge,4th rising edge" newline sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ12")||cpuis("MK70FN1M0VMJ15")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" newline else bitfld.long 0x00 18.--19. " RDAH ,Read address hold or deselect" "0 cycles,1 cycle,2 cycles,3 cycles" newline endif bitfld.long 0x00 16.--17. " WRAH ,Write address hold or deselect" "1 cycle,2 cycles,3 cycles,4 cycles" bitfld.long 0x00 10.--15. " WS ,Wait states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x00 9. " BLS ,Byte-lane shift" "Not shifted,Shifted" bitfld.long 0x00 8. " AA ,Auto-acknowledge enable" "Disabled,Enabled" newline bitfld.long 0x00 6.--7. " PS ,Port size" "32 bit,8 bit,16 bit,16 bit" bitfld.long 0x00 5. " BEM ,Byte-enable mode" "Write only,Read/write" bitfld.long 0x00 4. " BSTR ,Burst-read enable" "Disabled,Enabled" bitfld.long 0x00 3. " BSTW ,Burst-write enable" "Disabled,Enabled" endif endif tree.end newline sif cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if ((per.l(ad:0x4000C000+0x44)&0x100)==0x0) group.long 0x60++0x03 line.long 0x00 "CSPMCR,Chip Select Port Multiplexing Control Register" bitfld.long 0x00 28.--31. " GROUP_1 ,FlexBus signal group 1 multiplex control" "FB_ALE,/FB_CS1,/FB_TS,?..." bitfld.long 0x00 24.--27. " GROUP_2 ,FlexBus signal group 2 multiplex control" "/FB_CS4,FB_TSIZ0,/FB_BE_31_24,?..." bitfld.long 0x00 20.--23. " GROUP_3 ,FlexBus signal group 3 multiplex control" "/FB_CS5,FB_TSIZ1,/FB_BE_23_16,?..." bitfld.long 0x00 16.--19. " GROUP_4 ,FlexBus signal group 4 multiplex control" "/FB_TBST,/FB_CS2,/FB_BE_15_8,?..." newline bitfld.long 0x00 12.--15. " GROUP_5 ,FlexBus signal group 5 multiplex control" "/FB_TA,?..." else group.long 0x60++0x03 line.long 0x00 "CSPMCR,Chip Select Port Multiplexing Control Register" bitfld.long 0x00 28.--31. " GROUP_1 ,FlexBus signal group 1 multiplex control" "FB_ALE,/FB_CS1,/FB_TS,?..." bitfld.long 0x00 24.--27. " GROUP_2 ,FlexBus signal group 2 multiplex control" "/FB_CS4,FB_TSIZ0,/FB_BE_31_24,?..." bitfld.long 0x00 20.--23. " GROUP_3 ,FlexBus signal group 3 multiplex control" "/FB_CS5,FB_TSIZ1,/FB_BE_23_16,?..." bitfld.long 0x00 16.--19. " GROUP_4 ,FlexBus signal group 4 multiplex control" "/FB_TBST,/FB_CS2,/FB_BE_15_8,?..." newline bitfld.long 0x00 12.--15. " GROUP_5 ,FlexBus signal group 5 multiplex control" "/FB_TA,/FB_CS3,/FB_BE_7_0,?..." endif else group.long 0x60++0x03 line.long 0x00 "CSPMCR,Chip Select Port Multiplexing Control Register" bitfld.long 0x00 28.--31. " GROUP_1 ,FlexBus signal group 1 multiplex control" "FB_ALE,/FB_CS1,/FB_TS,?..." bitfld.long 0x00 24.--27. " GROUP_2 ,FlexBus signal group 2 multiplex control" "/FB_CS4,FB_TSIZ0,/FB_BE_31_24,?..." bitfld.long 0x00 20.--23. " GROUP_3 ,FlexBus signal group 3 multiplex control" "/FB_CS5,FB_TSIZ1,/FB_BE_23_16,?..." bitfld.long 0x00 16.--19. " GROUP_4 ,FlexBus signal group 4 multiplex control" "/FB_TBST,/FB_CS2,/FB_BE_15_8,?..." newline bitfld.long 0x00 12.--15. " GROUP_5 ,FlexBus signal group 5 multiplex control" "/FB_TA,/FB_CS3,/FB_BE_7_0,?..." endif width 0x0B tree.end endif endif tree.end tree.open "Security and integrity modules" tree "CRC (Cyclic redundancy check)" base ad:0x40032000 width 7. if (((per.l(ad:0x40032000+0x08)&0x1000000)==0x1000000)) group.long 0x00++0x03 line.long 0x00 "CRC,CRC Data Register" hexmask.long.byte 0x00 24.--31. 1. " HU ,CRC high upper byte" hexmask.long.byte 0x00 16.--23. 1. " HL ,CRC high lower byte" newline hexmask.long.byte 0x00 8.--15. 1. " LU ,CRC low upper byte" hexmask.long.byte 0x00 0.--7. 1. " LL ,CRC low lower byte" else group.long 0x00++0x03 line.long 0x00 "CRC,CRC Data Register" hexmask.long.byte 0x00 8.--15. 1. " LU ,CRC low upper byte" hexmask.long.byte 0x00 0.--7. 1. " LL ,CRC low lower byte" endif group.long 0x04++0x07 line.long 0x00 "GPOLY,CRC Polynomial Register" hexmask.long.word 0x00 16.--31. 1. " HIGH ,High polynomial half-word" hexmask.long.word 0x00 0.--15. 1. " LOW ,Low polynomial half-word" line.long 0x04 "CTRL,CRC Control Register" bitfld.long 0x04 30.--31. " TOT ,Type of transpose for writes" "No transposition,Bits,Bits and bytes,Bytes" bitfld.long 0x04 28.--29. " TOTR ,Type of transpose for read" "No transposition,Bits,Bits and bytes,Bytes" newline bitfld.long 0x04 26. " FXOR ,Complement read of CRC data register" "No XOR,Inverted/Complemented" bitfld.long 0x04 25. " WAS ,Write CRC data register as seed" "Data values,Seed values" newline bitfld.long 0x04 24. " TCRC ,Width of CRC protocol" "16-bit,32-bit" width 0x0B tree.end sif cpuis("MK52*")||cpuis("MK53*") tree "MMCAU (Memory-Mapped Cryptographic Acceleration Unit)" base ad:0xE0081000 width 6. group.long 0x00++0x03 line.long 0x00 "CASR,Status Register" rbitfld.long 0x00 28.--31. " VER ,CAU version" ",Initial CAU version,Second version(with SHA-256 algorithm),?..." bitfld.long 0x00 1. " DPE ,DES parity error" "No error,Error" bitfld.long 0x00 0. " IC ,Illegal command" "Not issued,Issued" group.long 0x01++0x03 line.long 0x00 "CAA,Accumulator" sif cpuis("MK24FN*") group.long 0x2++0x03 line.long 0x00 "CA0,General Purpose Register" group.long 0x3++0x03 line.long 0x00 "CA1,General Purpose Register" group.long 0x4++0x03 line.long 0x00 "CA2,General Purpose Register" group.long 0x5++0x03 line.long 0x00 "CA3,General Purpose Register" group.long 0x6++0x03 line.long 0x00 "CA4,General Purpose Register" group.long 0x7++0x03 line.long 0x00 "CA5,General Purpose Register" else group.long 0x2++0x03 line.long 0x00 "CA0,General Purpose Register" group.long 0x3++0x03 line.long 0x00 "CA1,General Purpose Register" group.long 0x4++0x03 line.long 0x00 "CA2,General Purpose Register" group.long 0x5++0x03 line.long 0x00 "CA3,General Purpose Register" group.long 0x6++0x03 line.long 0x00 "CA4,General Purpose Register" group.long 0x7++0x03 line.long 0x00 "CA5,General Purpose Register" group.long 0x8++0x03 line.long 0x00 "CA6,General Purpose Register" group.long 0x9++0x03 line.long 0x00 "CA7,General Purpose Register" group.long 0xA++0x03 line.long 0x00 "CA8,General Purpose Register" endif width 0x0B tree.end sif (cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) tree "RNGB (Random Number Generator)" base ad:0x400A0000 width 5. sif (cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) rgroup.long 0x00++0x03 line.long 0x00 "VER,RNGB Version ID Register" bitfld.long 0x00 28.--31. " TYPE ,Random number generator type" "RNGA,RNGB,RNGC,?..." hexmask.long.byte 0x00 8.--15. 1. " MAJOR ,Major version number" hexmask.long.byte 0x00 0.--7. 1. " MINOR ,Minor version number" group.long 0x04++0x07 line.long 0x00 "CMD,RNGB Command Register" bitfld.long 0x00 6. " SR ,Software reset" "No reset,Reset" bitfld.long 0x00 5. " CE ,Clear error" "No clear,Clear" bitfld.long 0x00 4. " CI ,Clear interrupt" "No clear,Clear" newline bitfld.long 0x00 1. " GS ,Generate seed" "Disabled,Enabled" bitfld.long 0x00 0. " ST ,Self test" "Disabled,Enabled" line.long 0x04 "CR,RNGB Control Register" bitfld.long 0x04 6. " MASKERR ,Mask error interrupt" "Not masked,Masked" bitfld.long 0x04 5. " MASKDONE ,Mask done interrupt" "Not masked,Masked" bitfld.long 0x04 4. " AR ,Auto-reseed enable" "Disabled,Enabled" newline bitfld.long 0x04 0.--1. " FUFMOD ,FIFO underflow response mode" "Return all zeros and set RNG_ESR[FUFE],Return all zeros and set RNG_ESR[FUFE],Generate bus transfer error,Generate interrupt and return all zeros" rgroup.long 0x0C++0x0B line.long 0x00 "SR,RNGB Status Register" bitfld.long 0x00 31. " STATPF[7] ,Long run test pass/fail" "Passed,Failed" bitfld.long 0x00 30. " [6] ,Length 6+ run test pass/fail" "Passed,Failed" bitfld.long 0x00 29. " [5] ,Length 5 run test pass/fail" "Passed,Failed" newline bitfld.long 0x00 28. " [4] ,Length 4 run test pass/fail" "Passed,Failed" bitfld.long 0x00 27. " [3] ,Length 3 run test pass/fail" "Passed,Failed" bitfld.long 0x00 26. " [2] ,Length 2 run test pass/fail" "Passed,Failed" newline bitfld.long 0x00 25. " [1] ,Length 1 run test pass/fail" "Passed,Failed" bitfld.long 0x00 24. " [0] ,Mon-obit test pass/fail" "Passed,Failed" newline bitfld.long 0x00 23. " ST_PF[2] ,TRNG self test pass/fail" "Passed,Failed" bitfld.long 0x00 22. " [1] ,PRNG self test pass/fail" "Passed,Failed" bitfld.long 0x00 21. " [0] ,RESEED self test pass/fail" "Passed,Failed" newline bitfld.long 0x00 16. " ERR ,Error was detected in the RNGB" "No error,Error" bitfld.long 0x00 12.--15. " FIFO_SIZE ,FIFO size" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 8.--11. " FIFO_LVL ,FIFO level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x00 6. " NSDN ,New seed done" "Not done,Done" bitfld.long 0x00 5. " SDN ,Seed done" "Not done,Done" bitfld.long 0x00 4. " STDN ,Self test done" "Not done,Done" newline bitfld.long 0x00 3. " RS ,Reseed needed" "Not needed,Needed" bitfld.long 0x00 2. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 1. " BUSY ,State of RNGB" "Not busy,Busy" line.long 0x04 "ESR,RNGB Error Status Register" bitfld.long 0x04 4. " FUFE ,FIFO underflow error" "Not occurred,Occurred" bitfld.long 0x04 3. " SATE ,Statistical test error" "Not occurred,Occurred" bitfld.long 0x04 2. " STE ,Self test error" "Not occurred,Occurred" newline bitfld.long 0x04 1. " OSCE ,Oscillator error" "Not occurred,Occurred" bitfld.long 0x04 0. " LFE ,Linear feedback shift register (LFSR) error" "Not occurred,Occurred" line.long 0x08 "OUT,RNGB Output FIFO" elif cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("K26P169M180SF5RM")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12") width 8. group.long 0x00++0x03 line.long 0x00 "CR,RNGA Control Register" bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " CLRI ,Clear interrupt" "No effect,Clear" bitfld.long 0x00 2. " INTM ,Interrupt mask" "Not masked,Masked" newline bitfld.long 0x00 1. " HA ,High assurance enable" "Disabled,Enabled" bitfld.long 0x00 0. " GO ,Specifies whether random-data generation and loading (into OR[RANDOUT]) is enabled" "Disabled,Enabled" rgroup.long 0x04++0x03 line.long 0x00 "SR,RNGA Status Register" hexmask.long.byte 0x00 16.--23. " OREG_SIZE ,Output register size" hexmask.long.byte 0x00 8.--15. " OREG_LVL ,Indicates the number of random-data words that are in OR[RANDOUT]" newline bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " ERRI ,Error interrupt" "Not occurred,Occurred" bitfld.long 0x00 2. " ORU ,Output register underflow" "No underflow,Underflow" newline bitfld.long 0x00 1. " LRS ,Last read status" "No underflow,Underflow" bitfld.long 0x00 0. " SECV ,Security violation" "Not occurred,Occurred" wgroup.long 0x08++0x03 line.long 0x00 "ER,RNGA Entropy Register" rgroup.long 0x0C++0x03 line.long 0x00 "OR,RNGA Output Register" else width 8. group.long 0x00++0x03 line.long 0x00 "CR,RNGA Control Register" bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " CLRI ,Clear interrupt" "No effect,Clear" bitfld.long 0x00 2. " INTM ,Interrupt mask" "Not masked,Masked" newline bitfld.long 0x00 1. " HA ,High assurance enable" "Disabled,Enabled" bitfld.long 0x00 0. " GO ,Specifies whether random-data generation and loading (into OR[RANDOUT]) is enabled" "Disabled,Enabled" newline hgroup.long 0x04++0x03 hide.long 0x00 "SR,RNGA Status Register" in wgroup.long 0x08++0x03 line.long 0x00 "ER,RNGA Entropy Register" hgroup.long 0x0C++0x03 hide.long 0x00 "OR,RNGA Output Register" in endif width 0x0B tree.end else tree "RNGA (Random Number Generator Accelerator)" base ad:0x400A0000 width 5. sif (cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) rgroup.long 0x00++0x03 line.long 0x00 "VER,RNGB Version ID Register" bitfld.long 0x00 28.--31. " TYPE ,Random number generator type" "RNGA,RNGB,RNGC,?..." hexmask.long.byte 0x00 8.--15. 1. " MAJOR ,Major version number" hexmask.long.byte 0x00 0.--7. 1. " MINOR ,Minor version number" group.long 0x04++0x07 line.long 0x00 "CMD,RNGB Command Register" bitfld.long 0x00 6. " SR ,Software reset" "No reset,Reset" bitfld.long 0x00 5. " CE ,Clear error" "No clear,Clear" bitfld.long 0x00 4. " CI ,Clear interrupt" "No clear,Clear" newline bitfld.long 0x00 1. " GS ,Generate seed" "Disabled,Enabled" bitfld.long 0x00 0. " ST ,Self test" "Disabled,Enabled" line.long 0x04 "CR,RNGB Control Register" bitfld.long 0x04 6. " MASKERR ,Mask error interrupt" "Not masked,Masked" bitfld.long 0x04 5. " MASKDONE ,Mask done interrupt" "Not masked,Masked" bitfld.long 0x04 4. " AR ,Auto-reseed enable" "Disabled,Enabled" newline bitfld.long 0x04 0.--1. " FUFMOD ,FIFO underflow response mode" "Return all zeros and set RNG_ESR[FUFE],Return all zeros and set RNG_ESR[FUFE],Generate bus transfer error,Generate interrupt and return all zeros" rgroup.long 0x0C++0x0B line.long 0x00 "SR,RNGB Status Register" bitfld.long 0x00 31. " STATPF[7] ,Long run test pass/fail" "Passed,Failed" bitfld.long 0x00 30. " [6] ,Length 6+ run test pass/fail" "Passed,Failed" bitfld.long 0x00 29. " [5] ,Length 5 run test pass/fail" "Passed,Failed" newline bitfld.long 0x00 28. " [4] ,Length 4 run test pass/fail" "Passed,Failed" bitfld.long 0x00 27. " [3] ,Length 3 run test pass/fail" "Passed,Failed" bitfld.long 0x00 26. " [2] ,Length 2 run test pass/fail" "Passed,Failed" newline bitfld.long 0x00 25. " [1] ,Length 1 run test pass/fail" "Passed,Failed" bitfld.long 0x00 24. " [0] ,Mon-obit test pass/fail" "Passed,Failed" newline bitfld.long 0x00 23. " ST_PF[2] ,TRNG self test pass/fail" "Passed,Failed" bitfld.long 0x00 22. " [1] ,PRNG self test pass/fail" "Passed,Failed" bitfld.long 0x00 21. " [0] ,RESEED self test pass/fail" "Passed,Failed" newline bitfld.long 0x00 16. " ERR ,Error was detected in the RNGB" "No error,Error" bitfld.long 0x00 12.--15. " FIFO_SIZE ,FIFO size" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 8.--11. " FIFO_LVL ,FIFO level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x00 6. " NSDN ,New seed done" "Not done,Done" bitfld.long 0x00 5. " SDN ,Seed done" "Not done,Done" bitfld.long 0x00 4. " STDN ,Self test done" "Not done,Done" newline bitfld.long 0x00 3. " RS ,Reseed needed" "Not needed,Needed" bitfld.long 0x00 2. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 1. " BUSY ,State of RNGB" "Not busy,Busy" line.long 0x04 "ESR,RNGB Error Status Register" bitfld.long 0x04 4. " FUFE ,FIFO underflow error" "Not occurred,Occurred" bitfld.long 0x04 3. " SATE ,Statistical test error" "Not occurred,Occurred" bitfld.long 0x04 2. " STE ,Self test error" "Not occurred,Occurred" newline bitfld.long 0x04 1. " OSCE ,Oscillator error" "Not occurred,Occurred" bitfld.long 0x04 0. " LFE ,Linear feedback shift register (LFSR) error" "Not occurred,Occurred" line.long 0x08 "OUT,RNGB Output FIFO" elif cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("K26P169M180SF5RM")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12") width 8. group.long 0x00++0x03 line.long 0x00 "CR,RNGA Control Register" bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " CLRI ,Clear interrupt" "No effect,Clear" bitfld.long 0x00 2. " INTM ,Interrupt mask" "Not masked,Masked" newline bitfld.long 0x00 1. " HA ,High assurance enable" "Disabled,Enabled" bitfld.long 0x00 0. " GO ,Specifies whether random-data generation and loading (into OR[RANDOUT]) is enabled" "Disabled,Enabled" rgroup.long 0x04++0x03 line.long 0x00 "SR,RNGA Status Register" hexmask.long.byte 0x00 16.--23. " OREG_SIZE ,Output register size" hexmask.long.byte 0x00 8.--15. " OREG_LVL ,Indicates the number of random-data words that are in OR[RANDOUT]" newline bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " ERRI ,Error interrupt" "Not occurred,Occurred" bitfld.long 0x00 2. " ORU ,Output register underflow" "No underflow,Underflow" newline bitfld.long 0x00 1. " LRS ,Last read status" "No underflow,Underflow" bitfld.long 0x00 0. " SECV ,Security violation" "Not occurred,Occurred" wgroup.long 0x08++0x03 line.long 0x00 "ER,RNGA Entropy Register" rgroup.long 0x0C++0x03 line.long 0x00 "OR,RNGA Output Register" else width 8. group.long 0x00++0x03 line.long 0x00 "CR,RNGA Control Register" bitfld.long 0x00 4. " SLP ,Sleep mode" "Disabled,Enabled" bitfld.long 0x00 3. " CLRI ,Clear interrupt" "No effect,Clear" bitfld.long 0x00 2. " INTM ,Interrupt mask" "Not masked,Masked" newline bitfld.long 0x00 1. " HA ,High assurance enable" "Disabled,Enabled" bitfld.long 0x00 0. " GO ,Specifies whether random-data generation and loading (into OR[RANDOUT]) is enabled" "Disabled,Enabled" newline hgroup.long 0x04++0x03 hide.long 0x00 "SR,RNGA Status Register" in wgroup.long 0x08++0x03 line.long 0x00 "ER,RNGA Entropy Register" hgroup.long 0x0C++0x03 hide.long 0x00 "OR,RNGA Output Register" in endif width 0x0B tree.end endif endif tree.end tree.open "Analog Modules" tree.open "ADC (Analog-to-Digital Converter)" tree "ADC 0" base ad:0x4003b000 width 11. if (((per.l(ad:0x4003b000+0x0))&0x20)==0x00) group.long 0x0++0x03 line.long 0x00 "SC1A,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN512VMC10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,12-bit DAC0/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,ADC0_DP2,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60FN1M0VLQ15") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DCP0,,,ADC0_DP3,ADC0_SE4a,ADC0_SE5a,ADC0_SE6a,ADC0_SE7a,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" ",,,ADC0_DP3,,,,,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,AD4a,AD5a,AD6a,AD7a,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,,AD17,AD18,,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" elif cpuis("MK8?FN256VR")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQR")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ1R")||cpuis("MK40DRZR10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DADP0,DADP1,DADP2,DADP3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,AD2,AD3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,,VREFSL,Disabled" endif else group.long 0x0++0x03 line.long 0x00 "SC1A,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,PGA0_DP/PGA0_DM,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,DP2/DM2,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" ",,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,,,,,,,,,,,,,,,,,,,,,Sense bus,,Temp sensor,Bandgap,,-VREFSH,,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DAD0,DAD1,DAD2,DAD3,,,,,,,,,,,,,,,,,,,,,,,Temp Sensor,Bandgap,,-VREFSH,,Disabled" endif endif if (((per.l(ad:0x4003b000+0x4))&0x20)==0x00) group.long 0x4++0x03 line.long 0x00 "SC1B,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN512VMC10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,12-bit DAC0/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,,,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,,,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,ADC0_DP2,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60FN1M0VLQ15") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,ADC0_DM1,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DCP0,,,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" ",,,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC_SE16,ADC0_SE17,ADC0_SE18,ADC0_DM0,,ADC0_SE21,ADC0_SE22,12-bit DAC0/ADC0_SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,AD4a,AD5a,AD6a,AD7a,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,,AD17,AD18,,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" elif cpuis("MK8?FN256VR")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQR")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ1R")||cpuis("MK40DRZR10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DADP0,DADP1,DADP2,DADP3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,AD2,AD3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,,VREFSL,Disabled" endif else group.long 0x4++0x03 line.long 0x00 "SC1B,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,PGA0_DP/PGA0_DM,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,DP2/DM2,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" ",,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,,,,,,,,,,,,,,,,,,,,,Sense bus,,Temp sensor,Bandgap,,-VREFSH,,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DAD0,DAD1,DAD2,DAD3,,,,,,,,,,,,,,,,,,,,,,,Temp Sensor,Bandgap,,-VREFSH,,Disabled" endif endif newline sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4003b000))&0x20)==0x00)&&(((per.l(ad:0x4003b000+0x04))&0x20)==0x00) group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Single-ended 8-bit,Single-ended 12-bit,Single-ended 10-bit,Single-ended 16-bit" bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" else group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Differential 9-bit,Differential 13-bit,Differential 11-bit,Differential 16-bit" bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" endif else group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Single-ended 8-bit/Diff 9-bit,Single-ended 12-bit/Diff 13-bit,Single-ended 10-bit/Diff 11-bit,Single ended 16-bit/Diff 16-bit" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256VR")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus clock,ALTCLK2,ALTCLK,ADACK" else newline bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" endif endif group.long 0x0C++0x03 line.long 0x00 "CFG2,ADC Configuration Register 2" bitfld.long 0x00 4. " MUXSEL ,ADC Mux select" "ADCA,ADCB" bitfld.long 0x00 3. " ADACKEN ,Asynchronous clock output enable" "Disabled,Enabled" bitfld.long 0x00 2. " ADHSC ,High speed configuration" "Normal,High-Speed" newline bitfld.long 0x00 0.--1. " ADLSTS ,Long sample time select" "24 ADCK cycles,16 ADCK cycles,10 ADCK cycles,6 ADCK cycles" newline sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.long 0x10++0x03 hide.long 0x00 "RA,ADC Data Result Register" in hgroup.long 0x14++0x03 hide.long 0x00 "RB,ADC Data Result Register" in else if (((per.l(ad:0x4003b000))&0x20)==0x00) if (((per.l(ad:0x4003b000+0x08))&0x0C)==0x00) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.byte 0x00 0.--7. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.byte 0x04 0.--7. 1. " D ,Data result" elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x04) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--11. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--11. 1. " D ,Data result" elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x08) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--9. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--9. 1. " D ,Data result" else rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--15. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--15. 1. " D ,Data result" endif else if (((per.l(ad:0x4003b000+0x08))&0x0C)==0x00) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--8. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--8. 1. " D ,Data result" elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x04) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--12. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--12. 1. " D ,Data result" elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x08) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--10. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--10. 1. " D ,Data result" else rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--15. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--15. 1. " D ,Data result" endif endif endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK8?FN256V*") if (((per.l(ad:0x4003b000))&0x20)==0x00) if (((per.l(ad:0x4003b000+0x08))&0x0C)==0x00) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.byte 0x00 0.--7. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.byte 0x00 0.--7. 1. " CV ,Compare value" endif elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x04) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--11. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--11. 1. " CV ,Compare value" endif elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x08) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--9. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--9. 1. " CV ,Compare value" endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif else if (((per.l(ad:0x4003b000+0x08))&0x0C)==0x00) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--8. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--8. 1. " CV ,Compare value" endif elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x04) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--12. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--12. 1. " CV ,Compare value" endif elif (((per.l(ad:0x4003b000+0x08))&0x0C)==0x08) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--10. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--10. 1. " CV ,Compare value" endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x4003b000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif group.long 0x20++0x2F line.long 0x00 "SC2,Status and Control Register 2" rbitfld.long 0x00 7. " ADACT ,Conversion active" "Not in progress,In progress" bitfld.long 0x00 6. " ADTRG ,Conversion trigger select" "Software,Hardware" bitfld.long 0x00 5. " ACFE ,Compare function enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " ACFGT ,Compare function greater than enable" "Disabled,Enabled" bitfld.long 0x00 3. " ACREN ,Compare function range enable" "Disabled,Enabled" bitfld.long 0x00 2. " DMAEN ,DMA enable" "Disabled,Enabled" newline bitfld.long 0x00 0.--1. " REFSEL ,Voltage reference selection" "Default,Alternate,?..." line.long 0x04 "SC3,Status and Control Register 3" bitfld.long 0x04 7. " CAL ,Calibration" "Not started,Started" eventfld.long 0x04 6. " CALF ,Calibration failed flag" "Not occurred,Occurred" bitfld.long 0x04 3. " ADCO ,Continuous conversion enable" "Disabled,Enabled" newline bitfld.long 0x04 2. " AVGE ,Hardware average enable" "Disabled,Enabled" bitfld.long 0x04 0.--1. " AVGS ,Hardware average select" "4 samples,8 samples,16 samples,32 samples" line.long 0x08 "OFS,ADC Offset Correction Register" hexmask.long.word 0x08 0.--15. 1. " OFS ,Offset error correction value" line.long 0x0C "PG,ADC Plus-Side Gain Register" hexmask.long.word 0x0C 0.--15. 1. " PG ,Plus-side gain" line.long 0x10 "MG,ADC Minus-Side Gain Register" hexmask.long.word 0x10 0.--15. 1. " MG ,Minus-side Gain" line.long 0x14 "CLPD,ADC Plus-Side General Calibration Value Register" bitfld.long 0x14 0.--5. " CLPD ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x18 "CLPS,ADC Plus-Side General Calibration Value Register" bitfld.long 0x18 0.--5. " CLPS ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x1C "CLP4,ADC Plus-Side General Calibration Value Register" hexmask.long.word 0x1C 0.--9. 1. " CLP4 ,Calibration value" line.long 0x20 "CLP3,ADC Plus-Side General Calibration Value Register" hexmask.long.word 0x20 0.--8. 1. " CLP3 ,Calibration value" line.long 0x24 "CLP2,ADC Plus-Side General Calibration Value Register" hexmask.long.byte 0x24 0.--7. 1. " CLP2 ,Calibration value" line.long 0x28 "CLP1,ADC Plus-Side General Calibration Value Register" hexmask.long.byte 0x28 0.--6. 1. " CLP1 ,Calibration value" line.long 0x2C "CLP0,ADC Plus-Side General Calibration Value Register" bitfld.long 0x2C 0.--5. " CLP0 ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" sif !cpuis("MK63FR")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256VR")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")||cpuis("MK8?FN256V*") sif cpuis("MK??FR")||cpuis("KK60FN1M0VLQ15") group.long 0x50++0x03 line.long 0x00 "PGA,ADC PGA Register" bitfld.long 0x00 23. " PGAEN ,PGA enable" "Disabled,Enabled" bitfld.long 0x00 21. " PGACHPB ,PGA chopping enable" "Disabled,Enabled" bitfld.long 0x00 20. " PGALPB ,PGA low-power mode control" "Low,Normal" newline bitfld.long 0x00 16.--19. " PGAG ,PGA gain setting" "1,2,4,8,16,32,64,?..." bitfld.long 0x00 14. " PGAOFSM ,PGA run mode" "Normal,Offset measurement" else group.long 0x50++0x03 line.long 0x00 "PGA,ADC PGA Register" bitfld.long 0x00 23. " PGAEN ,PGA enable" "Disabled,Enabled" bitfld.long 0x00 20. " PGALPB ,PGA low-power mode control" "Low,Normal" bitfld.long 0x00 16.--19. " PGAG ,PGA gain setting" "1,2,4,8,16,32,64,?..." endif endif group.long 0x54++0x1B line.long 0x00 "CLMD,ADC Minus-Side General Calibration Value Register" bitfld.long 0x00 0.--5. " CLMD ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x04 "CLMS,ADC Minus-Side General Calibration Value Register" bitfld.long 0x04 0.--5. " CLMS ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x08 "CLM4,ADC Minus-Side General Calibration Value Register" hexmask.long.word 0x08 0.--9. 1. " CLM4 ,Calibration value" line.long 0x0C "CLM3,ADC Minus-Side General Calibration Value Register" hexmask.long.word 0x0C 0.--8. 1. " CLM3 ,Calibration value" line.long 0x10 "CLM2,ADC Minus-Side General Calibration Value Register" hexmask.long.byte 0x10 0.--7. 1. " CLM2 ,Calibration value" line.long 0x14 "CLM1,ADC Minus-Side General Calibration Value Register" hexmask.long.byte 0x14 0.--6. 1. " CLM1 ,Calibration value" line.long 0x18 "CLM0,ADC Minus-Side General Calibration Value Register" bitfld.long 0x18 0.--5. " CLM0 ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" width 0x0B tree.end tree "ADC 1" base ad:0x400bb000 width 11. if (((per.l(ad:0x400bb000+0x0))&0x20)==0x00) group.long 0x0++0x03 line.long 0x00 "SC1A,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,,,,,SE14,SE15,,SE17,VREF,DM0,DM1,,,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,,,SE12,SE13,SE14,SE15,,,VREF,DM0,DM1,,,12-bit DAC1,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4a,ADC0_SE5a,ADC0_SE6a,ADC0_SE7a,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,VREF,ADC0_DM0,ADC0_DM1,,,12-bit DAC1,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60FN1M0VLQ15") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,DM1,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,,,VREF,DM0,DM1,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,DM1,,,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DC0,DP1,,DP3,SE4a,SE5a,SE6a,SE7a,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,,,,SE4a,SE5a,SE6a,SE7a,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,AD4a,AD5a,AD6a,AD7a,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,,AD17,AD18,,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" elif cpuis("MK8?FN256VR")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQR")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ1R")||cpuis("MK40DRZR10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DADP0,DADP1,DADP2,DADP3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,AD2,AD3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,,VREFSL,Disabled" endif else group.long 0x0++0x03 line.long 0x00 "SC1A,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,PGA0_DP/PGA0_DM,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,,,,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,,,,,,,,,,,,,,,,,,,,,Sense bus,,Temp sensor,Bandgap,,-VREFSH,,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DAD0,DAD1,DAD2,DAD3,,,,,,,,,,,,,,,,,,,,,,,Temp Sensor,Bandgap,,-VREFSH,,Disabled" endif endif if (((per.l(ad:0x400bb000+0x4))&0x20)==0x00) group.long 0x4++0x03 line.long 0x00 "SC1B,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,,,,,SE14,SE15,,SE17,VREF,DM0,DM1,,,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,,,SE12,SE13,SE14,SE15,,,VREF,DM0,DM1,,,12-bit DAC1,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "ADC0_DP0,ADC0_DP1,PGA0_DP,ADC0_DP3,ADC0_SE4b,ADC0_SE5b,ADC0_SE6b,ADC0_SE7b,ADC0_SE8,ADC0_SE9,ADC0_SE10,ADC0_SE11,ADC0_SE12,ADC0_SE13,ADC0_SE14,ADC0_SE15,ADC0_SE16,ADC0_SE17,VREF,ADC0_DM0,ADC0_DM1,,,12-bit DAC1,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60FN1M0VLQ15") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,DM1,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,PGA1_DP,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,,,VREF,DM0,DM1,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,DM1,,,,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,DP1,,DP3,SE4b,SE5b,SE6b,SE7b,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0,,,,SE4b,SE5b,SE6b,SE7b,SE8,SE9,SE10,SE11,SE12,SE13,SE14,SE15,SE16,SE17,VREF/SE18,DM0,,,,12-bit DAC1/SE23,,,Temp sensor (S.E),Bandgap (S.E),,VREFH (S.E),VREFL,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,AD4a,AD5a,AD6a,AD7a,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,,AD17,AD18,,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" elif cpuis("MK8?FN256VR")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQR")||cpuis("MK30DX256VLL7R")||cpuis("MK70FN1M0VMJ1R")||cpuis("MK40DRZR10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DADP0,DADP1,DADP2,DADP3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,VREFSH,VREFSL,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,AD2,AD3,AD4,AD5,AD6,AD7,AD8,AD9,AD10,AD11,AD12,AD13,AD14,AD15,AD16,AD17,AD18,AD19,AD20,AD21,AD22,AD23,,,Temp sensor,Bandgap,,,VREFSL,Disabled" endif else group.long 0x4++0x03 line.long 0x00 "SC1B,ADC Status and Control Register 1" rbitfld.long 0x00 7. " COCO ,Conversion complete flag" "Not completed,Completed" bitfld.long 0x00 6. " AIEN ,Interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " DIFF ,Differential mode enable" "Disabled,Enabled" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,PGA0_DP/PGA0_DM,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,VREFH (Diff),,Disabled" elif cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,DP1/DM1,,DP3/DM3,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" elif cpuis("MK66FN2M0VLQ18R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DP0/DM0,,,,,,,,,,,,,,,,,,,,,,,,,,Temp sensor (Diff),Bandgap (Diff),,,,Disabled" endif elif cpuis("MK84FN2M0CAU15R") newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "AD0,AD1,,AD3,,,,,,,,,,,,,,,,,,,,,Sense bus,,Temp sensor,Bandgap,,-VREFSH,,Disabled" else newline bitfld.long 0x00 0.--4. " ADCH ,Input channel select" "DAD0,DAD1,DAD2,DAD3,,,,,,,,,,,,,,,,,,,,,,,Temp Sensor,Bandgap,,-VREFSH,,Disabled" endif endif newline sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x400bb000))&0x20)==0x00)&&(((per.l(ad:0x400bb000+0x04))&0x20)==0x00) group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Single-ended 8-bit,Single-ended 12-bit,Single-ended 10-bit,Single-ended 16-bit" bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" else group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Differential 9-bit,Differential 13-bit,Differential 11-bit,Differential 16-bit" bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" endif else group.long 0x08++0x03 line.long 0x00 "CFG1,ADC Configuration Register 1" bitfld.long 0x00 7. " ADLPC ,Low-power configuration" "Normal,Low-power" bitfld.long 0x00 5.--6. " ADIV ,Clock divide select" "/1,/2,/4,/8" bitfld.long 0x00 4. " ADLSMP ,Sample time configuration" "Short,Long" newline bitfld.long 0x00 2.--3. " MODE ,Conversion mode selection" "Single-ended 8-bit/Diff 9-bit,Single-ended 12-bit/Diff 13-bit,Single-ended 10-bit/Diff 11-bit,Single ended 16-bit/Diff 16-bit" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256VR")||cpuis("MK8?FN256V*") newline bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus clock,ALTCLK2,ALTCLK,ADACK" else newline bitfld.long 0x00 0.--1. " ADICLK ,Input clock select" "Bus-clock,Bus-clock/2,ALTCLK,ADACK" endif endif group.long 0x0C++0x03 line.long 0x00 "CFG2,ADC Configuration Register 2" bitfld.long 0x00 4. " MUXSEL ,ADC Mux select" "ADCA,ADCB" bitfld.long 0x00 3. " ADACKEN ,Asynchronous clock output enable" "Disabled,Enabled" bitfld.long 0x00 2. " ADHSC ,High speed configuration" "Normal,High-Speed" newline bitfld.long 0x00 0.--1. " ADLSTS ,Long sample time select" "24 ADCK cycles,16 ADCK cycles,10 ADCK cycles,6 ADCK cycles" newline sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.long 0x10++0x03 hide.long 0x00 "RA,ADC Data Result Register" in hgroup.long 0x14++0x03 hide.long 0x00 "RB,ADC Data Result Register" in else if (((per.l(ad:0x400bb000))&0x20)==0x00) if (((per.l(ad:0x400bb000+0x08))&0x0C)==0x00) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.byte 0x00 0.--7. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.byte 0x04 0.--7. 1. " D ,Data result" elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x04) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--11. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--11. 1. " D ,Data result" elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x08) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--9. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--9. 1. " D ,Data result" else rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--15. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--15. 1. " D ,Data result" endif else if (((per.l(ad:0x400bb000+0x08))&0x0C)==0x00) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--8. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--8. 1. " D ,Data result" elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x04) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--12. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--12. 1. " D ,Data result" elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x08) rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--10. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--10. 1. " D ,Data result" else rgroup.long 0x10++0x07 line.long 0x00 "RA,ADC Data Result Register" hexmask.long.word 0x00 0.--15. 1. " D ,Data result" line.long 0x04 "RB,ADC Data Result Register" hexmask.long.word 0x04 0.--15. 1. " D ,Data result" endif endif endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK8?FN256V*") if (((per.l(ad:0x400bb000))&0x20)==0x00) if (((per.l(ad:0x400bb000+0x08))&0x0C)==0x00) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.byte 0x00 0.--7. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.byte 0x00 0.--7. 1. " CV ,Compare value" endif elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x04) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--11. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--11. 1. " CV ,Compare value" endif elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x08) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--9. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--9. 1. " CV ,Compare value" endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif else if (((per.l(ad:0x400bb000+0x08))&0x0C)==0x00) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--8. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--8. 1. " CV ,Compare value" endif elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x04) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--12. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--12. 1. " CV ,Compare value" endif elif (((per.l(ad:0x400bb000+0x08))&0x0C)==0x08) group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--10. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--10. 1. " CV ,Compare value" endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif endif else group.long 0x18++0x03 line.long 0x00 "CV1,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" if (((per.l(ad:0x400bb000+0x20))&0x08)==0x08) group.long 0x1C++0x03 line.long 0x00 "CV2,Compare Value Register" hexmask.long.word 0x00 0.--15. 1. " CV ,Compare value" endif endif group.long 0x20++0x2F line.long 0x00 "SC2,Status and Control Register 2" rbitfld.long 0x00 7. " ADACT ,Conversion active" "Not in progress,In progress" bitfld.long 0x00 6. " ADTRG ,Conversion trigger select" "Software,Hardware" bitfld.long 0x00 5. " ACFE ,Compare function enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " ACFGT ,Compare function greater than enable" "Disabled,Enabled" bitfld.long 0x00 3. " ACREN ,Compare function range enable" "Disabled,Enabled" bitfld.long 0x00 2. " DMAEN ,DMA enable" "Disabled,Enabled" newline bitfld.long 0x00 0.--1. " REFSEL ,Voltage reference selection" "Default,Alternate,?..." line.long 0x04 "SC3,Status and Control Register 3" bitfld.long 0x04 7. " CAL ,Calibration" "Not started,Started" eventfld.long 0x04 6. " CALF ,Calibration failed flag" "Not occurred,Occurred" bitfld.long 0x04 3. " ADCO ,Continuous conversion enable" "Disabled,Enabled" newline bitfld.long 0x04 2. " AVGE ,Hardware average enable" "Disabled,Enabled" bitfld.long 0x04 0.--1. " AVGS ,Hardware average select" "4 samples,8 samples,16 samples,32 samples" line.long 0x08 "OFS,ADC Offset Correction Register" hexmask.long.word 0x08 0.--15. 1. " OFS ,Offset error correction value" line.long 0x0C "PG,ADC Plus-Side Gain Register" hexmask.long.word 0x0C 0.--15. 1. " PG ,Plus-side gain" line.long 0x10 "MG,ADC Minus-Side Gain Register" hexmask.long.word 0x10 0.--15. 1. " MG ,Minus-side Gain" line.long 0x14 "CLPD,ADC Plus-Side General Calibration Value Register" bitfld.long 0x14 0.--5. " CLPD ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x18 "CLPS,ADC Plus-Side General Calibration Value Register" bitfld.long 0x18 0.--5. " CLPS ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x1C "CLP4,ADC Plus-Side General Calibration Value Register" hexmask.long.word 0x1C 0.--9. 1. " CLP4 ,Calibration value" line.long 0x20 "CLP3,ADC Plus-Side General Calibration Value Register" hexmask.long.word 0x20 0.--8. 1. " CLP3 ,Calibration value" line.long 0x24 "CLP2,ADC Plus-Side General Calibration Value Register" hexmask.long.byte 0x24 0.--7. 1. " CLP2 ,Calibration value" line.long 0x28 "CLP1,ADC Plus-Side General Calibration Value Register" hexmask.long.byte 0x28 0.--6. 1. " CLP1 ,Calibration value" line.long 0x2C "CLP0,ADC Plus-Side General Calibration Value Register" bitfld.long 0x2C 0.--5. " CLP0 ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" sif !cpuis("MK63FR")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256VR")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R")||cpuis("MK8?FN256V*") sif cpuis("MK??FR")||cpuis("KK60FN1M0VLQ15") group.long 0x50++0x03 line.long 0x00 "PGA,ADC PGA Register" bitfld.long 0x00 23. " PGAEN ,PGA enable" "Disabled,Enabled" bitfld.long 0x00 21. " PGACHPB ,PGA chopping enable" "Disabled,Enabled" bitfld.long 0x00 20. " PGALPB ,PGA low-power mode control" "Low,Normal" newline bitfld.long 0x00 16.--19. " PGAG ,PGA gain setting" "1,2,4,8,16,32,64,?..." bitfld.long 0x00 14. " PGAOFSM ,PGA run mode" "Normal,Offset measurement" else group.long 0x50++0x03 line.long 0x00 "PGA,ADC PGA Register" bitfld.long 0x00 23. " PGAEN ,PGA enable" "Disabled,Enabled" bitfld.long 0x00 20. " PGALPB ,PGA low-power mode control" "Low,Normal" bitfld.long 0x00 16.--19. " PGAG ,PGA gain setting" "1,2,4,8,16,32,64,?..." endif endif group.long 0x54++0x1B line.long 0x00 "CLMD,ADC Minus-Side General Calibration Value Register" bitfld.long 0x00 0.--5. " CLMD ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x04 "CLMS,ADC Minus-Side General Calibration Value Register" bitfld.long 0x04 0.--5. " CLMS ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" line.long 0x08 "CLM4,ADC Minus-Side General Calibration Value Register" hexmask.long.word 0x08 0.--9. 1. " CLM4 ,Calibration value" line.long 0x0C "CLM3,ADC Minus-Side General Calibration Value Register" hexmask.long.word 0x0C 0.--8. 1. " CLM3 ,Calibration value" line.long 0x10 "CLM2,ADC Minus-Side General Calibration Value Register" hexmask.long.byte 0x10 0.--7. 1. " CLM2 ,Calibration value" line.long 0x14 "CLM1,ADC Minus-Side General Calibration Value Register" hexmask.long.byte 0x14 0.--6. 1. " CLM1 ,Calibration value" line.long 0x18 "CLM0,ADC Minus-Side General Calibration Value Register" bitfld.long 0x18 0.--5. " CLM0 ,Calibration value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" width 0x0B tree.end tree.end tree.open "HSCMP (Comparator/6-bit DAC Converter)" base ad:0x40073000 tree "CMP 0" width 12. group.byte 0x00++0x05 line.byte 0x00 "CR0,CMP Control Register 0" bitfld.byte 0x00 4.--6. " FILTER_CNT ,Filter sample count" "Disabled,1 sample,2 samples,3 samples,4 samples,5 samples,6 samples,7 samples" bitfld.byte 0x00 0.--1. " HYSTCTR ,Comparator hard block hysteresis control" "Level 0,Level 1,Level 2,Level 3" line.byte 0x01 "CR1,CMP Control Register 1" bitfld.byte 0x01 7. " SE ,Sample enable" "Disabled,Enabled" bitfld.byte 0x01 6. " WE ,Windowing enable" "Disabled,Enabled" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x01 5. " TRIGM ,Trigger mode enable" "Disabled,Enabled" endif newline bitfld.byte 0x01 4. " PMODE ,Power mode select" "Low-speed,High-speed" bitfld.byte 0x01 3. " INV ,Comparator INVERT" "Not inverted,Inverted" bitfld.byte 0x01 2. " COS ,Comparator output select" "COUT,COUTA" newline bitfld.byte 0x01 1. " OPE ,Comparator output pin enable" "Disabled,Enabled" bitfld.byte 0x01 0. " EN ,Comparator module enable" "Disabled,Enabled" line.byte 0x02 "FPR,CMP Filter Period Register" line.byte 0x03 "SCR,CMP Status and Control Register" bitfld.byte 0x03 6. " DMAEN ,DMA enable control" "Disabled,Enabled" sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*"))||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x03 5. " SMELB ,Stop mode edge/level interrupt control" "Level,Edge" endif newline bitfld.byte 0x03 4. " IER ,Comparator interrupt enable rising" "Disabled,Enabled" bitfld.byte 0x03 3. " IEF ,Comparator interrupt enable falling" "Disabled,Enabled" eventfld.byte 0x03 2. " CFR ,Analog comparator flag rising" "Not occurred,Occurred" newline eventfld.byte 0x03 1. " CFF ,Analog comparator flag falling" "Not occurred,Occurred" rbitfld.byte 0x03 0. " COUT ,Analog comparator output" "Low,High" line.byte 0x04 "DACCR,DAC Control Register" bitfld.byte 0x04 7. " DACEN ,DAC enable" "Disabled,Enabled" newline sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "Vin1,Vin2" else bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "VREF_OUT,VDD" endif newline bitfld.byte 0x04 0.--5. " VOSEL ,DAC output voltage level select" "1/64 Vin,2/64 Vin,3/64 Vin,4/64 Vin,5/64 Vin,6/64 Vin,7/64 Vin,8/64 Vin,9/64 Vin,10/64 Vin,11/64 Vin,12/64 Vin,13/64 Vin,14/64 Vin,15/64 Vin,16/64 Vin,17/64 Vin,18/64 Vin,19/64 Vin,20/64 Vin,21/64 Vin,22/64 Vin,23/64 Vin,24/64 Vin,25/64 Vin,26/64 Vin,27/64 Vin,28/64 Vin,29/64 Vin,30/64 Vin,31/64 Vin,32/64 Vin,33/64 Vin,34/64 Vin,35/64 Vin,36/64 Vin,37/64 Vin,38/64 Vin,39/64 Vin,40/64 Vin,41/64 Vin,42/64 Vin,43/64 Vin,44/64 Vin,45/64 Vin,46/64 Vin,47/64 Vin,48/64 Vin,49/64 Vin,50/64 Vin,51/64 Vin,52/64 Vin,53/64 Vin,54/64 Vin,55/64 Vin,56/64 Vin,57/64 Vin,58/64 Vin,59/64 Vin,60/64 Vin,61/64 Vin,62/64 Vin,63/64 Vin,Vin" line.byte 0x05 "MUXCR,MUX Control Register" sif !(cpuis("MK70*"))&&!cpuis("MK8?FN256V*") sif cpuis("MK60D*AB10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 7. " PEN ,PMUX enable" "Disabled,Enabled" newline elif cpuis("MK63*F")||cpuis("MK64*F")||cpuis("MK65*F")||cpuis("MK66*F")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x05 7. " PSTM ,Pass through mode enable" "Disabled,Enabled" newline endif sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" elif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" else bitfld.byte 0x05 6. " MEN ,MMUX enable" "Disabled,Enabled" endif newline endif sif cpuis("MK84FN2M0CAU15R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" elif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("MK70*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF output/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R") newline sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R") bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12 bit DAC1/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12 bit DAC1/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" else bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" endif elif cpuis("MK60DN512VMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC0_OUT/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC0_OUT/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZVMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12 bit DAC1/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("KK60FN1M0VLQ15") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12-bit DAC1_OUT/CMP0_IN4,,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12-bit DAC1_OUT/CMP0_IN4,,Bandgap,6-bit DAC0" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1_OUT/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP0_IN0,CMP0_IN1,CMP0_IN2,CMP0_IN3,12b DAC1_OUT/CMP0_IN4,VREF Out/CMP0_IN5,Bandgap,6-bit DAC0" else newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" endif width 0x0B tree.end tree "CMP 1" width 12. group.byte 0x08++0x05 line.byte 0x00 "CR0,CMP Control Register 0" bitfld.byte 0x00 4.--6. " FILTER_CNT ,Filter sample count" "Disabled,1 sample,2 samples,3 samples,4 samples,5 samples,6 samples,7 samples" bitfld.byte 0x00 0.--1. " HYSTCTR ,Comparator hard block hysteresis control" "Level 0,Level 1,Level 2,Level 3" line.byte 0x01 "CR1,CMP Control Register 1" bitfld.byte 0x01 7. " SE ,Sample enable" "Disabled,Enabled" bitfld.byte 0x01 6. " WE ,Windowing enable" "Disabled,Enabled" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x01 5. " TRIGM ,Trigger mode enable" "Disabled,Enabled" endif newline bitfld.byte 0x01 4. " PMODE ,Power mode select" "Low-speed,High-speed" bitfld.byte 0x01 3. " INV ,Comparator INVERT" "Not inverted,Inverted" bitfld.byte 0x01 2. " COS ,Comparator output select" "COUT,COUTA" newline bitfld.byte 0x01 1. " OPE ,Comparator output pin enable" "Disabled,Enabled" bitfld.byte 0x01 0. " EN ,Comparator module enable" "Disabled,Enabled" line.byte 0x02 "FPR,CMP Filter Period Register" line.byte 0x03 "SCR,CMP Status and Control Register" bitfld.byte 0x03 6. " DMAEN ,DMA enable control" "Disabled,Enabled" sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*"))||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x03 5. " SMELB ,Stop mode edge/level interrupt control" "Level,Edge" endif newline bitfld.byte 0x03 4. " IER ,Comparator interrupt enable rising" "Disabled,Enabled" bitfld.byte 0x03 3. " IEF ,Comparator interrupt enable falling" "Disabled,Enabled" eventfld.byte 0x03 2. " CFR ,Analog comparator flag rising" "Not occurred,Occurred" newline eventfld.byte 0x03 1. " CFF ,Analog comparator flag falling" "Not occurred,Occurred" rbitfld.byte 0x03 0. " COUT ,Analog comparator output" "Low,High" line.byte 0x04 "DACCR,DAC Control Register" bitfld.byte 0x04 7. " DACEN ,DAC enable" "Disabled,Enabled" newline sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "Vin1,Vin2" else bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "VREF_OUT,VDD" endif newline bitfld.byte 0x04 0.--5. " VOSEL ,DAC output voltage level select" "1/64 Vin,2/64 Vin,3/64 Vin,4/64 Vin,5/64 Vin,6/64 Vin,7/64 Vin,8/64 Vin,9/64 Vin,10/64 Vin,11/64 Vin,12/64 Vin,13/64 Vin,14/64 Vin,15/64 Vin,16/64 Vin,17/64 Vin,18/64 Vin,19/64 Vin,20/64 Vin,21/64 Vin,22/64 Vin,23/64 Vin,24/64 Vin,25/64 Vin,26/64 Vin,27/64 Vin,28/64 Vin,29/64 Vin,30/64 Vin,31/64 Vin,32/64 Vin,33/64 Vin,34/64 Vin,35/64 Vin,36/64 Vin,37/64 Vin,38/64 Vin,39/64 Vin,40/64 Vin,41/64 Vin,42/64 Vin,43/64 Vin,44/64 Vin,45/64 Vin,46/64 Vin,47/64 Vin,48/64 Vin,49/64 Vin,50/64 Vin,51/64 Vin,52/64 Vin,53/64 Vin,54/64 Vin,55/64 Vin,56/64 Vin,57/64 Vin,58/64 Vin,59/64 Vin,60/64 Vin,61/64 Vin,62/64 Vin,63/64 Vin,Vin" line.byte 0x05 "MUXCR,MUX Control Register" sif !(cpuis("MK70*"))&&!cpuis("MK8?FN256V*") sif cpuis("MK60D*AB10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 7. " PEN ,PMUX enable" "Disabled,Enabled" newline elif cpuis("MK63*F")||cpuis("MK64*F")||cpuis("MK65*F")||cpuis("MK66*F")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x05 7. " PSTM ,Pass through mode enable" "Disabled,Enabled" newline endif sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" elif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" else bitfld.byte 0x05 6. " MEN ,MMUX enable" "Disabled,Enabled" endif newline endif sif cpuis("MK84FN2M0CAU15R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" elif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK70*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,ADC0SE16/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,ADC0SE16/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,Op-amp 0 output/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,Op-amp 0 output/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK60DN512VMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZVMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("KK60FN1M0VLQ15") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,ADC0SE16/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,ADC0SE16/CMP1_IN2,12b DAC0/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,CMP1_IN2,12b DAC0_OUT/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,CMP1_IN2,12b DAC0_OUT/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,ADC0_SE16/CMP1_IN2,12b ,,,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,ADC0_SE16/CMP1_IN2,12b ,,,Bandgap,6-bit DAC1" elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP1_IN0,CMP1_IN1,ADC0_SE16/CMP1_IN2,12b DAC0_OUT/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP1_IN0,CMP1_IN1,ADC0_SE16/CMP1_IN2,12b DAC0_OUT/CMP1_IN3,,VREF Out/CMP1_IN5,Bandgap,6-bit DAC1" else newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" endif width 0x0B tree.end tree "CMP 2" width 12. group.byte 0x10++0x05 line.byte 0x00 "CR0,CMP Control Register 0" bitfld.byte 0x00 4.--6. " FILTER_CNT ,Filter sample count" "Disabled,1 sample,2 samples,3 samples,4 samples,5 samples,6 samples,7 samples" bitfld.byte 0x00 0.--1. " HYSTCTR ,Comparator hard block hysteresis control" "Level 0,Level 1,Level 2,Level 3" line.byte 0x01 "CR1,CMP Control Register 1" bitfld.byte 0x01 7. " SE ,Sample enable" "Disabled,Enabled" bitfld.byte 0x01 6. " WE ,Windowing enable" "Disabled,Enabled" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x01 5. " TRIGM ,Trigger mode enable" "Disabled,Enabled" endif newline bitfld.byte 0x01 4. " PMODE ,Power mode select" "Low-speed,High-speed" bitfld.byte 0x01 3. " INV ,Comparator INVERT" "Not inverted,Inverted" bitfld.byte 0x01 2. " COS ,Comparator output select" "COUT,COUTA" newline bitfld.byte 0x01 1. " OPE ,Comparator output pin enable" "Disabled,Enabled" bitfld.byte 0x01 0. " EN ,Comparator module enable" "Disabled,Enabled" line.byte 0x02 "FPR,CMP Filter Period Register" line.byte 0x03 "SCR,CMP Status and Control Register" bitfld.byte 0x03 6. " DMAEN ,DMA enable control" "Disabled,Enabled" sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*"))||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x03 5. " SMELB ,Stop mode edge/level interrupt control" "Level,Edge" endif newline bitfld.byte 0x03 4. " IER ,Comparator interrupt enable rising" "Disabled,Enabled" bitfld.byte 0x03 3. " IEF ,Comparator interrupt enable falling" "Disabled,Enabled" eventfld.byte 0x03 2. " CFR ,Analog comparator flag rising" "Not occurred,Occurred" newline eventfld.byte 0x03 1. " CFF ,Analog comparator flag falling" "Not occurred,Occurred" rbitfld.byte 0x03 0. " COUT ,Analog comparator output" "Low,High" line.byte 0x04 "DACCR,DAC Control Register" bitfld.byte 0x04 7. " DACEN ,DAC enable" "Disabled,Enabled" newline sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "Vin1,Vin2" else bitfld.byte 0x04 6. " VRSEL ,Supply voltage reference source select" "VREF_OUT,VDD" endif newline bitfld.byte 0x04 0.--5. " VOSEL ,DAC output voltage level select" "1/64 Vin,2/64 Vin,3/64 Vin,4/64 Vin,5/64 Vin,6/64 Vin,7/64 Vin,8/64 Vin,9/64 Vin,10/64 Vin,11/64 Vin,12/64 Vin,13/64 Vin,14/64 Vin,15/64 Vin,16/64 Vin,17/64 Vin,18/64 Vin,19/64 Vin,20/64 Vin,21/64 Vin,22/64 Vin,23/64 Vin,24/64 Vin,25/64 Vin,26/64 Vin,27/64 Vin,28/64 Vin,29/64 Vin,30/64 Vin,31/64 Vin,32/64 Vin,33/64 Vin,34/64 Vin,35/64 Vin,36/64 Vin,37/64 Vin,38/64 Vin,39/64 Vin,40/64 Vin,41/64 Vin,42/64 Vin,43/64 Vin,44/64 Vin,45/64 Vin,46/64 Vin,47/64 Vin,48/64 Vin,49/64 Vin,50/64 Vin,51/64 Vin,52/64 Vin,53/64 Vin,54/64 Vin,55/64 Vin,56/64 Vin,57/64 Vin,58/64 Vin,59/64 Vin,60/64 Vin,61/64 Vin,62/64 Vin,63/64 Vin,Vin" line.byte 0x05 "MUXCR,MUX Control Register" sif !(cpuis("MK70*"))&&!cpuis("MK8?FN256V*") sif cpuis("MK60D*AB10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK40D*Z*10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 7. " PEN ,PMUX enable" "Disabled,Enabled" newline elif cpuis("MK63*F")||cpuis("MK64*F")||cpuis("MK65*F")||cpuis("MK66*F")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x05 7. " PSTM ,Pass through mode enable" "Disabled,Enabled" newline endif sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" elif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK40D*Z*10")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("KK60DN512ZCAB10R") bitfld.byte 0x05 6. " PSTM ,Pass through mode enable" "Disabled,Enabled" else bitfld.byte 0x05 6. " MEN ,MMUX enable" "Disabled,Enabled" endif newline endif sif cpuis("MK84FN2M0CAU15R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,,VREF Out/IN5,Bandgap,6-bit DAC" elif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*") sif cpuis("MK30DX256VLL7*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,,Bandgap,6-bit DAC2" else newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,CMP2_IN5,Bandgap,?..." bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,CMP2_IN5,Bandgap,?..." endif elif cpuis("MK70*") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,ADC0SE16/CMP2_IN2,12b DAC1/CMP2_IN3,CMP2_IN4,CMP2_IN5,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,ADC0SE16/CMP2_IN2,12b DAC1/CMP2_IN3,CMP2_IN4,CMP2_IN5,Bandgap,6-bit DAC2" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,Op-amp 1 output/CMP2_IN2,12b DAC1/CMP2_IN3,,TRIAMP1 output/CMP2_IN5,Bandgap,?..." bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,Op-amp 1 output/CMP2_IN2,12b DAC1/CMP2_IN3,,TRIAMP1 output/CMP2_IN5,Bandgap,?..." elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R") newline sif cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R") bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,,12b DAC1/CMP2_IN3,,CMP2_IN5,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,,12b DAC1/CMP2_IN3,,CMP2_IN5,Bandgap,6-bit DAC2" else bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,CMP2_IN5,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,,CMP2_IN3,,CMP2_IN5,Bandgap,6-bit DAC2" endif elif cpuis("MK60DN512VMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" elif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZVMC10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,,12b DAC1_OUT/CMP2_IN3,,CMP2_IN5,Bandgap,?..." bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,,12b DAC1_OUT/CMP2_IN3,,CMP2_IN5,Bandgap,?..." elif cpuis("KK60FN1M0VLQ15") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,ADC0SE16/CMP2_IN2,12b DAC1/CMP2_IN3,CMP2_IN4,CMP2_IN5,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,ADC0SE16/CMP2_IN2,12b DAC1/CMP2_IN3,CMP2_IN4,CMP2_IN5,Bandgap,6-bit DAC2" elif cpuis("KK60DN512ZCAB10R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" elif cpuis("MK63FN1M0VLQ12R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,ADC1_SE/CMP2_IN2,,,,Bandgap,?..." bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,ADC1_SE/CMP2_IN2,,,,Bandgap,?..." elif cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "CMP2_IN0,CMP2_IN1,ADC1_SE16/CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "CMP2_IN0,CMP2_IN1,ADC1_SE16/CMP2_IN2,12b DAC1_OUT/CMP2_IN3,,,Bandgap,6-bit DAC2" else newline bitfld.byte 0x05 3.--5. " PSEL ,Positive input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" bitfld.byte 0x05 0.--2. " MSEL ,Minus input MUX control" "IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7" endif width 0x0B tree.end tree.end tree.open "DAC (12-bit Digital-to-Analog Converter)" tree "DAC 0" base ad:0x400cc000 width 8. sif cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") group.byte 0x00++0x01 line.byte 0x00 "DAT0L,DAC Data Low Register" line.byte 0x01 "DAT0H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x2++0x00 line.byte 0x00 "DAT1L,DAC Data Low Register" group.byte 0x4++0x00 line.byte 0x00 "DAT2L,DAC Data Low Register" group.byte 0x6++0x00 line.byte 0x00 "DAT3L,DAC Data Low Register" group.byte 0x8++0x00 line.byte 0x00 "DAT4L,DAC Data Low Register" group.byte 0xA++0x00 line.byte 0x00 "DAT5L,DAC Data Low Register" group.byte 0xC++0x00 line.byte 0x00 "DAT6L,DAC Data Low Register" group.byte 0xE++0x00 line.byte 0x00 "DAT7L,DAC Data Low Register" group.byte 0x10++0x00 line.byte 0x00 "DAT8L,DAC Data Low Register" group.byte 0x12++0x00 line.byte 0x00 "DAT9L,DAC Data Low Register" group.byte 0x14++0x00 line.byte 0x00 "DAT10L,DAC Data Low Register" group.byte 0x16++0x00 line.byte 0x00 "DAT11L,DAC Data Low Register" group.byte 0x18++0x00 line.byte 0x00 "DAT12L,DAC Data Low Register" group.byte 0x1A++0x00 line.byte 0x00 "DAT13L,DAC Data Low Register" group.byte 0x1C++0x00 line.byte 0x00 "DAT14L,DAC Data Low Register" group.byte 0x1E++0x00 line.byte 0x00 "DAT15L,DAC Data Low Register" else group.byte 0x0++0x01 line.byte 0x00 "DAT0L,DAC Data Low Register" line.byte 0x01 "DAT0H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x2++0x01 line.byte 0x00 "DAT1L,DAC Data Low Register" line.byte 0x01 "DAT1H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x4++0x01 line.byte 0x00 "DAT2L,DAC Data Low Register" line.byte 0x01 "DAT2H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x6++0x01 line.byte 0x00 "DAT3L,DAC Data Low Register" line.byte 0x01 "DAT3H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x8++0x01 line.byte 0x00 "DAT4L,DAC Data Low Register" line.byte 0x01 "DAT4H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xA++0x01 line.byte 0x00 "DAT5L,DAC Data Low Register" line.byte 0x01 "DAT5H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xC++0x01 line.byte 0x00 "DAT6L,DAC Data Low Register" line.byte 0x01 "DAT6H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xE++0x01 line.byte 0x00 "DAT7L,DAC Data Low Register" line.byte 0x01 "DAT7H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x10++0x01 line.byte 0x00 "DAT8L,DAC Data Low Register" line.byte 0x01 "DAT8H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x12++0x01 line.byte 0x00 "DAT9L,DAC Data Low Register" line.byte 0x01 "DAT9H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x14++0x01 line.byte 0x00 "DAT10L,DAC Data Low Register" line.byte 0x01 "DAT10H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x16++0x01 line.byte 0x00 "DAT11L,DAC Data Low Register" line.byte 0x01 "DAT11H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x18++0x01 line.byte 0x00 "DAT12L,DAC Data Low Register" line.byte 0x01 "DAT12H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1A++0x01 line.byte 0x00 "DAT13L,DAC Data Low Register" line.byte 0x01 "DAT13H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1C++0x01 line.byte 0x00 "DAT14L,DAC Data Low Register" line.byte 0x01 "DAT14H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1E++0x01 line.byte 0x00 "DAT15L,DAC Data Low Register" line.byte 0x01 "DAT15H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" endif newline width 4. group.byte 0x20++0x01 line.byte 0x00 "SR,DAC Status Register" bitfld.byte 0x00 2. " DACBFWMF ,DAC buffer reached the watermark level" "Not reached,Reached" bitfld.byte 0x00 1. " DACBFRPTF ,DAC buffer read pointer is zero" "Not zero,Zero" bitfld.byte 0x00 0. " DACBFRPBF ,DAC buffer read pointer bottom position flag (pointer not equal/equal to the DACBFUP)" "Not equal,Equal" line.byte 0x01 "C0,DAC Control Register" bitfld.byte 0x01 7. " DACEN ,DAC enable" "Disabled,Enabled" bitfld.byte 0x01 6. " DACRFS ,DAC reference select" "VREF_OUT,VDDA" bitfld.byte 0x01 5. " DACTRGSEL ,DAC trigger select" "Hardware,Software" bitfld.byte 0x01 4. " DACSWTRG ,DAC software trigger" "Not valid,Valid" newline bitfld.byte 0x01 3. " LPEN ,DAC low power control" "High-Power,Low-Power" bitfld.byte 0x01 2. " DACBWIEN ,DAC buffer watermark interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 1. " DACBTIEN ,DAC buffer read pointer top flag interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 0. " DACBBIEN ,DAC buffer read pointer bottom flag interrupt enable" "Disabled,Enabled" sif cpuis("MK22FN128*")||cpuis("MK22FN256*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK70*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MKS2?FN???V??12")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") if (((per.b(ad:0x400cd000+0x22))&0x06)==0x06) group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark (Quantity of data remaining in FIFO that will set watermark status)" "2 or less,Max/4 or less,Max/2 or less,Max-2 or less" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" else group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" endif elif cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLH12R") group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,?..." bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,,One-Time scan,?..." bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" elif cpuis("MK02*") group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" else group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,?..." bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" endif group.byte 0x23++0x00 line.byte 0x00 "C2,DAC Control Register 2" sif cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FX512AVLH12R") bitfld.byte 0x00 4. " DACBFRP ,DAC buffer read pointer" "0,1" bitfld.byte 0x00 0. " DACBFUP ,DAC buffer upper limit" "0,1" else bitfld.byte 0x00 4.--7. " DACBFRP ,DAC buffer read pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " DACBFUP ,DAC buffer upper limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif width 0x0B tree.end sif cpuis("MK5*10") tree "DAC 1" base ad:0x400cd000 width 8. sif cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") group.byte 0x00++0x01 line.byte 0x00 "DAT0L,DAC Data Low Register" line.byte 0x01 "DAT0H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x2++0x00 line.byte 0x00 "DAT1L,DAC Data Low Register" group.byte 0x4++0x00 line.byte 0x00 "DAT2L,DAC Data Low Register" group.byte 0x6++0x00 line.byte 0x00 "DAT3L,DAC Data Low Register" group.byte 0x8++0x00 line.byte 0x00 "DAT4L,DAC Data Low Register" group.byte 0xA++0x00 line.byte 0x00 "DAT5L,DAC Data Low Register" group.byte 0xC++0x00 line.byte 0x00 "DAT6L,DAC Data Low Register" group.byte 0xE++0x00 line.byte 0x00 "DAT7L,DAC Data Low Register" group.byte 0x10++0x00 line.byte 0x00 "DAT8L,DAC Data Low Register" group.byte 0x12++0x00 line.byte 0x00 "DAT9L,DAC Data Low Register" group.byte 0x14++0x00 line.byte 0x00 "DAT10L,DAC Data Low Register" group.byte 0x16++0x00 line.byte 0x00 "DAT11L,DAC Data Low Register" group.byte 0x18++0x00 line.byte 0x00 "DAT12L,DAC Data Low Register" group.byte 0x1A++0x00 line.byte 0x00 "DAT13L,DAC Data Low Register" group.byte 0x1C++0x00 line.byte 0x00 "DAT14L,DAC Data Low Register" group.byte 0x1E++0x00 line.byte 0x00 "DAT15L,DAC Data Low Register" else group.byte 0x0++0x01 line.byte 0x00 "DAT0L,DAC Data Low Register" line.byte 0x01 "DAT0H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x2++0x01 line.byte 0x00 "DAT1L,DAC Data Low Register" line.byte 0x01 "DAT1H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x4++0x01 line.byte 0x00 "DAT2L,DAC Data Low Register" line.byte 0x01 "DAT2H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x6++0x01 line.byte 0x00 "DAT3L,DAC Data Low Register" line.byte 0x01 "DAT3H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x8++0x01 line.byte 0x00 "DAT4L,DAC Data Low Register" line.byte 0x01 "DAT4H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xA++0x01 line.byte 0x00 "DAT5L,DAC Data Low Register" line.byte 0x01 "DAT5H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xC++0x01 line.byte 0x00 "DAT6L,DAC Data Low Register" line.byte 0x01 "DAT6H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0xE++0x01 line.byte 0x00 "DAT7L,DAC Data Low Register" line.byte 0x01 "DAT7H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x10++0x01 line.byte 0x00 "DAT8L,DAC Data Low Register" line.byte 0x01 "DAT8H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x12++0x01 line.byte 0x00 "DAT9L,DAC Data Low Register" line.byte 0x01 "DAT9H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x14++0x01 line.byte 0x00 "DAT10L,DAC Data Low Register" line.byte 0x01 "DAT10H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x16++0x01 line.byte 0x00 "DAT11L,DAC Data Low Register" line.byte 0x01 "DAT11H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x18++0x01 line.byte 0x00 "DAT12L,DAC Data Low Register" line.byte 0x01 "DAT12H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1A++0x01 line.byte 0x00 "DAT13L,DAC Data Low Register" line.byte 0x01 "DAT13H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1C++0x01 line.byte 0x00 "DAT14L,DAC Data Low Register" line.byte 0x01 "DAT14H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" group.byte 0x1E++0x01 line.byte 0x00 "DAT15L,DAC Data Low Register" line.byte 0x01 "DAT15H,DAC Data High Register" hexmask.byte 0x01 0.--3. 1. " DATA[11:8] ,Data bits" endif newline width 4. group.byte 0x20++0x01 line.byte 0x00 "SR,DAC Status Register" bitfld.byte 0x00 2. " DACBFWMF ,DAC buffer reached the watermark level" "Not reached,Reached" bitfld.byte 0x00 1. " DACBFRPTF ,DAC buffer read pointer is zero" "Not zero,Zero" bitfld.byte 0x00 0. " DACBFRPBF ,DAC buffer read pointer bottom position flag (pointer not equal/equal to the DACBFUP)" "Not equal,Equal" line.byte 0x01 "C0,DAC Control Register" bitfld.byte 0x01 7. " DACEN ,DAC enable" "Disabled,Enabled" bitfld.byte 0x01 6. " DACRFS ,DAC reference select" "VREF_OUT,VDDA" bitfld.byte 0x01 5. " DACTRGSEL ,DAC trigger select" "Hardware,Software" bitfld.byte 0x01 4. " DACSWTRG ,DAC software trigger" "Not valid,Valid" newline bitfld.byte 0x01 3. " LPEN ,DAC low power control" "High-Power,Low-Power" bitfld.byte 0x01 2. " DACBWIEN ,DAC buffer watermark interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 1. " DACBTIEN ,DAC buffer read pointer top flag interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 0. " DACBBIEN ,DAC buffer read pointer bottom flag interrupt enable" "Disabled,Enabled" sif cpuis("MK22FN128*")||cpuis("MK22FN256*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK70*")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MKS2?FN???V??12")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK60FN1M0VLQ15") if (((per.b(ad:0x400cd000+0x22))&0x06)==0x06) group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark (Quantity of data remaining in FIFO that will set watermark status)" "2 or less,Max/4 or less,Max/2 or less,Max-2 or less" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" else group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" endif elif cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLH12R") group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,?..." bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,,One-Time scan,?..." bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" elif cpuis("MK02*") group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,FIFO" bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" else group.byte 0x22++0x00 line.byte 0x00 "C1,DAC Control Register 1" bitfld.byte 0x00 7. " DMAEN ,DMA enable select" "Disabled,Enabled" bitfld.byte 0x00 3.--4. " DACBFWM ,DAC buffer watermark select" "1 word,2 words,3 words,4 words" bitfld.byte 0x00 1.--2. " DACBFMD ,DAC buffer work mode select" "Normal,Swing,One-Time scan,?..." bitfld.byte 0x00 0. " DACBFEN ,DAC buffer enable" "Disabled,Enabled" endif group.byte 0x23++0x00 line.byte 0x00 "C2,DAC Control Register 2" sif cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FX512AVLH12R") bitfld.byte 0x00 4. " DACBFRP ,DAC buffer read pointer" "0,1" bitfld.byte 0x00 0. " DACBFUP ,DAC buffer upper limit" "0,1" else bitfld.byte 0x00 4.--7. " DACBFRP ,DAC buffer read pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " DACBFUP ,DAC buffer upper limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif width 0x0B tree.end endif tree.end tree "OPAMP (Operational amplifier)" tree "OPAMP0" base ad:0x400F5000 width 11. group.byte 0x00++0x0 line.byte 0x00 "OPAMP0_C0,Control Register 0" bitfld.byte 0x00 7. " EN ,OPAMP enable" "Disabled,Enabled" bitfld.byte 0x00 6. " LPEN ,Low-power mode enable" "Disabled,Enabled" bitfld.byte 0x00 0.--1. " MODE ,OPAMP mode select" "Buffer,Inverting PGA,General purpose,Non inverting PGA" if ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x00)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",-1,-2,-3" elif ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x04)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-8,-9,-10,-11" elif ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x08)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-4,-5,-6,-7" elif ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x0C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-12,-13,-14,-15" elif ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==(0x10||0x14||0x18))) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" elif ((((per.b(ad:0x400F5000))&0x03)==0x01)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x1C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",,-16,-17" elif ((((per.b(ad:0x400F5000))&0x03)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x00)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,-/-/17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",2,3,4" elif ((((per.b(ad:0x400F5000))&0x03)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x04)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "9,10,11,12" elif ((((per.b(ad:0x400F5000))&0x3)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x08)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "5,6,7,8" elif ((((per.b(ad:0x400F5000))&0x03)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x0C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "13,14,15,16" elif ((((per.b(ad:0x400F5000))&0x03)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==(0x10||0x14||0x18))) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" elif ((((per.b(ad:0x400F5000))&0x03)==0x03)&&(((per.b(ad:0x400F5000+0x01))&0x1C)==0x1C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP0_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",,17,18" else hgroup.byte 0x01++0x00 hide.byte 0x00 "OPAMP0_C1,Control Register 1" endif textline " " sif (cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) group.byte 0x2++0x0 line.byte 0x00 "OPAMP0_C2,Control Register 2" bitfld.byte 0x00 4.--6. " AMPPSEL ,Amplifier positive input terminal select" "OP0_DP0 input,Op-amp 0 output,Op-amp 1 output,CMP0 6-bit DAC output,12-bit DAC0 output,12-bit DAC1 output,VDD,Ground" bitfld.byte 0x00 0.--2. " AMPNSEL ,Amplifier negative input terminal select" "OP0_DM0 input,,Op-amp 1 output,CMP0 6-bit DAC output,12-bit DAC0 output,12-bit DAC1 Output,VDD,Ground" else group.byte 0x2++0x0 line.byte 0x00 "OPAMP0_C2,Control Register 2" bitfld.byte 0x00 4.--6. " AMPPSEL ,Amplifier positive input terminal select" "Input 0,Input 1,Input 2,Input 3,Input 4,Input 5,Input 6,Input 7" bitfld.byte 0x00 0.--2. " AMPNSEL ,Amplifier negative input terminal select" "Input 0,Input 1,Input 2,Input 3,Input 4,Input 5,Input 6,Input 7" endif width 0xb tree.end tree "OPAMP1" base ad:0x400F5800 width 11. group.byte 0x00++0x0 line.byte 0x00 "OPAMP1_C0,Control Register 0" bitfld.byte 0x00 7. " EN ,OPAMP enable" "Disabled,Enabled" bitfld.byte 0x00 6. " LPEN ,Low-power mode enable" "Disabled,Enabled" bitfld.byte 0x00 0.--1. " MODE ,OPAMP mode select" "Buffer,Inverting PGA,General purpose,Non inverting PGA" if ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x00)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",-1,-2,-3" elif ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x04)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-8,-9,-10,-11" elif ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x08)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-4,-5,-6,-7" elif ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x0C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "-12,-13,-14,-15" elif ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==(0x10||0x14||0x18))) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" elif ((((per.b(ad:0x400F5800))&0x03)==0x01)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x1C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/-1/-2/-3,-8/-9/-10/-11,-4/-5/-6/-7,-12/-13/-14/-15,,,,-/-/-16/-17" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",,-16,-17" elif ((((per.b(ad:0x400F5800))&0x03)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x00)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "-/2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,-/-/17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",2,3,4" elif ((((per.b(ad:0x400F5800))&0x03)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x04)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "9,10,11,12" elif ((((per.b(ad:0x400F5800))&0x3)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x08)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "5,6,7,8" elif ((((per.b(ad:0x400F5800))&0x03)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x0C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" "13,14,15,16" elif ((((per.b(ad:0x400F5800))&0x03)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==(0x10||0x14||0x18))) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" elif ((((per.b(ad:0x400F5800))&0x03)==0x03)&&(((per.b(ad:0x400F5800+0x01))&0x1C)==0x1C)) group.byte 0x01++0x00 line.byte 0x00 "OPAMP1_C1,Control Register 1" bitfld.byte 0x00 2.--4. " AMPRF ,Gains selector" "2/3/4,9/10/11/12,5/6/7/8,13/14/15/16,,,,17/18" bitfld.byte 0x00 0.--1. " AMPRI ,Gains selector" ",,17,18" else hgroup.byte 0x01++0x00 hide.byte 0x00 "OPAMP1_C1,Control Register 1" endif textline " " sif (cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) group.byte 0x2++0x0 line.byte 0x00 "OPAMP1_C2,Control Register 2" bitfld.byte 0x00 4.--6. " AMPPSEL ,Amplifier positive input terminal select" "OP1_DP0 input,Op-amp 0 output,Op-amp 1 output,CMP0 6-bit DAC output,12-bit DAC0 output,12-bit DAC1 output,VDD,Ground" bitfld.byte 0x00 0.--2. " AMPNSEL ,Amplifier negative input terminal select" "OP1_DM0 input,Op-amp 0 output,OP1_DM1 input,CMP0 6-bit DAC output,12-bit DAC0 output,TRI0_OUT/OP1_DM2 input,VDD,Ground" else group.byte 0x2++0x0 line.byte 0x00 "OPAMP1_C2,Control Register 2" bitfld.byte 0x00 4.--6. " AMPPSEL ,Amplifier positive input terminal select" "Input 0,Input 1,Input 2,Input 3,Input 4,Input 5,Input 6,Input 7" bitfld.byte 0x00 0.--2. " AMPNSEL ,Amplifier negative input terminal select" "Input 0,Input 1,Input 2,Input 3,Input 4,Input 5,Input 6,Input 7" endif width 0xb tree.end tree "TRIAMP0" base ad:0x400F8000 width 12. group.byte 0x00++0x00 line.byte 0x00 "TRIAMP0_C0,Control Register 0" bitfld.byte 0x00 7. " TRIAMPEN ,TRIAMP enable" "Disabled,Enabled" bitfld.byte 0x00 6. " LPEN ,Low-power enable" "Disabled,Enabled" width 0x0B tree.end sif !cpuis("MK5*7") tree "TRIAMP1" base ad:0x400F8800 width 12. group.byte 0x00++0x00 line.byte 0x00 "TRIAMP1_C0,Control Register 0" bitfld.byte 0x00 7. " TRIAMPEN ,TRIAMP enable" "Disabled,Enabled" bitfld.byte 0x00 6. " LPEN ,Low-power enable" "Disabled,Enabled" width 0x0B tree.end endif tree.end tree "VREFV1 (Voltage Reference)" base ad:0x40074000 width 10. group.byte 0x00++0x01 line.byte 0x00 "VREF_TRM,VREF Trim Register" sif !cpuis("MK30DN512ZVLK10")&&(!cpuis("MK30D????ZVLQ*"))&&(!cpuis("MK40D*Z*10"))&&(!cpuis("MK53DN512ZCLQ10"))&&(!cpuis("MK53DN512ZCMD10"))&&(!cpuis("MK53DX256ZCLQ10"))&&(!cpuis("MK53DX256ZCMD10"))&&(!cpuis("MK50DX256ZCLL10"))&&(!cpuis("MK50DN512ZCLL10"))&&(!cpuis("MK52DN512ZCLQ10"))&&(!cpuis("MK52DN512ZCMD10"))&&(!cpuis("MK51DN256ZCLQ10"))&&(!cpuis("MK51DN256ZCMD10"))&&(!cpuis("MK51DN512ZCLQ10"))&&(!cpuis("MK51DN512ZCMD10"))&&(!cpuis("MK51DX256ZCMC10"))&&(!cpuis("MK51DN512ZCMC10"))&&(!cpuis("MK51DX256ZCLL10"))&&(!cpuis("MK51DN512ZCLL10"))&&(!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10"))&&!cpuis("MK50DN512ZCMD10")||cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R") bitfld.byte 0x00 6. " CHOPEN ,Chop oscillator enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 0.--5. " TRIM ,Trim bits" "Min,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,Max" line.byte 0x01 "SC,VREF Status and Control Register" bitfld.byte 0x01 7. " VREFEN ,Internal voltage reference enable" "Disabled,Enabled" textline " " bitfld.byte 0x01 6. " REGEN ,Regulator enable" "Disabled,Enabled" textline " " sif ((!cpuis("MK30DN512ZVLK10"))&&(!cpuis("MK30D????ZVLQ*"))&&(!cpuis("MK40D*Z*10"))&&(!cpuis("MK53DN512ZCLQ10"))&&(!cpuis("MK53DN512ZCMD10"))&&(!cpuis("MK53DX256ZCLQ10"))&&(!cpuis("MK53DX256ZCMD10"))&&(!cpuis("MK50DX256ZCLL10"))&&(!cpuis("MK50DN512ZCLL10"))&&(!cpuis("MK52DN512ZCLQ10"))&&(!cpuis("MK52DN512ZCMD10"))&&(!cpuis("MK51DN256ZCLQ10"))&&(!cpuis("MK51DN256ZCMD10"))&&(!cpuis("MK51DN512ZCLQ10"))&&(!cpuis("MK51DN512ZCMD10"))&&(!cpuis("MK51DX256ZCMC10"))&&(!cpuis("MK51DN512ZCMC10"))&&(!cpuis("MK51DX256ZCLL10"))&&(!cpuis("MK51DN512ZCLL10"))&&(!cpuis("MK50DN512ZCLQ10"))&&(!cpuis("MK50DN512ZCMD10")))&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MK50DX256ZCLQ10") bitfld.byte 0x01 5. " ICOMPEN ,Second order curvature compensation enable" "Disabled,Enabled" textline " " endif rbitfld.byte 0x01 2. " VREFST ,Internal voltage reference stable" "Not stable,Stable" sif (cpu()=="MK40DN512ZVLL10")||(cpu()=="MK40DN512ZVLQ10")||(cpu()=="MK40DN512ZVMD10")||(cpu()=="MK40DX128ZVLQ10")||(cpu()=="MK40DX256ZVLQ10")||(cpu()=="MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MK50DX256ZCLQ10") textline " " bitfld.byte 0x01 0.--1. " MODE_LV ,Buffer mode selection" "Bandgap,,Tight-regulation buffer,?..." else textline " " bitfld.byte 0x01 0.--1. " MODE_LV ,Buffer mode selection" "Bandgap,High power buffer,Low-power buffer,?..." endif width 0x0B tree.end tree.end tree.open "Timers" tree "PDB (Programmable Delay Block)" base ad:0x40036000 width 6. group.long 0x00++0x07 line.long 0x00 "SC,Status and Control Register" bitfld.long 0x00 18.--19. " LDMOD ,Load mode select" "Immediately after 1 to LDOK,PDB reach MOD,Trigger input detected,Trigger input detected/PDB reach MOD" newline bitfld.long 0x00 17. " PDBEIE ,PDB sequence error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 16. " SWTRIG ,Software trigger" "Not triggered,Triggered" bitfld.long 0x00 15. " DMAEN ,DMA enable" "Disabled,Enabled" newline bitfld.long 0x00 12.--14. " PRESCALER ,Prescaler divider select (of multiplication factor)" "/1,/2,/4,/8,/16,/32,/64,/128" sif cpuis("MK11D*MC*") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,,PIT Ch_0 Out.,PIT Ch_1 Out.,PIT Ch_2 Out.,PIT Ch_3 Out.,FTM_0,FTM_1,FTM_2,,RTC Alarm,RTC Sec.,LPTMR Out.,Software" elif cpuis("MK24FN256VDC12") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,,PIT Ch 0,PIT Ch 1,PIT Ch 2,PIT Ch 3,FTM0,FTM1,FTM2,FTM3,RTC Alarm,RTC Seconds,LPTMR,Software" elif cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,CMP 2,PIT Ch 0,PIT Ch 1,PIT Ch 2,PIT Ch 3,FTM0,FTM1,FTM2,FTM3,RTC Alarm,RTC Seconds,LPTMR,Software" elif cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10*")||cpuis("MK10DN512ZVMD10*")||cpuis("MK10DN512ZVMC10*")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,CMP 2,PIT Ch 0,PIT Ch 1,PIT Ch 2,PIT Ch 3,FTM0,FTM1,FTM2,,RTC Alarm,RTC Seconds,LPTMR,Software" elif cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "PDB0_EXTRG,CMP0,CMP1,,PIT0,PIT1,PIT2,PIT3,FTM0,FTM1,,,RTC Alarm,RTC Seconds,LPTMR,Software" elif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,CMP 2,PIT Ch_0 Out,PIT Ch_1 Out,PIT Ch_2 Out,PIT Ch_3 Out,FTM_0,FTM_1,FTM_2,,RTC Alarm,RTC Sec.,LPTMR Out.,Software" elif cpuis("MK02*") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP 0,CMP 1,,PIT Ch_0 Out.,PIT Ch_1 Out.,PIT Ch_2 Out.,PIT Ch_3 Out.,FTM_0,FTM_1,FTM_2,,,,LPTMR Out.,?..." elif cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512VLL12") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP0,CMP1,,PIT Ch_0 Out,PIT Ch_1 Out,PIT Ch_2 Out,PIT Ch_3 Out,FTM0,FTM1,FTM2,FTM3,RTC Alarm,RTC Seconds,LPTMR Out,Software trigger" elif cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP0,CMP1,CMP2,PIT Ch_0 Out,PIT Ch_1 Out,PIT Ch_2 Out,PIT Ch_3 Out,FTM0,FTM1,FTM2,,RTC Alarm,RTC Seconds,LPTMR Out,Software trigger" elif cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FX512AVMD12")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*") bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "External,CMP0,CMP1,CMP2,PIT Ch_0 Out,PIT Ch_1 Out,PIT Ch_2 Out,PIT Ch_3 Out,FTM0,FTM1,FTM2,FTM3,RTC Alarm,RTC Seconds,LPTMR Out,Software trigger" else bitfld.long 0x00 8.--11. " TRGSEL ,Trigger input source select" "Trigger-In 0,Trigger-In 1,Trigger-In 2,Trigger-In 3,Trigger-In 4,Trigger-In 5,Trigger-In 6,Trigger-In 7,Trigger-In 8,Trigger-In 9,Trigger-In 10,Trigger-In 11,Trigger-In 12,Trigger-In 13,Trigger-In 14,Software trigger" endif bitfld.long 0x00 7. " PDBEN ,PDB enable" "Disabled,Enabled" newline bitfld.long 0x00 6. " PDBIF ,PDB interrupt flag" "No interrupt,Interrupt" bitfld.long 0x00 5. " PDBIE ,PDB interrupt enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " MULT ,Multiplication factor select for prescaler" "1,10,20,40" newline bitfld.long 0x00 1. " CONT ,Continuous mode enable" "One-Shot,Continuous" bitfld.long 0x00 0. " LDOK ,Load OK" "Not updated,Updated" line.long 0x04 "MOD,Modulus Register" hexmask.long.word 0x04 0.--15. 1. " MOD ,PDB modulus" rgroup.long 0x08++0x03 line.long 0x00 "CNT,Counter Register" hexmask.long.word 0x00 0.--15. 1. " CNT ,PDB counter" group.long 0x0C++0x03 line.long 0x00 "IDLY,Interrupt Delay Register" hexmask.long.word 0x00 0.--15. 1. " IDLY ,PDB interrupt delay" width 10. tree "Channel 0" group.long 0x10++0x0F line.long 0x00 "CH0_C1,Channel 0 Control Register 1" sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 23. " BB[7] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 22. " [6] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 21. " [5] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 20. " [4] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline bitfld.long 0x00 19. " [3] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 18. " [2] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline endif bitfld.long 0x00 17. " BB[1] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 16. " [0] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline sif cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 15. " TOS[7] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 14. " [6] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 13. " [5] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 12. " [4] ,PDB channel pre-trigger output select" "Not selected,Selected" newline bitfld.long 0x00 11. " [3] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 10. " [2] ,PDB channel pre-trigger output select" "Not selected,Selected" newline endif bitfld.long 0x00 9. " TOS[1] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 8. " [0] ,PDB channel pre-trigger output select" "Not selected,Selected" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 7. " EN[7] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,PDB channel pre-trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,PDB channel pre-trigger enable" "Disabled,Enabled" newline endif bitfld.long 0x00 1. " EN[1] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,PDB channel pre-trigger enable" "Disabled,Enabled" line.long 0x04 "CH0_S,Channel 0 Status Register" sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x04 23. " CF[7] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 22. " [6] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 21. " [5] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 20. " [4] ,PDB channel flag" "Not occurred,Occurred" newline bitfld.long 0x04 19. " [3] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 18. " [2] ,PDB channel flag" "Not occurred,Occurred" newline endif bitfld.long 0x04 17. " CF[1] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 16. " [0] ,PDB channel flag" "Not occurred,Occurred" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x04 7. " ERR[7] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 6. " [6] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 5. " [5] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 4. " [4] ,PDB channel sequence error flag" "No error,Error" newline bitfld.long 0x04 3. " [3] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 2. " [2] ,PDB channel sequence error flag" "No error,Error" newline endif bitfld.long 0x04 1. " ERR[1] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 0. " [0] ,PDB channel sequence error flag" "No error,Error" line.long 0x08 "CH0_DLY0,Channel 0 Delay 0 Register" hexmask.long.word 0x08 0.--15. 1. " DLY ,PDB channel delay" line.long 0x0C "CH0_DLY1,Channel 0 Delay 1 Register" hexmask.long.word 0x0C 0.--15. 1. " DLY ,PDB channel delay" tree.end tree "Channel 1" group.long 0x38++0x0F line.long 0x00 "CH1_C1,Channel 1 Control Register 1" sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 23. " BB[7] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 22. " [6] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 21. " [5] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 20. " [4] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline bitfld.long 0x00 19. " [3] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 18. " [2] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline endif bitfld.long 0x00 17. " BB[1] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" bitfld.long 0x00 16. " [0] ,PDB channel pre-trigger back-to-back operation enable" "Disabled,Enabled" newline sif cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 15. " TOS[7] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 14. " [6] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 13. " [5] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 12. " [4] ,PDB channel pre-trigger output select" "Not selected,Selected" newline bitfld.long 0x00 11. " [3] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 10. " [2] ,PDB channel pre-trigger output select" "Not selected,Selected" newline endif bitfld.long 0x00 9. " TOS[1] ,PDB channel pre-trigger output select" "Not selected,Selected" bitfld.long 0x00 8. " [0] ,PDB channel pre-trigger output select" "Not selected,Selected" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x00 7. " EN[7] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,PDB channel pre-trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,PDB channel pre-trigger enable" "Disabled,Enabled" newline endif bitfld.long 0x00 1. " EN[1] ,PDB channel pre-trigger enable" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,PDB channel pre-trigger enable" "Disabled,Enabled" line.long 0x04 "CH1_S,Channel 1 Status Register" sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x04 23. " CF[7] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 22. " [6] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 21. " [5] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 20. " [4] ,PDB channel flag" "Not occurred,Occurred" newline bitfld.long 0x04 19. " [3] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 18. " [2] ,PDB channel flag" "Not occurred,Occurred" newline endif bitfld.long 0x04 17. " CF[1] ,PDB channel flag" "Not occurred,Occurred" bitfld.long 0x04 16. " [0] ,PDB channel flag" "Not occurred,Occurred" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLQ12R") bitfld.long 0x04 7. " ERR[7] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 6. " [6] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 5. " [5] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 4. " [4] ,PDB channel sequence error flag" "No error,Error" newline bitfld.long 0x04 3. " [3] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 2. " [2] ,PDB channel sequence error flag" "No error,Error" newline endif bitfld.long 0x04 1. " ERR[1] ,PDB channel sequence error flag" "No error,Error" bitfld.long 0x04 0. " [0] ,PDB channel sequence error flag" "No error,Error" line.long 0x08 "CH1_DLY0,Channel 1 Delay 0 Register" hexmask.long.word 0x08 0.--15. 1. " DLY ,PDB channel delay" line.long 0x0C "CH1_DLY1,Channel 1 Delay 1 Register" hexmask.long.word 0x0C 0.--15. 1. " DLY ,PDB channel delay" tree.end newline sif cpuis("MK11D*MC*")||cpuis("MK*7")||cpuis("MK?1D*5")||cpuis("MK?2D*5")||cpuis("MK02*")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK11DN512VLK5*")||cpuis("MK11DN512AVLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK24FN256VDC12") group.long 0x150++0x07 line.long 0x00 "DACINTC0,DAC Interval Trigger 0 Control Register" bitfld.long 0x00 1. " EXT ,DAC external trigger input enable" "Disabled,Enabled" bitfld.long 0x00 0. " TOE ,DAC interval trigger enable" "Disabled,Enabled" line.long 0x04 "DACINT0,DAC Interval 0 Register" hexmask.long.word 0x04 0.--15. 1. " INT ,DAC interval" elif cpuis("MK11D*LK*") hgroup.long 0x150++0x03 hide.long 0x00 "DACINTC0,DAC Interval Trigger 0 Control Register" hgroup.long 0x154++0x03 hide.long 0x00 "DACINT0,DAC Interval 0 Register" elif !cpuis("MK*DX*5")&&!cpuis("MK*DN*5") group.long 0x150++0x07 line.long 0x00 "DACINTC0,DAC Interval Trigger 0 Control Register" bitfld.long 0x00 1. " EXT ,DAC external trigger input enable" "Disabled,Enabled" bitfld.long 0x00 0. " TOE ,DAC interval trigger enable" "Disabled,Enabled" line.long 0x04 "DACINT0,DAC Interval 0 Register" hexmask.long.word 0x04 0.--15. 1. " INT ,DAC interval" group.long 0x158++0x07 line.long 0x00 "DACINTC1,DAC Interval Trigger 1 Control Register" bitfld.long 0x00 1. " EXT ,DAC external trigger input enable" "Disabled,Enabled" bitfld.long 0x00 0. " TOE ,DAC interval trigger enable" "Disabled,Enabled" line.long 0x04 "DACINT1,DAC Interval 1 Register" hexmask.long.word 0x04 0.--15. 1. " INT ,DAC interval" endif group.long 0x190++0x03 line.long 0x00 "POEN,Pulse-Out 0 Enable Register" bitfld.long 0x00 2. " POEN[2] ,PDB pulse out enable" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,PDB pulse out enable" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,PDB pulse out enable" "Disabled,Enabled" sif cpuis("MK02*")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") group.long 0x194++0x03 line.long 0x00 "PO0DLY,Pulse-Out Delay Register" hexmask.long.word 0x00 16.--31. 1. " DLY1 ,PDB pulse-out delay 1" hexmask.long.word 0x00 0.--15. 1. " DLY2 ,PDB pulse-out delay 2" else group.long 0x194++0x03 line.long 0x00 "PO0DLY,Pulse-Out 0 Delay Register" hexmask.long.word 0x00 16.--31. 1. " DLY1 ,PDB pulse-out delay 1" hexmask.long.word 0x00 0.--15. 1. " DLY2 ,PDB pulse-out delay 2" group.long 0x198++0x03 line.long 0x00 "PO1DLY,Pulse-Out 1 Delay Register" hexmask.long.word 0x00 16.--31. 1. " DLY1 ,PDB pulse-out delay 1" hexmask.long.word 0x00 0.--15. 1. " DLY2 ,PDB pulse-out delay 2" group.long 0x19C++0x03 line.long 0x00 "PO2DLY,Pulse-Out 2 Delay Register" hexmask.long.word 0x00 16.--31. 1. " DLY1 ,PDB pulse-out delay 1" hexmask.long.word 0x00 0.--15. 1. " DLY2 ,PDB pulse-out delay 2" endif width 0x0B tree.end tree.open "FTM (FlexTimer)" tree "FTM 0" base ad:0x40038000 width 10. sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x00++0x03 hide.long 0x00 "SC,FTM0 Status And Control Register" in else if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x00++0x03 line.long 0x00 "SC,FTM0 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline bitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" bitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" else group.long 0x00++0x03 line.long 0x00 "SC,FTM0 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline rbitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" rbitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" endif endif group.long 0x04++0x07 line.long 0x00 "CNT,FTM0 Counter Register" hexmask.long.word 0x00 0.--15. 1. " COUNT ,Counter value" line.long 0x04 "MOD,FTM0 Modulo register" hexmask.long.word 0x04 0.--15. 1. " MOD ,Modulo value" newline sif cpuis("MK11D*") sif (!cpuis("MK11DN512AVLK5*")&&!cpuis("MK11DN512VLK5*")) if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0xC++0x07 line.long 0x00 "C0SC,FTM0 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM0 Channel 0 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" else group.long 0xC++0x07 line.long 0x00 "C0SC,FTM0 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM0 Channel 0 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x14++0x07 line.long 0x00 "C1SC,FTM0 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM0 Channel 1 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" else group.long 0x14++0x07 line.long 0x00 "C1SC,FTM0 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM0 Channel 1 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x1C++0x07 line.long 0x00 "C2SC,FTM0 Channel 2 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 2 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 2 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C2V,FTM0 Channel 2 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 2 value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,FTM0 Channel 2 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 2 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 2 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C2V,FTM0 Channel 2 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 2 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x24++0x07 line.long 0x00 "C3SC,FTM0 Channel 3 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 3 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 3 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C3V,FTM0 Channel 3 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 3 value" else group.long 0x24++0x07 line.long 0x00 "C3SC,FTM0 Channel 3 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 3 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 3 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C3V,FTM0 Channel 3 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 3 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x2C++0x07 line.long 0x00 "C4SC,FTM0 Channel 4 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 4 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 4 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C4V,FTM0 Channel 4 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 4 value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,FTM0 Channel 4 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 4 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 4 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C4V,FTM0 Channel 4 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 4 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x34++0x07 line.long 0x00 "C5SC,FTM0 Channel 5 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 5 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 5 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C5V,FTM0 Channel 5 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 5 value" else group.long 0x34++0x07 line.long 0x00 "C5SC,FTM0 Channel 5 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 5 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 5 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C5V,FTM0 Channel 5 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 5 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x3C++0x07 line.long 0x00 "C6SC,FTM0 Channel 6 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 6 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 6 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C6V,FTM0 Channel 6 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 6 value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,FTM0 Channel 6 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 6 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 6 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C6V,FTM0 Channel 6 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 6 value" endif if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x44++0x07 line.long 0x00 "C7SC,FTM0 Channel 7 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 7 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 7 interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C7V,FTM0 Channel 7 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 7 value" else group.long 0x44++0x07 line.long 0x00 "C7SC,FTM0 Channel 7 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 7 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 7 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C7V,FTM0 Channel 7 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 7 value" endif else if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif endif elif cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12") if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK40D*Z*10") if (((per.l(ad:0x40038000+0x54))&0x4)==0x4) if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x1C))&0x30)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x1C))&0x30)==0x10) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x24))&0x30)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x24))&0x30)==0x10) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x2C))&0x30)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x2C))&0x30)==0x10) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x34))&0x30)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x34))&0x30)==0x10) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x3C))&0x30)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x3C))&0x30)==0x10) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x44))&0x30)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x44))&0x30)==0x10) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x1C))&0x30)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x1C))&0x30)==0x10) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 2 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x1C++0x07 line.long 0x00 "C2SC,Channel 2 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C2V,Channel 2 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x24))&0x30)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x24))&0x30)==0x10) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x400)==0x400)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 3 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x400)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x100)==0x100) group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x24++0x07 line.long 0x00 "C3SC,Channel 3 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C3V,Channel 3 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x2C))&0x30)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x2C))&0x30)==0x10) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 4 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x2C++0x07 line.long 0x00 "C4SC,Channel 4 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C4V,Channel 4 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x34))&0x30)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x34))&0x30)==0x10) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x40000)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 5 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x40000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x10000)==0x10000) group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x34++0x07 line.long 0x00 "C5SC,Channel 5 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C5V,Channel 5 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x3C))&0x30)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x3C))&0x30)==0x10) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 6 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x3C++0x07 line.long 0x00 "C6SC,Channel 6 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C6V,Channel 6 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00) if ((per.l(ad:0x40038000)&0x20)==0x00) if (((per.l(ad:0x40038000+0x44))&0x30)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x44))&0x30)==0x10) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x4000000)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x00)&&((per.l(ad:0x40038000)&0x20)==0x00) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 7 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40038000+0x64))&0x4000000)==0x00)&&(((per.l(ad:0x40038000+0x64))&0x1000000)==0x1000000) group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x44++0x07 line.long 0x00 "C7SC,Channel 7 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C7V,Channel 7 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0xC++0x03 hide.long 0x00 "C0SC,FTM0 Channel 0 Status And Control Register" in group.long (0xC+0x04)++0x03 line.long 0x00 "C0V,FTM0 Channel 0 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 0 value" hgroup.long 0x14++0x03 hide.long 0x00 "C1SC,FTM0 Channel 1 Status And Control Register" in group.long (0x14+0x04)++0x03 line.long 0x00 "C1V,FTM0 Channel 1 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 1 value" hgroup.long 0x1C++0x03 hide.long 0x00 "C2SC,FTM0 Channel 2 Status And Control Register" in group.long (0x1C+0x04)++0x03 line.long 0x00 "C2V,FTM0 Channel 2 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 2 value" hgroup.long 0x24++0x03 hide.long 0x00 "C3SC,FTM0 Channel 3 Status And Control Register" in group.long (0x24+0x04)++0x03 line.long 0x00 "C3V,FTM0 Channel 3 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 3 value" hgroup.long 0x2C++0x03 hide.long 0x00 "C4SC,FTM0 Channel 4 Status And Control Register" in group.long (0x2C+0x04)++0x03 line.long 0x00 "C4V,FTM0 Channel 4 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 4 value" hgroup.long 0x34++0x03 hide.long 0x00 "C5SC,FTM0 Channel 5 Status And Control Register" in group.long (0x34+0x04)++0x03 line.long 0x00 "C5V,FTM0 Channel 5 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 5 value" hgroup.long 0x3C++0x03 hide.long 0x00 "C6SC,FTM0 Channel 6 Status And Control Register" in group.long (0x3C+0x04)++0x03 line.long 0x00 "C6V,FTM0 Channel 6 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 6 value" hgroup.long 0x44++0x03 hide.long 0x00 "C7SC,FTM0 Channel 7 Status And Control Register" in group.long (0x44+0x04)++0x03 line.long 0x00 "C7V,FTM0 Channel 7 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 7 value" else group.long 0x0C++0x3F line.long 0x0 "C0SC,FTM0 Channel 0 Status And Control Register" rbitfld.long 0x0 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x0 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" bitfld.long 0x0 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x0 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x0 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x0+0x4) "C0V,FTM0 Channel 0 Value Register" hexmask.long.word (0x0+0x4) 0.--15. 1. " VAL ,Channel 0 value" line.long 0x8 "C1SC,FTM0 Channel 1 Status And Control Register" rbitfld.long 0x8 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x8 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" bitfld.long 0x8 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x8 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x8 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x8+0x4) "C1V,FTM0 Channel 1 Value Register" hexmask.long.word (0x8+0x4) 0.--15. 1. " VAL ,Channel 1 value" line.long 0x10 "C2SC,FTM0 Channel 2 Status And Control Register" rbitfld.long 0x10 7. " CHF ,Channel 2 flag" "Not occurred,Occurred" bitfld.long 0x10 6. " CHIE ,Channel 2 interrupt enable" "Disabled,Enabled" bitfld.long 0x10 4.--5. " MSB/MSA ,Channel 2 mode select" "00,01,10,11" bitfld.long 0x10 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x10 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x10+0x4) "C2V,FTM0 Channel 2 Value Register" hexmask.long.word (0x10+0x4) 0.--15. 1. " VAL ,Channel 2 value" line.long 0x18 "C3SC,FTM0 Channel 3 Status And Control Register" rbitfld.long 0x18 7. " CHF ,Channel 3 flag" "Not occurred,Occurred" bitfld.long 0x18 6. " CHIE ,Channel 3 interrupt enable" "Disabled,Enabled" bitfld.long 0x18 4.--5. " MSB/MSA ,Channel 3 mode select" "00,01,10,11" bitfld.long 0x18 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x18 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x18+0x4) "C3V,FTM0 Channel 3 Value Register" hexmask.long.word (0x18+0x4) 0.--15. 1. " VAL ,Channel 3 value" line.long 0x20 "C4SC,FTM0 Channel 4 Status And Control Register" rbitfld.long 0x20 7. " CHF ,Channel 4 flag" "Not occurred,Occurred" bitfld.long 0x20 6. " CHIE ,Channel 4 interrupt enable" "Disabled,Enabled" bitfld.long 0x20 4.--5. " MSB/MSA ,Channel 4 mode select" "00,01,10,11" bitfld.long 0x20 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x20 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x20+0x4) "C4V,FTM0 Channel 4 Value Register" hexmask.long.word (0x20+0x4) 0.--15. 1. " VAL ,Channel 4 value" line.long 0x28 "C5SC,FTM0 Channel 5 Status And Control Register" rbitfld.long 0x28 7. " CHF ,Channel 5 flag" "Not occurred,Occurred" bitfld.long 0x28 6. " CHIE ,Channel 5 interrupt enable" "Disabled,Enabled" bitfld.long 0x28 4.--5. " MSB/MSA ,Channel 5 mode select" "00,01,10,11" bitfld.long 0x28 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x28 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x28+0x4) "C5V,FTM0 Channel 5 Value Register" hexmask.long.word (0x28+0x4) 0.--15. 1. " VAL ,Channel 5 value" line.long 0x30 "C6SC,FTM0 Channel 6 Status And Control Register" rbitfld.long 0x30 7. " CHF ,Channel 6 flag" "Not occurred,Occurred" bitfld.long 0x30 6. " CHIE ,Channel 6 interrupt enable" "Disabled,Enabled" bitfld.long 0x30 4.--5. " MSB/MSA ,Channel 6 mode select" "00,01,10,11" bitfld.long 0x30 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x30 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x30+0x4) "C6V,FTM0 Channel 6 Value Register" hexmask.long.word (0x30+0x4) 0.--15. 1. " VAL ,Channel 6 value" line.long 0x38 "C7SC,FTM0 Channel 7 Status And Control Register" rbitfld.long 0x38 7. " CHF ,Channel 7 flag" "Not occurred,Occurred" bitfld.long 0x38 6. " CHIE ,Channel 7 interrupt enable" "Disabled,Enabled" bitfld.long 0x38 4.--5. " MSB/MSA ,Channel 7 mode select" "00,01,10,11" bitfld.long 0x38 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x38 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x38+0x4) "C7V,FTM0 Channel 7 Value Register" hexmask.long.word (0x38+0x4) 0.--15. 1. " VAL ,Channel 7 value" endif newline group.long 0x4C++0x03 line.long 0x00 "CNTIN,FTM0 Counter Initial Value Register" hexmask.long.word 0x00 0.--15. 1. " INIT ,Initial value of FTM0 counter" sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") group.long 0x50++0x03 line.long 0x00 "STATUS,FTM0 Capture And Compare Status Register" bitfld.long 0x00 7. " CH7F ,Channel 7 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CH6F ,Channel 6 flag" "Not occurred,Occurred" bitfld.long 0x00 5. " CH5F ,Channel 5 flag" "Not occurred,Occurred" newline bitfld.long 0x00 4. " CH4F ,Channel 4 flag" "Not occurred,Occurred" bitfld.long 0x00 3. " CH3F ,Channel 3 flag" "Not occurred,Occurred" bitfld.long 0x00 2. " CH2F ,Channel 2 flag" "Not occurred,Occurred" newline bitfld.long 0x00 1. " CH1F ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 0. " CH0F ,Channel 0 flag" "Not occurred,Occurred" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x50++0x03 hide.long 0x00 "STATUS,FTM0 Capture And Compare Status Register" in endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x54++0x03 line.long 0x00 "MODE,FTM0 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (software/hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" else group.long 0x54++0x03 line.long 0x00 "MODE,FTM0 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline rbitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline rbitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif else group.long 0x54++0x03 line.long 0x00 "MODE,FTM0 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif group.long 0x58++0x0B line.long 0x00 "SYNC,FTM0 Synchronization Register" bitfld.long 0x00 7. " SWSYNC ,PWM synchronization software trigger" "Not selected,Selected" bitfld.long 0x00 6. " TRIG2 ,PWM synchronization hardware trigger 2" "Disabled,Enabled" newline bitfld.long 0x00 5. " TRIG1 ,PWM synchronization hardware trigger 1" "Disabled,Enabled" bitfld.long 0x00 4. " TRIG0 ,PWM synchronization hardware trigger 0" "Disabled,Enabled" newline bitfld.long 0x00 3. " SYNCHOM ,Output mask synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " REINIT ,FTM counter reinitialization by synchronization" "Normal,Updated on trigger" newline bitfld.long 0x00 1. " CNTMAX ,Maximum loading point enable" "Disabled,Enabled" bitfld.long 0x00 0. " CNTMIN ,Minimum loading point enable" "Disabled,Enabled" newline line.long 0x04 "OUTINIT,FTM0 Initial State For Channels Output Register" bitfld.long 0x04 7. " CH7OI ,Channel 7 output initialization value" "0,1" bitfld.long 0x04 6. " CH6OI ,Channel 6 output initialization value" "0,1" bitfld.long 0x04 5. " CH5OI ,Channel 5 output initialization value" "0,1" bitfld.long 0x04 4. " CH4OI ,Channel 4 output initialization value" "0,1" newline bitfld.long 0x04 3. " CH3OI ,Channel 3 output initialization value" "0,1" bitfld.long 0x04 2. " CH2OI ,Channel 2 output initialization value" "0,1" newline bitfld.long 0x04 1. " CH1OI ,Channel 1 output initialization value" "0,1" bitfld.long 0x04 0. " CH0OI ,Channel 0 output initialization value" "0,1" newline line.long 0x08 "OUTMASK,FTM0 Output Mask Register" bitfld.long 0x08 7. " CH7OM ,Channel 7 output mask" "Not masked,Masked" bitfld.long 0x08 6. " CH6OM ,Channel 6 output mask" "Not masked,Masked" bitfld.long 0x08 5. " CH5OM ,Channel 5 output mask" "Not masked,Masked" bitfld.long 0x08 4. " CH4OM ,Channel 4 output mask" "Not masked,Masked" newline bitfld.long 0x08 3. " CH3OM ,Channel 3 output mask" "Not masked,Masked" bitfld.long 0x08 2. " CH2OM ,Channel 2 output mask" "Not masked,Masked" newline bitfld.long 0x08 1. " CH1OM ,Channel 1 output mask" "Not masked,Masked" bitfld.long 0x08 0. " CH0OM ,Channel 0 output mask" "Not masked,Masked" newline sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM0 Function For Linked Channels Register" bitfld.long 0x00 30. " FAULTEN3 ,Fault control enable in channels 6 and 7" "Disabled,Enabled" bitfld.long 0x00 29. " SYNCEN3 ,PWM synchronization enable (C6V,C7V)" "Disabled,Enabled" bitfld.long 0x00 28. " DTEN3 ,Dead-time enable in channels 6 and 7" "Disabled,Enabled" newline bitfld.long 0x00 27. " DECAP3 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 26. " DECAPEN3 ,Dual edge capture mode enable for channels 6 and 7" "Disabled,Enabled" bitfld.long 0x00 25. " COMP3 ,Complementary mode for channels 6 and 7" "CH7 same as CH6,CH7 complement of CH6" newline bitfld.long 0x00 24. " COMBINE3 ,Combine channels 6 and 7" "Independent,Combined" bitfld.long 0x00 22. " FAULTEN2 ,Fault control enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 21. " SYNCEN2 ,PWM synchronization enable (C4V,C5V)" "Disabled,Enabled" newline bitfld.long 0x00 20. " DTEN2 ,Dead-time enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 19. " DECAP2 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 18. " DECAPEN2 ,Dual edge capture mode enable for channels 4 and 5" "Disabled,Enabled" newline bitfld.long 0x00 17. " COMP2 ,Complementary mode for channels 4 and 5" "CH5 same as CH4,CH5 complement of CH4" bitfld.long 0x00 16. " COMBINE2 ,Combine channels 4 and 5" "Independent,Combined" bitfld.long 0x00 14. " FAULTEN1 ,Fault control enable in channels 2 and 3" "Disabled,Enabled" newline bitfld.long 0x00 13. " SYNCEN1 ,PWM synchronization enable (C2V,C3V)" "Disabled,Enabled" bitfld.long 0x00 12. " DTEN1 ,Dead-time enable in channels 2 and 3" "Disabled,Enabled" bitfld.long 0x00 11. " DECAP1 ,Dual edge capture mode captures" "Inactive,Active" newline bitfld.long 0x00 10. " DECAPEN1 ,Dual edge capture mode enable for channels 2 and 3" "Disabled,Enabled" bitfld.long 0x00 9. " COMP1 ,Complementary mode for channels 2 and 3" "CH3 same as CH2,CH3 complement of CH2" bitfld.long 0x00 8. " COMBINE1 ,Combine channels 2 and 3" "Independent,Combined" newline bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM0 Function For Linked Channels Register" rbitfld.long 0x00 30. " FAULTEN3 ,Fault control enable in channels 6 and 7" "Disabled,Enabled" bitfld.long 0x00 29. " SYNCEN3 ,PWM synchronization enable (C6V,C7V)" "Disabled,Enabled" rbitfld.long 0x00 28. " DTEN3 ,Dead-time enable in channels 6 and 7" "Disabled,Enabled" newline bitfld.long 0x00 27. " DECAP3 ,Dual edge capture mode captures" "Inactive,Active" rbitfld.long 0x00 26. " DECAPEN3 ,Dual edge capture mode enable for channels 6 and 7" "Disabled,Enabled" rbitfld.long 0x00 25. " COMP3 ,Complementary mode for channels 6 and 7" "CH7 same as CH6,CH7 complement of CH6" newline rbitfld.long 0x00 24. " COMBINE3 ,Combine channels 6 and 7" "Independent,Combined" rbitfld.long 0x00 22. " FAULTEN2 ,Fault control enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 21. " SYNCEN2 ,PWM synchronization enable (C4V,C5V)" "Disabled,Enabled" newline rbitfld.long 0x00 20. " DTEN2 ,Dead-time enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 19. " DECAP2 ,Dual edge capture mode captures" "Inactive,Active" rbitfld.long 0x00 18. " DECAPEN2 ,Dual Edge capture mode enable for channels 4 and 5" "Disabled,Enabled" newline rbitfld.long 0x00 17. " COMP2 ,Complementary mode for channels 4 and 5" "CH5 same as CH4,CH5 complement of CH4" rbitfld.long 0x00 16. " COMBINE2 ,Combine channels 4 and 5" "Independent,Combined" rbitfld.long 0x00 14. " FAULTEN1 ,Fault control enable in channels 2 and 3" "Disabled,Enabled" newline bitfld.long 0x00 13. " SYNCEN1 ,PWM synchronization enable (C2V,C3V)" "Disabled,Enabled" rbitfld.long 0x00 12. " DTEN1 ,Dead-time enable in channels 2 and 3" "Disabled,Enabled" bitfld.long 0x00 11. " DECAP1 ,Dual edge capture mode captures" "Inactive,Active" newline rbitfld.long 0x00 10. " DECAPEN1 ,Dual edge capture mode enable for channels 2 and 3" "Disabled,Enabled" rbitfld.long 0x00 9. " COMP1 ,Complementary mode for channels 2 and 3" "CH3 same as CH2,CH3 complement of CH2" rbitfld.long 0x00 8. " COMBINE1 ,Combine channels 2 and 3" "Independent,Combined" newline rbitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" rbitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" rbitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" rbitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline rbitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM0 Function For Linked Channels Register" bitfld.long 0x00 30. " FAULTEN3 ,Fault control enable in channels 6 and 7" "Disabled,Enabled" bitfld.long 0x00 29. " SYNCEN3 ,PWM synchronization enable (C6V,C7V)" "Disabled,Enabled" bitfld.long 0x00 28. " DTEN3 ,Dead-time enable in channels 6 and 7" "Disabled,Enabled" newline bitfld.long 0x00 27. " DECAP3 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 26. " DECAPEN3 ,Dual edge capture mode enable for channels 6 and 7" "Disabled,Enabled" bitfld.long 0x00 25. " COMP3 ,Complementary mode for channels 6 and 7" "CH7 same as CH6,CH7 complement of CH6" newline bitfld.long 0x00 24. " COMBINE3 ,Combine channels 6 and 7" "Independent,Combined" bitfld.long 0x00 22. " FAULTEN2 ,Fault control enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 21. " SYNCEN2 ,PWM synchronization enable (C4V,C5V)" "Disabled,Enabled" newline bitfld.long 0x00 20. " DTEN2 ,Dead-time enable in channels 4 and 5" "Disabled,Enabled" bitfld.long 0x00 19. " DECAP2 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 18. " DECAPEN2 ,Dual edge capture mode enable for channels 4 and 5" "Disabled,Enabled" newline bitfld.long 0x00 17. " COMP2 ,Complementary mode for channels 4 and 5" "CH5 same as CH4,CH5 complement of CH4" bitfld.long 0x00 16. " COMBINE2 ,Combine channels 4 and 5" "Independent,Combined" bitfld.long 0x00 14. " FAULTEN1 ,Fault control enable in channels 2 and 3" "Disabled,Enabled" newline bitfld.long 0x00 13. " SYNCEN1 ,PWM synchronization enable (C2V,C3V)" "Disabled,Enabled" bitfld.long 0x00 12. " DTEN1 ,Dead-time enable in channels 2 and 3" "Disabled,Enabled" bitfld.long 0x00 11. " DECAP1 ,Dual edge capture mode captures" "Inactive,Active" newline bitfld.long 0x00 10. " DECAPEN1 ,Dual edge capture mode enable for channels 2 and 3" "Disabled,Enabled" bitfld.long 0x00 9. " COMP1 ,Complementary mode for channels 2 and 3" "CH3 same as CH2,CH3 complement of CH2" bitfld.long 0x00 8. " COMBINE1 ,Combine channels 2 and 3" "Independent,Combined" newline bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif if ((per.l(ad:0x40038000+0x54)&0x04)==0x04) group.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM0 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" else rgroup.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM0 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" endif group.long 0x6C++0x03 line.long 0x00 "EXTTRIG,FTM0 External Trigger Register" bitfld.long 0x00 7. " TRIGF ,Channel trigger flag" "Not occurred,Occurred" bitfld.long 0x00 6. " INITTRIGEN ,Initialization trigger enable" "Disabled,Enabled" bitfld.long 0x00 5. " CH1TRIG ,Channel 1 trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " CH0TRIG ,Channel 0 trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " CH5TRIG ,Channel 5 trigger enable" "Disabled,Enabled" bitfld.long 0x00 2. " CH4TRIG ,Channel 4 trigger enable" "Disabled,Enabled" bitfld.long 0x00 1. " CH3TRIG ,Channel 3 trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " CH2TRIG ,Channel 2 trigger enable" "Disabled,Enabled" if ((per.l(ad:0x40038000+0x54)&0x04)==0x04) group.long 0x70++0x03 line.long 0x00 "POL,FTM0 Channels Polarity Register" bitfld.long 0x00 7. " POL[7] ,Channel 7 polarity" "Active high,Active low" bitfld.long 0x00 6. " [6] ,Channel 6 polarity" "Active high,Active low" bitfld.long 0x00 5. " [5] ,Channel 5 polarity" "Active high,Active low" newline bitfld.long 0x00 4. " [4] ,Channel 4 polarity" "Active high,Active low" bitfld.long 0x00 3. " [3] ,Channel 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " [2] ,Channel 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" else rgroup.long 0x70++0x03 line.long 0x00 "POL,FTM0 Channels Polarity Register" bitfld.long 0x00 7. " POL[7] ,Channel 7 polarity" "Active high,Active low" bitfld.long 0x00 6. " [6] ,Channel 6 polarity" "Active high,Active low" bitfld.long 0x00 5. " [5] ,Channel 5 polarity" "Active high,Active low" newline bitfld.long 0x00 4. " [4] ,Channel 4 polarity" "Active high,Active low" bitfld.long 0x00 3. " [3] ,Channel 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " [2] ,Channel 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" endif sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") hgroup.long 0x74++0x03 hide.long 0x00 "FMS,FTM0 Fault Mode Status Register" in else group.long 0x74++0x03 line.long 0x00 "FMS,FTM0 Fault Mode Status Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 3. " FAULTF3 ,Fault detection flag 3" "Not detected,Detected" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 3. " FAULTF3 ,Fault detection flag 3" "Not detected,Detected" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 3. " FAULTF3 ,Fault detection flag 3" "Not detected,Detected" bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" newline bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") rbitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline else bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline endif bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 3. " FAULTF3 ,Fault detection flag 3" "Not detected,Detected" bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" endif endif group.long 0x78++0x03 line.long 0x00 "FILTER,FTM0 Input Capture Filter Control Register" bitfld.long 0x00 12.--15. " CH3FVAL ,Channel 3 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 8.--11. " CH2FVAL ,Channel 2 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline bitfld.long 0x00 4.--7. " CH1FVAL ,Channel 1 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 0.--3. " CH0FVAL ,Channel 0 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM0 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else bitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif else group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM0 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") rbitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") rbitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") rbitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else rbitfld.long 0x00 7. " FFLTR3EN ,Fault input 3 filter enable" "Disabled,Enabled" rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 3. " FAULT3EN ,Fault input 3 enable" "Disabled,Enabled" rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN1M0VMC10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*"))||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40038000+0x54))&0x04)==0x04) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM0 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM0 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM0 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM0 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif elif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK70*") elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") else endif else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM0 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM0 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif group.long 0x84++0x03 line.long 0x00 "CONF,FTM0 Configuration Register" bitfld.long 0x00 10. " GTBEOUT ,Global time base output" "Disabled,Enabled" bitfld.long 0x00 9. " GTBEEN ,Global time base enable" "Disabled,Enabled" bitfld.long 0x00 6.--7. " BDMMODE ,BDM mode (FTM counter/FTM channels output)" "Stopped/Functional,Stopped/Forced to safe value,Stopped/Frozen,Functional/Functional" newline bitfld.long 0x00 0.--4. " NUMTOF ,TOF Frequency" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if ((per.l(ad:0x40038000+0x54)&0x04)==0x04) group.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM0 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" newline bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" newline bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline else bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" else rgroup.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM0 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" newline bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" newline bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline else bitfld.long 0x00 3. " FLT3POL ,Fault input 3 polarity" "Active high,Active low" bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" endif group.long 0x8C++0x0F line.long 0x00 "SYNCONF,FTM0 Synchronization Configuration Register" bitfld.long 0x00 20. " HWSOC ,Software output control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 19. " HWINVC ,Inverting control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 18. " HWOM ,Output mask synchronization (hardware trigger)" "Not activated,Activated" newline bitfld.long 0x00 17. " HWWRBUF ,MOD, CNTIN and CV registers synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 16. " HWRSTCNT ,FTM counter synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 12. " SWSOC ,Software output control synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 11. " SWINVC ,Inverting control synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 10. " SWOM ,Output mask synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 9. " SWWRBUF ,MOD, CNTIN and CV registers synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 8. " SWRSTCNT ,FTM counter synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 7. " SYNCMODE ,PWM synchronization mode" "Legacy,Enhanced" bitfld.long 0x00 5. " SWOC ,SWOCTRL register synchronization" "At rising edges of sys clk,By PWM sync" newline bitfld.long 0x00 4. " INVC ,INVCTRL register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " CNTINC ,CNTIN register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 0. " HWTRIGMODE ,Hardware trigger mode" "Cleared,Not cleared" line.long 0x04 "INVCTRL,FTM0 Inverting Control Register" bitfld.long 0x04 3. " INV3EN ,Pair channels 3 inverting enable" "Disabled,Enabled" bitfld.long 0x04 2. " INV2EN ,Pair channels 2 inverting enable" "Disabled,Enabled" bitfld.long 0x04 1. " INV1EN ,Pair channels 1 inverting enable" "Disabled,Enabled" newline bitfld.long 0x04 0. " INV0EN ,Pair channels 0 inverting enable" "Disabled,Enabled" line.long 0x08 "SWOCTRL,FTM0 Software Output Control Register" bitfld.long 0x08 15. " CH7OCV ,Channel 7 Software output control value" "0,1" bitfld.long 0x08 14. " CH6OCV ,Channel 6 software output control value" "0,1" bitfld.long 0x08 13. " CH5OCV ,Channel 5 software output control value" "0,1" newline bitfld.long 0x08 12. " CH4OCV ,Channel 4 software output control value" "0,1" bitfld.long 0x08 11. " CH3OCV ,Channel 3 software output control value" "0,1" bitfld.long 0x08 10. " CH2OCV ,Channel 2 software output control value" "0,1" newline bitfld.long 0x08 9. " CH1OCV ,Channel 1 software output control value" "0,1" bitfld.long 0x08 8. " CH0OCV ,Channel 0 software output control value" "0,1" newline bitfld.long 0x08 7. " CH7OC ,Channel 7 software output control enable" "Disabled,Enabled" bitfld.long 0x08 6. " CH6OC ,Channel 6 software output control enable" "Disabled,Enabled" bitfld.long 0x08 5. " CH5OC ,Channel 5 software output control enable" "Disabled,Enabled" newline bitfld.long 0x08 4. " CH4OC ,Channel 4 software output control enable" "Disabled,Enabled" bitfld.long 0x08 3. " CH3OC ,Channel 3 software output control enable" "Disabled,Enabled" bitfld.long 0x08 2. " CH2OC ,Channel 2 software output control enable" "Disabled,Enabled" newline bitfld.long 0x08 1. " CH1OC ,Channel 1 software output control enable" "Disabled,Enabled" bitfld.long 0x08 0. " CH0OC ,Channel 0 software output control enable" "Disabled,Enabled" line.long 0x0C "PWMLOAD,FTM0 PWM Load Register" bitfld.long 0x0C 9. " LDOK ,Load enable" "Disabled,Enabled" newline bitfld.long 0x0C 7. " CH7SE ,Channel 7 select" "Not included,Included" bitfld.long 0x0C 6. " CH6SE ,Channel 6 select" "Not included,Included" bitfld.long 0x0C 5. " CH5SE ,Channel 5 select" "Not included,Included" newline bitfld.long 0x0C 4. " CH4SE ,Channel 4 select" "Not included,Included" bitfld.long 0x0C 3. " CH3SE ,Channel 3 select" "Not included,Included" bitfld.long 0x0C 2. " CH2SE ,Channel 2 select" "Not included,Included" newline bitfld.long 0x0C 1. " CH1SE ,Channel 1 select" "Not included,Included" bitfld.long 0x0C 0. " CH0SE ,Channel 0 select" "Not included,Included" width 0x0B tree.end tree "FTM 1" base ad:0x40039000 width 10. sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x00++0x03 hide.long 0x00 "SC,FTM1 Status And Control Register" in else if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x00++0x03 line.long 0x00 "SC,FTM1 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline bitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" bitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" else group.long 0x00++0x03 line.long 0x00 "SC,FTM1 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline rbitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" rbitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" endif endif group.long 0x04++0x07 line.long 0x00 "CNT,FTM1 Counter Register" hexmask.long.word 0x00 0.--15. 1. " COUNT ,Counter value" line.long 0x04 "MOD,FTM1 Modulo register" hexmask.long.word 0x04 0.--15. 1. " MOD ,Modulo value" newline sif cpuis("MK11D*") sif (!cpuis("MK11DN512AVLK5*")&&!cpuis("MK11DN512VLK5*")) if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0xC++0x07 line.long 0x00 "C0SC,FTM1 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM1 Channel 0 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" else group.long 0xC++0x07 line.long 0x00 "C0SC,FTM1 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM1 Channel 0 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" endif if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x14++0x07 line.long 0x00 "C1SC,FTM1 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM1 Channel 1 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" else group.long 0x14++0x07 line.long 0x00 "C1SC,FTM1 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM1 Channel 1 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" endif else if (((per.l(ad:0x40039000+0x54))&0x4)==0x4) if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif endif elif cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12") if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK40D*Z*10") if (((per.l(ad:0x40039000+0x54))&0x4)==0x4) if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) if (((per.l(ad:0x40039000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) if (((per.l(ad:0x40039000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) if (((per.l(ad:0x40039000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSb/MSA ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00) if ((per.l(ad:0x40039000)&0x20)==0x00) if (((per.l(ad:0x40039000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x40039000+0x64))&0x4)==0x4)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x00)&&((per.l(ad:0x40039000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x40039000+0x64))&0x4)==0x00)&&(((per.l(ad:0x40039000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSb/MSA ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0xC++0x03 hide.long 0x00 "C0SC,FTM1 Channel 0 Status And Control Register" in group.long (0xC+0x04)++0x03 line.long 0x00 "C0V,FTM1 Channel 0 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 0 value" hgroup.long 0x14++0x03 hide.long 0x00 "C1SC,FTM1 Channel 1 Status And Control Register" in group.long (0x14+0x04)++0x03 line.long 0x00 "C1V,FTM1 Channel 1 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 1 value" else group.long 0x0c++0x0F line.long 0x0 "C0SC,FTM1 Channel 0 Status And Control Register" rbitfld.long 0x0 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x0 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" bitfld.long 0x0 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x0 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x0 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x0+0x4) "C0V,FTM1 Channel 0 Value Register" hexmask.long.word (0x0+0x4) 0.--15. 1. " VAL ,Channel 0 value" line.long 0x8 "C1SC,FTM1 Channel 1 Status And Control Register" rbitfld.long 0x8 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x8 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" bitfld.long 0x8 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x8 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x8 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x8+0x4) "C1V,FTM1 Channel 1 Value Register" hexmask.long.word (0x8+0x4) 0.--15. 1. " VAL ,Channel 1 value" endif newline group.long 0x4C++0x03 line.long 0x00 "CNTIN,FTM1 Counter Initial Value Register" hexmask.long.word 0x00 0.--15. 1. " INIT ,Initial value of FTM1 counter" sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") group.long 0x50++0x03 line.long 0x00 "STATUS,FTM1 Capture And Compare Status Register" bitfld.long 0x00 1. " CH1F ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 0. " CH0F ,Channel 0 flag" "Not occurred,Occurred" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x50++0x03 hide.long 0x00 "STATUS,FTM1 Capture And Compare Status Register" in endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x54++0x03 line.long 0x00 "MODE,FTM1 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (software/hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" else group.long 0x54++0x03 line.long 0x00 "MODE,FTM1 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline rbitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline rbitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif else group.long 0x54++0x03 line.long 0x00 "MODE,FTM1 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif group.long 0x58++0x0B line.long 0x00 "SYNC,FTM1 Synchronization Register" bitfld.long 0x00 7. " SWSYNC ,PWM synchronization software trigger" "Not selected,Selected" bitfld.long 0x00 6. " TRIG2 ,PWM synchronization hardware trigger 2" "Disabled,Enabled" newline bitfld.long 0x00 5. " TRIG1 ,PWM synchronization hardware trigger 1" "Disabled,Enabled" bitfld.long 0x00 4. " TRIG0 ,PWM synchronization hardware trigger 0" "Disabled,Enabled" newline bitfld.long 0x00 3. " SYNCHOM ,Output mask synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " REINIT ,FTM counter reinitialization by synchronization" "Normal,Updated on trigger" newline bitfld.long 0x00 1. " CNTMAX ,Maximum loading point enable" "Disabled,Enabled" bitfld.long 0x00 0. " CNTMIN ,Minimum loading point enable" "Disabled,Enabled" newline line.long 0x04 "OUTINIT,FTM1 Initial State For Channels Output Register" bitfld.long 0x04 1. " CH1OI ,Channel 1 output initialization value" "0,1" bitfld.long 0x04 0. " CH0OI ,Channel 0 output initialization value" "0,1" newline line.long 0x08 "OUTMASK,FTM1 Output Mask Register" bitfld.long 0x08 1. " CH1OM ,Channel 1 output mask" "Not masked,Masked" bitfld.long 0x08 0. " CH0OM ,Channel 0 output mask" "Not masked,Masked" newline sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM1 Function For Linked Channels Register" bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM1 Function For Linked Channels Register" rbitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" rbitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" rbitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" rbitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline rbitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM1 Function For Linked Channels Register" bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif if ((per.l(ad:0x40039000+0x54)&0x04)==0x04) group.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM1 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" else rgroup.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM1 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" endif group.long 0x6C++0x03 line.long 0x00 "EXTTRIG,FTM1 External Trigger Register" bitfld.long 0x00 7. " TRIGF ,Channel trigger flag" "Not occurred,Occurred" bitfld.long 0x00 6. " INITTRIGEN ,Initialization trigger enable" "Disabled,Enabled" bitfld.long 0x00 5. " CH1TRIG ,Channel 1 trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " CH0TRIG ,Channel 0 trigger enable" "Disabled,Enabled" newline if ((per.l(ad:0x40039000+0x54)&0x04)==0x04) group.long 0x70++0x03 line.long 0x00 "POL,FTM1 Channels Polarity Register" bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" else rgroup.long 0x70++0x03 line.long 0x00 "POL,FTM1 Channels Polarity Register" bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" endif sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") hgroup.long 0x74++0x03 hide.long 0x00 "FMS,FTM1 Fault Mode Status Register" in else group.long 0x74++0x03 line.long 0x00 "FMS,FTM1 Fault Mode Status Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" newline bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") rbitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline else bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline endif bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" endif endif group.long 0x78++0x03 line.long 0x00 "FILTER,FTM1 Input Capture Filter Control Register" bitfld.long 0x00 4.--7. " CH1FVAL ,Channel 1 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 0.--3. " CH0FVAL ,Channel 0 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM1 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif else group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM1 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN1M0VMC10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*"))||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40039000+0x54))&0x04)==0x04) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif elif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK70*") if (((per.l(ad:0x40039000+0x54))&0x4)==0x4) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.l(ad:0x40039000+0x54))&0x4)==0x4) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif else if (((per.l(ad:0x40039000+0x54))&0x4)==0x4) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif endif else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM1 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM1 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif group.long 0x84++0x03 line.long 0x00 "CONF,FTM1 Configuration Register" bitfld.long 0x00 10. " GTBEOUT ,Global time base output" "Disabled,Enabled" bitfld.long 0x00 9. " GTBEEN ,Global time base enable" "Disabled,Enabled" bitfld.long 0x00 6.--7. " BDMMODE ,BDM mode (FTM counter/FTM channels output)" "Stopped/Functional,Stopped/Forced to safe value,Stopped/Frozen,Functional/Functional" newline bitfld.long 0x00 0.--4. " NUMTOF ,TOF Frequency" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if ((per.l(ad:0x40039000+0x54)&0x04)==0x04) group.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM1 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") else bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" else rgroup.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM1 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") else bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" endif group.long 0x8C++0x0F line.long 0x00 "SYNCONF,FTM1 Synchronization Configuration Register" bitfld.long 0x00 20. " HWSOC ,Software output control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 19. " HWINVC ,Inverting control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 18. " HWOM ,Output mask synchronization (hardware trigger)" "Not activated,Activated" newline bitfld.long 0x00 17. " HWWRBUF ,MOD, CNTIN and CV registers synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 16. " HWRSTCNT ,FTM counter synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 12. " SWSOC ,Software output control synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 11. " SWINVC ,Inverting control synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 10. " SWOM ,Output mask synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 9. " SWWRBUF ,MOD, CNTIN and CV registers synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 8. " SWRSTCNT ,FTM counter synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 7. " SYNCMODE ,PWM synchronization mode" "Legacy,Enhanced" bitfld.long 0x00 5. " SWOC ,SWOCTRL register synchronization" "At rising edges of sys clk,By PWM sync" newline bitfld.long 0x00 4. " INVC ,INVCTRL register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " CNTINC ,CNTIN register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 0. " HWTRIGMODE ,Hardware trigger mode" "Cleared,Not cleared" line.long 0x04 "INVCTRL,FTM1 Inverting Control Register" bitfld.long 0x04 0. " INV0EN ,Pair channels 0 inverting enable" "Disabled,Enabled" line.long 0x08 "SWOCTRL,FTM1 Software Output Control Register" bitfld.long 0x08 9. " CH1OCV ,Channel 1 software output control value" "0,1" bitfld.long 0x08 8. " CH0OCV ,Channel 0 software output control value" "0,1" newline bitfld.long 0x08 1. " CH1OC ,Channel 1 software output control enable" "Disabled,Enabled" bitfld.long 0x08 0. " CH0OC ,Channel 0 software output control enable" "Disabled,Enabled" line.long 0x0C "PWMLOAD,FTM1 PWM Load Register" bitfld.long 0x0C 9. " LDOK ,Load enable" "Disabled,Enabled" newline bitfld.long 0x0C 1. " CH1SE ,Channel 1 select" "Not included,Included" bitfld.long 0x0C 0. " CH0SE ,Channel 0 select" "Not included,Included" width 0x0B tree.end tree "FTM 2" base ad:0x400B8000 width 10. sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x00++0x03 hide.long 0x00 "SC,FTM2 Status And Control Register" in else if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x00++0x03 line.long 0x00 "SC,FTM2 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline bitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" bitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" else group.long 0x00++0x03 line.long 0x00 "SC,FTM2 Status And Control Register" bitfld.long 0x00 7. " TOF ,Timer overflow flag" "No overflow,Overflow" bitfld.long 0x00 6. " TOIE ,Timer overflow interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5. " CPWMS ,Center-aligned PWM select" "Up counting,Up-Down counting" newline rbitfld.long 0x00 3.--4. " CLKS ,Clock source selection" "No clk,System,Fixed frequency,Ext clk" rbitfld.long 0x00 0.--2. " PS ,Prescaler factor selection" "/1,/2,/4,/8,/16,/32,/64,/128" endif endif group.long 0x04++0x07 line.long 0x00 "CNT,FTM2 Counter Register" hexmask.long.word 0x00 0.--15. 1. " COUNT ,Counter value" line.long 0x04 "MOD,FTM2 Modulo register" hexmask.long.word 0x04 0.--15. 1. " MOD ,Modulo value" newline sif cpuis("MK11D*") sif (!cpuis("MK11DN512AVLK5*")&&!cpuis("MK11DN512VLK5*")) if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0xC++0x07 line.long 0x00 "C0SC,FTM2 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM2 Channel 0 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" else group.long 0xC++0x07 line.long 0x00 "C0SC,FTM2 Channel 0 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C0V,FTM2 Channel 0 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 0 value" endif if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x14++0x07 line.long 0x00 "C1SC,FTM2 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM2 Channel 1 Value Register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" else group.long 0x14++0x07 line.long 0x00 "C1SC,FTM2 Channel 1 Status And Control Register" rbitfld.long 0x00 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA enable" "Disabled,Enabled" line.long 0x04 "C1V,FTM2 Channel 1 value register" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel 1 value" endif else if (((per.l(ad:0x400B8000+0x54))&0x4)==0x4) if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif endif elif cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12") if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline bitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM,Input capture/On rising Edge,Input capture/On falling edge,Input capture/On rising or falling edge,None/Pin not used for FTM,Output compare/Toggle on match,Output compare/clear on match,Output compare/Set on match,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses,None/Pin not used for FTM,Edge-aligned PWM/Low-true pulses,Edge-aligned PWM/High-true pulses,Edge-aligned PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Pin not used for FTM pulses,Center-Aligned/Low-true pulses,Center-Aligned/High-true pulses,Center-Aligned/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--3. " ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,Combine PWM/Low-true pulses,Combine PWM/High-true pulses,Combine PWM/Low-true pulses" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" newline rbitfld.long 0x00 2.--3. " ELS ,Channel edge and level selection (Channel Port Enable/Detected Edges)" "None/Channel disabled,Rising edge,Falling edge,Raising and falling" bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" eventfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 2.--5. " MS/ELS ,Channel mode edge and level selection (Mode/Configuration)" "None/Channel disabled,?..." newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK40D*Z*10") if (((per.l(ad:0x400B8000+0x54))&0x4)==0x4) if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) if (((per.l(ad:0x400B8000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) if (((per.l(ad:0x400B8000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " MS ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" bitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) if (((per.l(ad:0x400B8000+0xC))&0x30)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0xC))&0x30)==0x10) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 0 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSb/MSA ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0xC++0x07 line.long 0x00 "C0SC,Channel 0 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C0V,Channel 0 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif if (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00) if ((per.l(ad:0x400B8000)&0x20)==0x00) if (((per.l(ad:0x400B8000+0x14))&0x30)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x14))&0x30)==0x10) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Toggle Out,Clear Out,Set Out" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Input,Output,Edge-aligned,Edge-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Center-aligned,Center-aligned,Center-aligned,Center-aligned" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x4)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x00)&&((per.l(ad:0x400B8000)&0x20)==0x00) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSB/MSA ,Channel 1 mode select" "Combine,Combine,Combine,Combine" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "Pin not used for FTM,Low,High,Low" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" elif (((per.l(ad:0x400B8000+0x64))&0x4)==0x00)&&(((per.l(ad:0x400B8000+0x64))&0x1)==0x1) group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" rbitfld.long 0x00 4.--5. " MSb/MSA ,Channel mode selection" "One-Shot Capture,Continuous Capture,One-Shot Capture,Continuous Capture" rbitfld.long 0x00 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" else group.long 0x14++0x07 line.long 0x00 "C1SC,Channel 1 Status And Control" rbitfld.long 0x00 7. " CHF ,Channel Flag" "Not occurred,Occurred" bitfld.long 0x00 6. " CHIE ,Channel Interrupt Enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " DMA ,DMA Enable" "Disabled,Enabled" line.long 0x04 "C1V,Channel 1 Value" hexmask.long.word 0x04 0.--15. 1. " VAL ,Channel value" endif endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0xC++0x03 hide.long 0x00 "C0SC,FTM2 Channel 0 Status And Control Register" in group.long (0xC+0x04)++0x03 line.long 0x00 "C0V,FTM2 Channel 0 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 0 value" hgroup.long 0x14++0x03 hide.long 0x00 "C1SC,FTM2 Channel 1 Status And Control Register" in group.long (0x14+0x04)++0x03 line.long 0x00 "C1V,FTM2 Channel 1 Value Register" hexmask.long.word 0x00 0.--15. 1. " VAL ,Channel 1 value" else group.long 0x0c++0x0F line.long 0x0 "C0SC,FTM2 Channel 0 Status And Control Register" rbitfld.long 0x0 7. " CHF ,Channel 0 flag" "Not occurred,Occurred" bitfld.long 0x0 6. " CHIE ,Channel 0 interrupt enable" "Disabled,Enabled" bitfld.long 0x0 4.--5. " MSB/MSA ,Channel 0 mode select" "00,01,10,11" bitfld.long 0x0 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x0 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x0+0x4) "C0V,FTM2 Channel 0 Value Register" hexmask.long.word (0x0+0x4) 0.--15. 1. " VAL ,Channel 0 value" line.long 0x8 "C1SC,FTM2 Channel 1 Status And Control Register" rbitfld.long 0x8 7. " CHF ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x8 6. " CHIE ,Channel 1 interrupt enable" "Disabled,Enabled" bitfld.long 0x8 4.--5. " MSB/MSA ,Channel 1 mode select" "00,01,10,11" bitfld.long 0x8 2.--3. " ELSB/ELSA ,Edge or level select" "No edge,Rising,Falling,Both" newline bitfld.long 0x8 0. " DMA ,DMA enable" "Disabled,Enabled" line.long (0x8+0x4) "C1V,FTM2 Channel 1 Value Register" hexmask.long.word (0x8+0x4) 0.--15. 1. " VAL ,Channel 1 value" endif newline group.long 0x4C++0x03 line.long 0x00 "CNTIN,FTM2 Counter Initial Value Register" hexmask.long.word 0x00 0.--15. 1. " INIT ,Initial value of FTM2 counter" sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") group.long 0x50++0x03 line.long 0x00 "STATUS,FTM2 Capture And Compare Status Register" bitfld.long 0x00 1. " CH1F ,Channel 1 flag" "Not occurred,Occurred" bitfld.long 0x00 0. " CH0F ,Channel 0 flag" "Not occurred,Occurred" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") hgroup.long 0x50++0x03 hide.long 0x00 "STATUS,FTM2 Capture And Compare Status Register" in endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x54++0x03 line.long 0x00 "MODE,FTM2 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (software/hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" else group.long 0x54++0x03 line.long 0x00 "MODE,FTM2 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline rbitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline rbitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif else group.long 0x54++0x03 line.long 0x00 "MODE,FTM2 Features Mode Selection Register" bitfld.long 0x00 7. " FAULTIE ,Fault interrupt enable" "Disabled,Enabled" bitfld.long 0x00 5.--6. " FAULTM ,Fault control mode" "Disabled,Even channels / Manual fault clearing,All channels / Manual fault clearing,All channels / Auto fault clearing" newline bitfld.long 0x00 4. " CAPTEST ,Capture test mode enable" "Disabled,Enabled" bitfld.long 0x00 3. " PWMSYNC ,PWM synchronization mode (Software/Hardware triggers usage)" "No restrictions,MOD CnV / OUTMASK FTM" newline bitfld.long 0x00 2. " WPDIS ,Write protection disable" "No,Yes" bitfld.long 0x00 1. " INIT ,Initialize the channels output" "Not initialized,Initialized" newline bitfld.long 0x00 0. " FTMEN ,FTM enable" "Disabled,Enabled" endif group.long 0x58++0x0B line.long 0x00 "SYNC,FTM2 Synchronization Register" bitfld.long 0x00 7. " SWSYNC ,PWM synchronization software trigger" "Not selected,Selected" bitfld.long 0x00 6. " TRIG2 ,PWM synchronization hardware trigger 2" "Disabled,Enabled" newline bitfld.long 0x00 5. " TRIG1 ,PWM synchronization hardware trigger 1" "Disabled,Enabled" bitfld.long 0x00 4. " TRIG0 ,PWM synchronization hardware trigger 0" "Disabled,Enabled" newline bitfld.long 0x00 3. " SYNCHOM ,Output mask synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " REINIT ,FTM counter reinitialization by synchronization" "Normal,Updated on trigger" newline bitfld.long 0x00 1. " CNTMAX ,Maximum loading point enable" "Disabled,Enabled" bitfld.long 0x00 0. " CNTMIN ,Minimum loading point enable" "Disabled,Enabled" newline line.long 0x04 "OUTINIT,FTM2 Initial State For Channels Output Register" bitfld.long 0x04 1. " CH1OI ,Channel 1 output initialization value" "0,1" bitfld.long 0x04 0. " CH0OI ,Channel 0 output initialization value" "0,1" newline line.long 0x08 "OUTMASK,FTM2 Output Mask Register" bitfld.long 0x08 1. " CH1OM ,Channel 1 output mask" "Not masked,Masked" bitfld.long 0x08 0. " CH0OM ,Channel 0 output mask" "Not masked,Masked" newline sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM2 Function For Linked Channels Register" bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM2 Function For Linked Channels Register" rbitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" rbitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" rbitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" rbitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline rbitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif else group.long 0x64++0x03 line.long 0x00 "COMBINE,FTM2 Function For Linked Channels Register" bitfld.long 0x00 6. " FAULTEN0 ,Fault control enable in channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 5. " SYNCEN0 ,PWM synchronization enable (C0V,C1V)" "Disabled,Enabled" bitfld.long 0x00 4. " DTEN0 ,Dead-time enable in channels 0 and 1" "Disabled,Enabled" newline bitfld.long 0x00 3. " DECAP0 ,Dual edge capture mode captures" "Inactive,Active" bitfld.long 0x00 2. " DECAPEN0 ,Dual edge capture mode enable for channels 0 and 1" "Disabled,Enabled" bitfld.long 0x00 1. " COMP0 ,Complementary mode for channels 0 and 1" "CH1 same as CH0,CH1 complement of CH0" newline bitfld.long 0x00 0. " COMBINE0 ,Combine channels 0 and 1" "Independent,Combined" endif if ((per.l(ad:0x400B8000+0x54)&0x04)==0x04) group.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM2 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" else rgroup.long 0x68++0x03 line.long 0x00 "DEADTIME,FTM2 Dead-Time Insertion Control Register" bitfld.long 0x00 6.--7. " DTPS ,Dead-time prescaler value" "/1,/1,/4,/16" bitfld.long 0x00 0.--5. " DTVAL ,Dead-time value" "No counts,1 count,2 counts,3 counts,4 counts,5 counts,6 counts,7 counts,8 counts,9 counts,10 counts,11 counts,12 counts,13 counts,14 counts,15 counts,16 counts,17 counts,18 counts,19 counts,20 counts,21 counts,22 counts,23 counts,24 counts,25 counts,26 counts,27 counts,28 counts,29 counts,30 counts,31 counts,32 counts,33 counts,34 counts,35 counts,36 counts,37 counts,38 counts,39 counts,40 counts,41 counts,42 counts,43 counts,44 counts,45 counts,46 counts,47 counts,48 counts,49 counts,50 counts,51 counts,52 counts,53 counts,54 counts,55 counts,56 counts,57 counts,58 counts,59 counts,60 counts,61 counts,62 counts,63 counts" endif group.long 0x6C++0x03 line.long 0x00 "EXTTRIG,FTM2 External Trigger Register" bitfld.long 0x00 7. " TRIGF ,Channel trigger flag" "Not occurred,Occurred" bitfld.long 0x00 6. " INITTRIGEN ,Initialization trigger enable" "Disabled,Enabled" bitfld.long 0x00 5. " CH1TRIG ,Channel 1 trigger enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " CH0TRIG ,Channel 0 trigger enable" "Disabled,Enabled" newline if ((per.l(ad:0x400B8000+0x54)&0x04)==0x04) group.long 0x70++0x03 line.long 0x00 "POL,FTM2 Channels Polarity Register" bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" else rgroup.long 0x70++0x03 line.long 0x00 "POL,FTM2 Channels Polarity Register" bitfld.long 0x00 1. " POL[1] ,Channel 1 polarity" "Active high,Active low" bitfld.long 0x00 0. " [0] ,Channel 0 polarity" "Active high,Active low" endif sif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") hgroup.long 0x74++0x03 hide.long 0x00 "FMS,FTM2 Fault Mode Status Register" in else group.long 0x74++0x03 line.long 0x00 "FMS,FTM2 Fault Mode Status Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 2. " FAULTF2 ,Fault detection flag 2" "Not detected,Detected" bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" newline bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" else sif cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*") rbitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline else bitfld.long 0x00 7. " FAULTF ,Fault detection flag" "Not detected,Detected" newline endif bitfld.long 0x00 6. " WPEN ,Write protection enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FAULTIN ,Logic OR of the enabled fault inputs" "0,1" newline bitfld.long 0x00 1. " FAULTF1 ,Fault detection flag 1" "Not detected,Detected" bitfld.long 0x00 0. " FAULTF0 ,Fault detection flag 0" "Not detected,Detected" endif endif group.long 0x78++0x03 line.long 0x00 "FILTER,FTM2 Input Capture Filter Control Register" bitfld.long 0x00 4.--7. " CH1FVAL ,Channel 1 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 0.--3. " CH0FVAL ,Channel 0 input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM2 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else bitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" bitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif else group.long 0x7C++0x03 line.long 0x00 "FLTCTRL,FTM2 Fault Control Register" bitfld.long 0x00 8.--11. " FFVAL ,Fault input filter" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") rbitfld.long 0x00 6. " FFLTR2EN ,Fault input 2 filter enable" "Disabled,Enabled" rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 2. " FAULT2EN ,Fault input 2 enable" "Disabled,Enabled" rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" newline rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" else rbitfld.long 0x00 5. " FFLTR1EN ,Fault input 1 filter enable" "Disabled,Enabled" rbitfld.long 0x00 4. " FFLTR0EN ,Fault input 0 filter enable" "Disabled,Enabled" newline rbitfld.long 0x00 1. " FAULT1EN ,Fault input 1 enable" "Disabled,Enabled" rbitfld.long 0x00 0. " FAULT0EN ,Fault input 0 enable" "Disabled,Enabled" endif endif sif cpuis("MK11D*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN1M0VMC10")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK50DX256ZCLL10")||(cpu()=="MK50DN512ZCLL10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN256ZCMD10")||(cpu()=="MK51DN512ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCMC10")||(cpu()=="MK51DN512ZCMC10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK51DN512ZCLL10")||(cpu()=="MK50DN512ZCLQ10")||(cpu()=="MK50DN512ZCMD10")||(cpu()=="MK50DX256ZCLQ10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DN512VMC10R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") sif (cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*"))||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x400B8000+0x54))&0x04)==0x04) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif elif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK70*") if (((per.l(ad:0x400B8000+0x54))&0x4)==0x4) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.l(ad:0x400B8000+0x54))&0x4)==0x4) group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 Counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" rbitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif else endif else group.long 0x80++0x03 line.long 0x00 "QDCTRL,FTM2 Quadrature Decoder Control And Status Register" bitfld.long 0x00 7. " PHAFLTREN ,Phase A input filter enable" "Disabled,Enabled" bitfld.long 0x00 6. " PHBFLTREN ,Phase B input filter enable" "Disabled,Enabled" bitfld.long 0x00 5. " PHAPOL ,Phase A input polarity" "Normal,Inverted" newline bitfld.long 0x00 4. " PHBPOL ,Phase B input polarity" "Normal,Inverted" bitfld.long 0x00 3. " QUADMODE ,Quadrature decoder mode" "Phase A & B,Count and direction" rbitfld.long 0x00 2. " QUADIR ,FTM2 counter direction in quadrature decoder mode" "Decreasing,Increasing" newline rbitfld.long 0x00 1. " TOFDIR ,Timer overflow direction in quadrature decoder mode" "Min->Max,Max->Min" bitfld.long 0x00 0. " QUADEN ,Quadrature decoder mode enable" "Disabled,Enabled" endif group.long 0x84++0x03 line.long 0x00 "CONF,FTM2 Configuration Register" bitfld.long 0x00 10. " GTBEOUT ,Global time base output" "Disabled,Enabled" bitfld.long 0x00 9. " GTBEEN ,Global time base enable" "Disabled,Enabled" bitfld.long 0x00 6.--7. " BDMMODE ,BDM mode (FTM counter/FTM channels output)" "Stopped/Functional,Stopped/Forced to safe value,Stopped/Frozen,Functional/Functional" newline bitfld.long 0x00 0.--4. " NUMTOF ,TOF Frequency" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" if ((per.l(ad:0x400B8000+0x54)&0x04)==0x04) group.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM2 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") else bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" else rgroup.long 0x88++0x03 line.long 0x00 "FLTPOL,FTM2 Fault Input Polarity Register" sif cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVMD12")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FX512VMC10")||cpuis("MK21FX512VMD10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" newline bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK20FN1M0VLQ12R")||cpuis("MK70*")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 2. " FLT2POL ,Fault input 2 polarity" "Active high,Active low" bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK24FN256VDC12") bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") else bitfld.long 0x00 1. " FLT1POL ,Fault input 1 polarity" "Active high,Active low" newline endif bitfld.long 0x00 0. " FLT0POL ,Fault input 0 polarity" "Active high,Active low" endif group.long 0x8C++0x0F line.long 0x00 "SYNCONF,FTM2 Synchronization Configuration Register" bitfld.long 0x00 20. " HWSOC ,Software output control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 19. " HWINVC ,Inverting control synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 18. " HWOM ,Output mask synchronization (hardware trigger)" "Not activated,Activated" newline bitfld.long 0x00 17. " HWWRBUF ,MOD, CNTIN and CV registers synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 16. " HWRSTCNT ,FTM counter synchronization (hardware trigger)" "Not activated,Activated" bitfld.long 0x00 12. " SWSOC ,Software output control synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 11. " SWINVC ,Inverting control synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 10. " SWOM ,Output mask synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 9. " SWWRBUF ,MOD, CNTIN and CV registers synchronization (software trigger)" "Not activated,Activated" newline bitfld.long 0x00 8. " SWRSTCNT ,FTM counter synchronization (software trigger)" "Not activated,Activated" bitfld.long 0x00 7. " SYNCMODE ,PWM synchronization mode" "Legacy,Enhanced" bitfld.long 0x00 5. " SWOC ,SWOCTRL register synchronization" "At rising edges of sys clk,By PWM sync" newline bitfld.long 0x00 4. " INVC ,INVCTRL register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 2. " CNTINC ,CNTIN register synchronization" "At rising edges of sys clk,By PWM sync" bitfld.long 0x00 0. " HWTRIGMODE ,Hardware trigger mode" "Cleared,Not cleared" line.long 0x04 "INVCTRL,FTM2 Inverting Control Register" bitfld.long 0x04 0. " INV0EN ,Pair channels 0 inverting enable" "Disabled,Enabled" line.long 0x08 "SWOCTRL,FTM2 Software Output Control Register" bitfld.long 0x08 9. " CH1OCV ,Channel 1 software output control value" "0,1" bitfld.long 0x08 8. " CH0OCV ,Channel 0 software output control value" "0,1" newline bitfld.long 0x08 1. " CH1OC ,Channel 1 software output control enable" "Disabled,Enabled" bitfld.long 0x08 0. " CH0OC ,Channel 0 software output control enable" "Disabled,Enabled" line.long 0x0C "PWMLOAD,FTM2 PWM Load Register" bitfld.long 0x0C 9. " LDOK ,Load enable" "Disabled,Enabled" newline bitfld.long 0x0C 1. " CH1SE ,Channel 1 select" "Not included,Included" bitfld.long 0x0C 0. " CH0SE ,Channel 0 select" "Not included,Included" width 0x0B tree.end tree.end tree "PIT (Periodic Interrupt Timer)" base ad:0x40037000 sif cpuis("MK65*F*")||cpuis("MK66*F*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK65FN2M0CAC18R") width 9. group.long 0x00++0x03 line.long 0x00 "MCR,PIT Module Control Register" bitfld.long 0x00 1. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 0. " FRZ ,Freeze in debug mode" "Not stopped,Stopped" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long 0xE0++0x07 line.long 0x00 "LTMR64H,PIT Upper Lifetime Timer Register" line.long 0x04 "LTMR64L,PIT Lower Lifetime Timer Register" else group.long 0xE0++0x07 line.long 0x00 "LTMR64H,PIT Upper Lifetime Timer Register" line.long 0x04 "LTMR64L,PIT Lower Lifetime Timer Register" endif else width 8. group.long 0x00++0x03 line.long 0x00 "MCR,PIT Module Control Register" bitfld.long 0x00 1. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 0. " FRZ ,Freeze in debug mode" "Not stopped,Stopped" endif width 9. group.long 0x100++0x03 "PIT 0 Registers" line.long 0x00 "LDVAL0,PIT0 Timer Load Value Register" rgroup.long (0x100+0x4)++0x03 line.long 0x00 "CVAL0,PIT0 Current Timer Value Register" group.long (0x100+0x08)++0x03 line.long 0x00 "TCTRL0,PIT0 Timer Control Register" sif !cpuis("MK?0F*")&&!cpuis("MK?0D*5")&&!cpuis("MK?0DN*AB10")&&!cpuis("MK20DN512*AB10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK02*")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK8?FN256V*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK20DN512VLK10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") endif endif bitfld.long 0x00 1. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" group.long (0x100+0x0C)++0x03 line.long 0x00 "TFLG0,PIT0 Timer Flag Register" eventfld.long 0x00 0. " TIF ,Timer interrupt flag" "Not occurred,Occurred" group.long 0x110++0x03 "PIT 1 Registers" line.long 0x00 "LDVAL1,PIT1 Timer Load Value Register" rgroup.long (0x110+0x4)++0x03 line.long 0x00 "CVAL1,PIT1 Current Timer Value Register" group.long (0x110+0x08)++0x03 line.long 0x00 "TCTRL1,PIT1 Timer Control Register" sif !cpuis("MK?0F*")&&!cpuis("MK?0D*5")&&!cpuis("MK?0DN*AB10")&&!cpuis("MK20DN512*AB10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK02*")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK8?FN256V*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK20DN512VLK10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 2. " CHN ,Chain mode" "Not chained,Chained" newline endif endif bitfld.long 0x00 1. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" group.long (0x110+0x0C)++0x03 line.long 0x00 "TFLG1,PIT1 Timer Flag Register" eventfld.long 0x00 0. " TIF ,Timer interrupt flag" "Not occurred,Occurred" group.long 0x120++0x03 "PIT 2 Registers" line.long 0x00 "LDVAL2,PIT2 Timer Load Value Register" rgroup.long (0x120+0x4)++0x03 line.long 0x00 "CVAL2,PIT2 Current Timer Value Register" group.long (0x120+0x08)++0x03 line.long 0x00 "TCTRL2,PIT2 Timer Control Register" sif !cpuis("MK?0F*")&&!cpuis("MK?0D*5")&&!cpuis("MK?0DN*AB10")&&!cpuis("MK20DN512*AB10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK02*")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK8?FN256V*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK20DN512VLK10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 2. " CHN ,Chain mode" "Not chained,Chained" newline endif endif bitfld.long 0x00 1. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" group.long (0x120+0x0C)++0x03 line.long 0x00 "TFLG2,PIT2 Timer Flag Register" eventfld.long 0x00 0. " TIF ,Timer interrupt flag" "Not occurred,Occurred" group.long 0x130++0x03 "PIT 3 Registers" line.long 0x00 "LDVAL3,PIT3 Timer Load Value Register" rgroup.long (0x130+0x4)++0x03 line.long 0x00 "CVAL3,PIT3 Current Timer Value Register" group.long (0x130+0x08)++0x03 line.long 0x00 "TCTRL3,PIT3 Timer Control Register" sif !cpuis("MK?0F*")&&!cpuis("MK?0D*5")&&!cpuis("MK?0DN*AB10")&&!cpuis("MK20DN512*AB10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK20DN512ZVLL10")&&!cpuis("MK20DX256ZVLL10")&&!cpuis("MK20DN512ZVLQ10")&&!cpuis("MK20DN512ZVLQ10R")&&!cpuis("MK20DN512ZVMD10")&&!cpuis("MK20DX128ZVLQ10")&&!cpuis("MK20DX256ZVLQ10")&&!cpuis("MK20DX256ZVLQ10R")&&!cpuis("MK20DX256ZVMD10")&&!cpuis("MK20DN512ZVLK10")&&!cpuis("MK20DX256ZVLK10")&&!cpuis("MK20DN512ZVMC10")&&!cpuis("MK20DN512ZVMC10R") sif cpuis("MK20FN1M0VLQ12R")||cpuis("MK02*")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK8?FN256V*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DN512VMC10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK20DN512VLK10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15") bitfld.long 0x00 2. " CHN ,Chain mode" "Not chained,Chained" newline endif endif bitfld.long 0x00 1. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" group.long (0x130+0x0C)++0x03 line.long 0x00 "TFLG3,PIT3 Timer Flag Register" eventfld.long 0x00 0. " TIF ,Timer interrupt flag" "Not occurred,Occurred" width 0x0B tree.end tree "LPT (Low Power Timer)" base ad:0x40040000 width 5. sif cpuis("MK11D*")||cpuis("MK63*")||cpuis("MK64*")||cpuis("MK02*")||cpuis("MK65*")||cpuis("MK66*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLK10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40D*Z*10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK21DN512AVMC5R")||cpuis("MK21DX256AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK20DN512VLK10R")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40040000+0x00))&0x01)==0x01) group.long 0x00++0x03 line.long 0x00 "CSR,Low Power Timer Control Status Register" eventfld.long 0x00 7. " TCF ,Timer compare flag" "Not equaled,Equaled" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" newline sif cpuis("MK20DX256VLK10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||(cpuis("MK40DN512ZVLQ10"))||(cpuis("MK40DN512ZVMD10"))||(cpuis("MK40DX128ZVLQ10"))||(cpuis("MK40DX256ZVLQ10"))||(cpuis("MK40DX256ZVMD10"))||(cpuis("MK40DN512ZVLL10"))||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK20DN512VLK10R")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") rbitfld.long 0x00 4.--5. " TPS ,Timer pin select" "CMP 0 output,LPTMR_ALT1 pin,LPTMR_ALT2 pin,?..." else rbitfld.long 0x00 4.--5. " TPS ,Timer pin select" "CMP 0 output,LPTMR_ALT1 pin,LPTMR_ALT2 pin,LPTMR_ALT3 pin" endif newline rbitfld.long 0x00 3. " TPP ,Timer pin polarity" "Active high,Active low" rbitfld.long 0x00 2. " TFC ,Timer free running counter" "Reset on TCF set,Reset on overflow" rbitfld.long 0x00 1. " TMS ,Timer mode select" "Time counter,Pulse counter" newline bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" else group.long 0x00++0x03 line.long 0x00 "CSR,Low Power Timer Control Status Register" eventfld.long 0x00 7. " TCF ,Timer compare flag" "Not equaled,Equaled" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" newline sif cpuis("MK20DX256VLK10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK22FN1M0VMC10")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0VLH10")||cpuis("MK22FX512AVMD12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN512VMP12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0AVLH12")||(cpuis("MK40DN512ZVLQ10"))||(cpuis("MK40DN512ZVMD10"))||(cpuis("MK40DX128ZVLQ10"))||(cpuis("MK40DX256ZVLQ10"))||(cpuis("MK40DX256ZVMD10"))||(cpuis("MK40DN512ZVLL10"))||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN1M0VLK12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN128VLH10R")||cpuis("MK20DN512VLK10R")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 4.--5. " TPS ,Timer pin select" "CMP 0 output,LPTMR_ALT1 pin,LPTMR_ALT2 pin,?..." elif cpuis("MK8?FN256V*")||cpuis("MK40D*Z*10")||cpuis("MK21FX512VMC10")||cpuis("MK21FN1M0VMC10")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK10DN512ZV??10*")||cpuis("MK10DX256ZV??10*")||cpuis("MK11DN512AVLK5*")||cpuis("MK11DN512VLK5*")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 4.--5. " TPS ,Timer pin select" "CMP 0 output,LPTMR_ALT1 pin,LPTMR_ALT2 pin,LPTMR_ALT3 pin" else rbitfld.long 0x00 4.--5. " TPS ,Timer pin select" "CMP 0 output,LPTMR_ALT1 pin,LPTMR_ALT2 pin,LPTMR_ALT3 pin" endif newline bitfld.long 0x00 3. " TPP ,Timer pin polarity" "Active high,Active low" bitfld.long 0x00 2. " TFC ,Timer free running counter" "Reset on TCF set,Reset on overflow" bitfld.long 0x00 1. " TMS ,Timer mode select" "Time counter,Pulse counter" newline bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" endif else group.long 0x00++0x03 line.long 0x00 "CSR,Low Power Timer Control Status Register" eventfld.long 0x00 7. " TCF ,Timer compare flag" "Not equaled,Equaled" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4.--5. " TPS ,Timer pin select" "Input 0,Input 1,Input 2,Input 3" newline bitfld.long 0x00 3. " TPP ,Timer pin polarity" "Active high,Active low" bitfld.long 0x00 2. " TFC ,Timer free running counter" "Reset on TCF set,Reset on overflow" bitfld.long 0x00 1. " TMS ,Timer mode select" "Time counter,Pulse counter" newline bitfld.long 0x00 0. " TEN ,Timer enable" "Disabled,Enabled" endif if ((per.l(ad:0x40040000)&0x02)==0x00) if (((per.l(ad:0x40040000+0x00))&0x01)==0x01) rgroup.long 0x04++0x03 line.long 0x00 "PSR,Low Power Timer Prescale Register" bitfld.long 0x00 3.--6. " PRESCALE ,Prescale value" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 2. " PBYP ,Prescaler bypass" "Not bypassed,Bypassed" bitfld.long 0x00 0.--1. " PCS ,Prescaler clock select" "MCGIRCLK,LPO 1kHz,ERCLK32K,OSCERCLK" else group.long 0x04++0x03 line.long 0x00 "PSR,Low Power Timer Prescale Register" bitfld.long 0x00 3.--6. " PRESCALE ,Prescale value" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 2. " PBYP ,Prescaler bypass" "Not bypassed,Bypassed" bitfld.long 0x00 0.--1. " PCS ,Prescaler clock select" "MCGIRCLK,LPO 1kHz,ERCLK32K,OSCERCLK" endif else if (((per.l(ad:0x40040000+0x00))&0x01)==0x01) rgroup.long 0x04++0x03 line.long 0x00 "PSR,Low Power Timer Prescale Register" bitfld.long 0x00 3.--6. " GFW ,Glitch filter width" ",2 clk edges,4 clk edges,8 clk edges,16 clk edges,32 clk edges,64 clk edges,128 clk edges,256 clk edges,512 clk edges,1024 clk edges,2048 clk edges,4096 clk edges,8192 clk edges,16384 clk edges,32768 clk edges" bitfld.long 0x00 2. " PBYP ,Glitch filter bypass" "Not bypassed,Bypassed" bitfld.long 0x00 0.--1. " PCS ,Prescaler clock select" "MCGIRCLK,LPO 1kHz,ERCLK32K,OSCERCLK" else group.long 0x04++0x03 line.long 0x00 "PSR,Low Power Timer Prescale Register" bitfld.long 0x00 3.--6. " GFW ,Glitch filter width" ",2 clk edges,4 clk edges,8 clk edges,16 clk edges,32 clk edges,64 clk edges,128 clk edges,256 clk edges,512 clk edges,1024 clk edges,2048 clk edges,4096 clk edges,8192 clk edges,16384 clk edges,32768 clk edges" bitfld.long 0x00 2. " PBYP ,Glitch filter bypass" "Not bypassed,Bypassed" bitfld.long 0x00 0.--1. " PCS ,Prescaler clock select" "MCGIRCLK,LPO 1kHz,ERCLK32K,OSCERCLK" endif endif sif cpuis("MK84FN2M0CAU15R") if (((per.l(ad:0x40040000+0x00))&0x81)==0x80) rgroup.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" else group.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" endif rgroup.long 0x0C++0x03 line.long 0x00 "CNR,Low Power Timer Counter Register" elif cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15") if (((per.l(ad:0x40040000+0x00))&0x81)==0x80) rgroup.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" else group.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" endif group.long 0x0C++0x03 line.long 0x00 "CNR,Low Power Timer Counter Register" elif cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN1M0AVLK12R")||cpuis("MK22FN128VLH10R")||cpuis("MK22FX512AVLH12R")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R")||cpuis("KK60FN1M0VLQ15") if (((per.l(ad:0x40040000+0x00))&0x81)==0x80) rgroup.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" hexmask.long.word 0x00 0.--15. 1. " COMPARE ,Compare value" else group.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" hexmask.long.word 0x00 0.--15. 1. " COMPARE ,Compare value" endif group.long 0x0C++0x03 line.long 0x00 "CNR,Low Power Timer Counter Register" hexmask.long.word 0x00 0.--15. 1. " COUNTER ,Counter value" else if (((per.l(ad:0x40040000+0x00))&0x81)==0x80) rgroup.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" hexmask.long.word 0x00 0.--15. 1. " COMPARE ,Compare value" else group.long 0x08++0x03 line.long 0x00 "CMR,Low Power Timer Compare Register" hexmask.long.word 0x00 0.--15. 1. " COMPARE ,Compare value" endif rgroup.long 0x0C++0x03 line.long 0x00 "CNR,Low Power Timer Counter Register" hexmask.long.word 0x00 0.--15. 1. " COUNTER ,Counter value" endif width 0x0B tree.end tree "CMT (Carrier Modulator Transmitter)" base ad:0x40062000 width 6. group.byte 0x00++0x04 line.byte 0x00 "CGH1,CMT Carrier Generator High Data Register 1" line.byte 0x01 "CGL1,CMT Carrier Generator Low Data Register 1" line.byte 0x02 "CGH2,CMT Carrier Generator High Data Register 2" line.byte 0x03 "CGL2,CMT Carrier Generator Low Data Register 2" line.byte 0x04 "OC,CMT Output Control Register" bitfld.byte 0x04 7. " IROL ,IRO latch control" "Low,High" bitfld.byte 0x04 6. " CMTPOL ,CMT output polarity" "Active low,Active high" bitfld.byte 0x04 5. " IROPEN ,IRO pin enable" "Disabled,Enabled" hgroup.byte 0x05++0x00 hide.byte 0x00 "MSC,CMT Modulator Status and Control Register" in group.byte 0x06++0x05 line.byte 0x00 "CMD1,CMT Modulator Data Register Mark High" line.byte 0x01 "CMD2,CMT Modulator Data Register Mark Low" line.byte 0x02 "CMD3,CMT Modulator Data Register Space High" line.byte 0x03 "CMD4,CMT Modulator Data Register Space Low" line.byte 0x04 "PPS,CMT Primary Prescaler Register" bitfld.byte 0x04 0.--3. " PPSDIV ,Primary prescaler divider" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" line.byte 0x05 "DMA,CMT Direct Memory Access Register" bitfld.byte 0x05 0. " DMA ,DMA enable" "Disabled,Enabled" width 0x0B tree.end tree "RTC (Real Time Clock)" base ad:0x4003d000 width 5. if ((per.l(ad:0x4003d000+0x14)&0x10)==0x0) group.long 0x00++0x07 line.long 0x00 "TSR,RTC Time Seconds Register" line.long 0x04 "TPR,RTC Time Prescaler Register" hexmask.long.word 0x04 0.--15. 1. " TPR ,Time prescaler" else rgroup.long 0x00++0x07 line.long 0x00 "TSR,RTC Time Seconds Register" line.long 0x04 "TPR,RTC Time Prescaler Register" hexmask.long.word 0x04 0.--15. 1. " TPR ,Time prescaler" endif group.long 0x08++0x17 line.long 0x00 "TAR,RTC Time Alarm Register" line.long 0x04 "TCR,RTC Time Compensation Register" hexmask.long.byte 0x04 24.--31. 1. " CIC ,Compensation interval counter" hexmask.long.byte 0x04 16.--23. 1. " TCV ,Time compensation value" hexmask.long.byte 0x04 8.--15. 1. " CIR ,Compensation interval register" hexmask.long.byte 0x04 0.--7. 1. " TCR ,Time compensation register" line.long 0x08 "CR,RTC Control Register" bitfld.long 0x08 13. " SC2P ,Oscillator 2pF load configure" "Disabled,Enabled" bitfld.long 0x08 12. " SC4P ,Oscillator 4pF load configure" "Disabled,Enabled" bitfld.long 0x08 11. " SC8P ,Oscillator 8pF load configure" "Disabled,Enabled" bitfld.long 0x08 10. " SC16P ,Oscillator 16pF load configure" "Disabled,Enabled" textline " " bitfld.long 0x08 9. " CLKO ,Indicate whether clock is output to other peripherals or not" "Output,Not output" bitfld.long 0x08 8. " OSCE ,Oscillator enable" "Disabled,Enabled" bitfld.long 0x08 3. " UM ,Update mode" "Low,High" bitfld.long 0x08 2. " SUP ,Supervisor write access" "Supervisor,Non-supervisor" textline " " bitfld.long 0x08 1. " WPE ,Wakeup pin enable" "Disabled,Enabled" bitfld.long 0x08 0. " SWR ,Software reset" "No reset,Reset" line.long 0x0C "SR,RTC Status Register" bitfld.long 0x0C 4. " TCE ,Time counter enable" "Disabled,Enabled" rbitfld.long 0x0C 2. " TAF ,Time alarm flag" "Not occurred,Occurred" rbitfld.long 0x0C 1. " TOF ,Time overflow flag" "No overflow,Overflow" rbitfld.long 0x0C 0. " TIF ,Time invalid flag" "Valid,Invalid" line.long 0x10 "LR,RTC Lock Register" bitfld.long 0x10 6. " LRL ,Lock register lock" "Locked,Not locked" bitfld.long 0x10 5. " SRL ,Status register lock" "Locked,Not locked" bitfld.long 0x10 4. " CRL ,Control register lock" "Locked,Not locked" bitfld.long 0x10 3. " TCL ,Time compensation lock" "Locked,Not locked" line.long 0x14 "IER,RTC Interrupt Enable Register" sif (!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK40D*Z*10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK53DX256ZCMD10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK51DN256ZCLQ10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK51DN512ZCMD10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DN512ZCMD10")&&!cpuis("MK50DX256ZCLQ10")) sif cpuis("MK?0D*10")||cpuis("MK5*10") bitfld.long 0x14 7. " WPON ,Wakeup pin on" "No effect,Wake up" textline " " endif bitfld.long 0x14 4. " TSIE ,Time seconds interrupt enable" "Disabled,Enabled" textline " " endif bitfld.long 0x14 2. " TAIE ,Time alarm interrupt enable" "Disabled,Enabled" bitfld.long 0x14 1. " TOIE ,Time overflow interrupt enable" "Disabled,Enabled" bitfld.long 0x14 0. " TIIE ,Time invalid interrupt enable" "Disabled,Enabled" group.long 0x800++0x07 line.long 0x00 "WAR,RTC Write Access Register" bitfld.long 0x00 7. " IERW ,Interrupt enable register write" "Ignored,Normal" bitfld.long 0x00 6. " LRW ,Lock register write" "Ignored,Normal" bitfld.long 0x00 5. " SRW ,Status register write" "Ignored,Normal" bitfld.long 0x00 4. " CRW ,Control register write" "Ignored,Normal" textline " " bitfld.long 0x00 3. " TCRW ,Time compensation register write" "Ignored,Normal" bitfld.long 0x00 2. " TARW ,Time alarm register write" "Ignored,Normal" bitfld.long 0x00 1. " TPRW ,Time prescaler register write" "Ignored,Normal" bitfld.long 0x00 0. " TSRW ,Time seconds register write" "Ignored,Normal" line.long 0x04 "RAR,RTC Read Access Register" bitfld.long 0x04 7. " IERR ,Interrupt enable register read" "Ignored,Normal" bitfld.long 0x04 6. " LRR ,Lock register read" "Ignored,Normal" bitfld.long 0x04 5. " SRR ,Status register read" "Ignored,Normal" bitfld.long 0x04 4. " CRR ,Control register read" "Ignored,Normal" textline " " bitfld.long 0x04 3. " TCRR ,Time compensation register read" "Ignored,Normal" bitfld.long 0x04 2. " TARR ,Time alarm register read" "Ignored,Normal" bitfld.long 0x04 1. " TPRR ,Time prescaler register read" "Ignored,Normal" bitfld.long 0x04 0. " TSRR ,Time seconds register read" "Ignored,Normal" width 0x0B tree.end tree.end tree.open "Communication Interfaces" sif cpuis("MK52*")||cpuis("MK53*") tree "ENET (10/100-Mbps Ethernet MAC)" base ad:0x400C0000 width 8. tree "Configuration Registers" group.long 0x04++0x07 line.long 0x00 "EIR,Interrupt Event Register" eventfld.long 0x00 30. " BABR ,Babbling receive error" "No error,Error" eventfld.long 0x00 29. " BABT ,Babbling transmit error" "No error,Error" eventfld.long 0x00 28. " GRA ,Graceful stop complete" "Not completed,Completed" eventfld.long 0x00 27. " TXF ,Transmit frame interrupt" "No interrupt,Interrupt" newline eventfld.long 0x00 26. " TXB ,Transmit buffer interrupt" "No interrupt,Interrupt" eventfld.long 0x00 25. " RXF ,Receive frame interrupt" "No interrupt,Interrupt" eventfld.long 0x00 24. " RXB ,Receive buffer interrupt" "No interrupt,Interrupt" eventfld.long 0x00 23. " MII ,MII interrupt" "No interrupt,Interrupt" newline eventfld.long 0x00 22. " EBERR ,Ethernet bus error" "No error,Error" eventfld.long 0x00 21. " LC ,Late collision (in half-duplex mode)" "Not occurred,Occurred" eventfld.long 0x00 20. " RL ,Collision retry limit (in half-duplex mode)" "Not occurred,Occurred" eventfld.long 0x00 19. " UN ,Transmit FIFO underrun" "No underrun,Underrun" newline eventfld.long 0x00 18. " PLR ,Payload receive error" "No error,Error" eventfld.long 0x00 17. " WAKEUP ,Node wake-up request" "Not requested,Requested" eventfld.long 0x00 16. " TS_AVAIL ,Transmit timestamp available" "Not available,Available" eventfld.long 0x00 15. " TS_TIMER ,Timestamp timer" "Not reached,Reached" line.long 0x04 "EIMR,Interrupt Mask Register" bitfld.long 0x04 30. " BABR ,Babbling receive error interrupt mask" "Masked,Not masked" bitfld.long 0x04 29. " BABT ,Babbling transmit error interrupt mask" "Masked,Not masked" bitfld.long 0x04 28. " GRA ,Graceful stop complete interrupt mask" "Masked,Not masked" bitfld.long 0x04 27. " TXF ,Transmit frame interrupt mask" "Masked,Not masked" newline bitfld.long 0x04 26. " TXB ,Transmit buffer interrupt mask" "Masked,Not masked" bitfld.long 0x04 25. " RXF ,Receive frame interrupt mask" "Masked,Not masked" bitfld.long 0x04 24. " RXB ,Receive buffer interrupt mask" "Masked,Not masked" bitfld.long 0x04 23. " MII ,MII interrupt mask" "Masked,Not masked" newline bitfld.long 0x04 22. " EBERR ,Ethernet bus error interrupt mask" "Masked,Not masked" bitfld.long 0x04 21. " LC ,Late collision interrupt mask" "Masked,Not masked" bitfld.long 0x04 20. " RL ,Collision Retry Limit Interrupt Mask" "Masked,Not masked" bitfld.long 0x04 19. " UN ,Transmit FIFO underrun interrupt mask" "Masked,Not masked" newline bitfld.long 0x04 18. " PLR ,Payload Receive Error Interrupt Mask" "Masked,Not masked" bitfld.long 0x04 17. " WAKEUP ,Node wake-up request interrupt mask" "Masked,Not masked" bitfld.long 0x04 16. " TS_AVAIL ,Transmit timestamp available interrupt mask" "Masked,Not masked" bitfld.long 0x04 15. " TS_TIMER ,Timestamp timer interrupt mask" "Masked,Not masked" group.long 0x10++0x07 line.long 0x00 "RDAR,Receive Descriptor Active Register" bitfld.long 0x00 24. " RDAR ,Receive descriptor active" "Inactive,Active" line.long 0x04 "TDAR,Transmit Descriptor Active Register" bitfld.long 0x04 24. " TDAR ,Transmit descriptor active" "Inactive,Active" group.long 0x24++0x03 line.long 0x00 "ECR,Ethernet Control Register" sif !cpuis("MK60D*AB10")&&!cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 8. " DBSWP ,Descriptor byte swapping enable" "Disabled,Enabled" newline endif bitfld.long 0x00 7. " STOPEN ,STOPEN signal control (in doze mode)" "Disabled,Enabled" bitfld.long 0x00 6. " DBGEN ,Debug enable" "Debug,Freeze" bitfld.long 0x00 4. " EN1588 ,EN1588 enable" "Disabled,Enabled" bitfld.long 0x00 3. " SLEEP ,Sleep mode enable" "Disabled,Enabled" newline bitfld.long 0x00 2. " MAGICEN ,Magic packet detection enable (in sleep mode)" "Disabled,Enabled" bitfld.long 0x00 1. " ETHEREN ,Ethernet enable" "Disabled,Enabled" bitfld.long 0x00 0. " RESET ,Ethernet MAC reset" "No reset,Reset" newline group.long 0x40++0x07 line.long 0x00 "MMFR,MII Management Frame Register" bitfld.long 0x00 30.--31. " ST ,Start of frame delimiter" "0,1,2,3" bitfld.long 0x00 28.--29. " OP ,Operation code" "Write(not MII),Write(MII),Read(MII),Read(not MII)" bitfld.long 0x00 23.--27. " PA ,PHY address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline bitfld.long 0x00 18.--22. " RA ,Register address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" bitfld.long 0x00 16.--17. " TA ,Turn around" "00,01,10,11" hexmask.long.word 0x00 0.--15. 1. " DATA ,Management frame data" line.long 0x04 "MSCR,MII Speed Control Register" sif cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x04 8.--10. " HOLDTIME ,Holdtime on MDIO output" "1 internal bus cycle,2 internal bus cycles,3 internal bus cycles,4 internal bus cycles,5 internal bus cycles,6 internal bus cycles,7 internal bus cycles,8 internal bus cycles" newline elif cpuis("MK70*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x04 8.--10. " HOLDTIME ,Holdtime on MDIO output" "1 internal bus cycle,2 internal bus cycles,3 internal bus cycles,,,,,8 internal bus cycles" newline else bitfld.long 0x04 8.--10. " HOLDTIME ,Holdtime on MDIO output" "1 internal bus cycle,2 internal bus cycles,3 internal bus cycles,4 internal bus cycles,5 internal bus cycles,6 internal bus cycles,7 internal bus cycles,8 internal bus cycles" newline endif bitfld.long 0x04 7. " DIS_PRE ,Disable preamble" "No,Yes" bitfld.long 0x04 1.--6. " MII_SPEED ,MII speed" "0,1/2,1/4,1/6,1/8,1/10,1/12,1/14,1/16,1/18,1/20,1/22,1/24,1/26,1/28,1/30,1/32,1/34,1/36,1/38,1/40,1/42,1/44,1/46,1/48,1/50,1/52,1/54,1/56,1/58,1/60,1/62,1/64,1/66,1/68,1/70,1/72,1/74,1/76,1/78,1/80,1/82,1/84,1/86,1/88,1/90,1/92,1/94,1/96,1/98,1/100,1/102,1/104,1/106,1/108,1/110,1/112,1/114,1/116,1/118,1/120,1/122,1/124,1/126" group.long 0x64++0x03 line.long 0x00 "MIBC,MIB Control Register" bitfld.long 0x00 31. " MIB_DIS ,Disable MIB logic" "No,Yes" rbitfld.long 0x00 30. " MIB_IDLE ,MIB idle" "Not idle,Idle" bitfld.long 0x00 29. " MIB_CLEAR ,MIB clear" "No effect,Cleared" group.long 0x84++0x03 line.long 0x00 "RCR,Receive Control Register" rbitfld.long 0x00 31. " GRS ,Graceful receive stopped" "Not stopped,Stopped" bitfld.long 0x00 30. " NLC ,Payload length check disable" "Disabled,Enabled" hexmask.long.word 0x00 16.--29. 1. " MAX_FL ,Maximum frame length" bitfld.long 0x00 15. " CFEN ,MAC control frame enable" "Disabled,Enabled" newline bitfld.long 0x00 14. " CRCFWD ,Terminate/forward received CRC" "Transmitted,Stripped" bitfld.long 0x00 13. " PAUFWD ,Terminate/forward pause frames" "Terminated,Forwarded" bitfld.long 0x00 12. " PADEN ,Enable frame padding remove on receive" "Disabled,Enabled" bitfld.long 0x00 9. " RMII_10T ,Enable 10-Mbps mode of the RMII" "100 Mbps,10 Mbps" newline bitfld.long 0x00 8. " RMII_MODE ,RMII mode enable" "MII,RMII" bitfld.long 0x00 5. " FCE ,Flow control enable" "Disabled,Enabled" bitfld.long 0x00 4. " BC_REJ ,Broadcast frame reject" "Not rejected,Rejected" bitfld.long 0x00 3. " PROM ,Promiscuous mode" "Disabled,Enabled" newline bitfld.long 0x00 2. " MII_MODE ,Media independent interface mode" ",MII/RMII" bitfld.long 0x00 1. " DRT ,Disable receive on transmit" "No,Yes" bitfld.long 0x00 0. " LOOP ,Internal loopback" "Disabled,Enabled" sif cpuis("MK70*")||(cpu()=="MK53DN512ZCLQ10")||(cpu()=="MK53DN512ZCMD10")||(cpu()=="MK53DX256ZCLQ10")||(cpu()=="MK53DX256ZCMD10")||(cpu()=="MK52DN512ZCLQ10")||(cpu()=="MK52DN512ZCMD10")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x400C0000+0x24)&0x02)==0x00)) rgroup.long 0xC4++0x03 line.long 0x00 "TCR,Transmit Control Register" bitfld.long 0x00 9. " CRCFWD ,Forward frame from application with CRC" "Not expecting,Expecting" bitfld.long 0x00 8. " ADDINS ,Set MAC address on transmit" "Not overwritten,Overwritten" bitfld.long 0x00 5.--7. " ADDSEL ,Source MAC address select on transmit" "PADDR1/2,?..." bitfld.long 0x00 4. " RFC_PAUSE ,Receive frame control pause" "Not paused,Paused" newline bitfld.long 0x00 3. " TFC_PAUSE ,Transmit frame control pause" "Not paused,Paused" bitfld.long 0x00 2. " FDEN ,Full duplex enable" "Disabled,Enabled" bitfld.long 0x00 0. " GTS ,Graceful transmit stop" "Not stopped,Stopped" else group.long 0xC4++0x03 line.long 0x00 "TCR,Transmit Control Register" bitfld.long 0x00 9. " CRCFWD ,Forward frame from application with CRC" "Not expecting,Expecting" bitfld.long 0x00 8. " ADDINS ,Set MAC address on transmit" "Not overwritten,Overwritten" bitfld.long 0x00 5.--7. " ADDSEL ,Source MAC address select on transmit" "PADDR1/2,?..." bitfld.long 0x00 4. " RFC_PAUSE ,Receive frame control pause" "Not paused,Paused" newline bitfld.long 0x00 3. " TFC_PAUSE ,Transmit frame control pause" "Not paused,Paused" rbitfld.long 0x00 2. " FDEN ,Full duplex enable" "Disabled,Enabled" bitfld.long 0x00 0. " GTS ,Graceful transmit stop" "Not stopped,Stopped" endif else group.long 0xC4++0x03 line.long 0x00 "TCR,Transmit Control Register" bitfld.long 0x00 9. " CRCFWD ,Forward frame from application with CRC" "Not expecting,Expecting" bitfld.long 0x00 8. " ADDINS ,Set MAC address on transmit" "Not overwritten,Overwritten" bitfld.long 0x00 5.--7. " ADDSEL ,Source MAC address select on transmit" "PADDR1/2,?..." rbitfld.long 0x00 4. " RFC_PAUSE ,Receive frame control pause" "Not paused,Paused" newline bitfld.long 0x00 3. " TFC_PAUSE ,Transmit frame control pause" "Not paused,Paused" bitfld.long 0x00 2. " FDEN ,Full duplex enable" "Disabled,Enabled" bitfld.long 0x00 0. " GTS ,Graceful transmit stop" "Not stopped,Stopped" endif group.long 0xE4++0x0B line.long 0x00 "PALR,Physical Address Lower Register" line.long 0x04 "PAUR,Physical Address Upper Register" hexmask.long.word 0x04 16.--31. 0x01 " PADDR2 ,Upper 2 bytes of the 48-bit address" hexmask.long.word 0x04 0.--15. 1. " TYPE ,Type field in PAUSE frames" line.long 0x08 "OPD,Opcode/Pause Duration Register" hexmask.long.word 0x08 16.--31. 1. " OPCODE ,Opcode field in PAUSE frames" hexmask.long.word 0x08 0.--15. 1. " PAUSE_DUR ,Pause duration" group.long 0x118++0x0F line.long 0x00 "IAUR,Descriptor Individual Upper Address Register" line.long 0x04 "IALR,Descriptor Individual Lower Address Register" line.long 0x08 "GAUR,Descriptor Group Upper Address Register" line.long 0x0c "GALR,Descriptor Group Lower Address Register" group.long 0x144++0x03 line.long 0x00 "TFWR,Transmit FIFO Watermark Register" bitfld.long 0x00 8. " STRFWD ,Store and forward enable" "Disabled,Enabled" newline sif (cpuis("MK70*"))||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*VLQ*")||cpuis("MK60*VMD*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") sif cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 0.--5. " TFWR ,Transmit FIFO write" "64 bytes,64 bytes,128 bytes,192 bytes,256 bytes,320 bytes,384 bytes,448 bytes,512 bytes,576 bytes,640 bytes,704 bytes,768 bytes,832 bytes,896 bytes,960 bytes,1024 bytes,1088 bytes,1152 bytes,1216 bytes,1280 bytes,1344 bytes,1408 bytes,1472 bytes,1536 bytes,1600 bytes,1664 bytes,1728 bytes,1792 bytes,1856 bytes,1920 bytes,1984 bytes,?..." endif else bitfld.long 0x00 0.--5. " TFWR ,Transmit FIFO write" "64 bytes,64 bytes,128 bytes,192 bytes,256 bytes,320 bytes,384 bytes,448 bytes,512 bytes,576 bytes,640 bytes,704 bytes,768 bytes,832 bytes,896 bytes,960 bytes,1024 bytes,1088 bytes,1152 bytes,1216 bytes,1280 bytes,1344 bytes,1408 bytes,1472 bytes,1536 bytes,1600 bytes,1664 bytes,1728 bytes,1792 bytes,1856 bytes,1920 bytes,1984 bytes,2048 bytes,2112 bytes,2176 bytes,2240 bytes,2304 bytes,2368 bytes,2432 bytes,2496 bytes,2560 bytes,2624 bytes,2688 bytes,2752 bytes,2816 bytes,2880 bytes,2944 bytes,3008 bytes,3072 bytes,3136 bytes,3200 bytes,3264 bytes,3328 bytes,3392 bytes,3456 bytes,3520 bytes,3584 bytes,3648 bytes,3712 bytes,3776 bytes,3840 bytes,3904 bytes,3968 bytes,4032 bytes" endif group.long 0x180++0x0B line.long 0x00 "RDSR,Receive Descriptor Ring Start Register" hexmask.long 0x00 3.--31. 0x08 " R_DES_START ,Pointer to the start of the receive buffer descriptor queue" line.long 0x04 "TDSR,Transmit Buffer Descriptor Ring Start Register" hexmask.long 0x04 3.--31. 0x08 " X_DES_START ,Pointer to the start of the transmit buffer descriptor queue" line.long 0x08 "MRBR,Maximum Receive Buffer Size Register" sif cpuis("MK65*")||cpuis("MK66*")||cpuis("MK70*")||cpuis("MK60*VLQ*")||cpuis("MK60*VMD*")||cpuis("MK63FN1M0VLQ12R")||cpuis("KK65FN2M0CAC18R") hexmask.long.byte 0x08 4.--10. 1. " R_BUF_SIZE ,Receive buffer size in bytes" else hexmask.long.word 0x08 4.--13. 1. " R_BUF_SIZE ,Receive buffer size in bytes" endif group.long 0x190++0x23 line.long 0x00 "RSFL,Receive FIFO Section Full Threshold Register" hexmask.long.byte 0x00 0.--7. 1. " RX_SECTION_FULL ,Value of receive FIFO section full threshold" line.long 0x04 "RSEM,Receive FIFO Section Empty Threshold Register" sif cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*VLQ*")||cpuis("MK60*VMD*")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x04 16.--20. " STAT_SECTION_EMPTY ,RX Status FIFO section empty threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline endif hexmask.long.byte 0x04 0.--7. 1. " RX_SECTION_EMPTY ,Value of the receive FIFO section empty threshold" line.long 0x08 "RAEM,Receive FIFO Almost Empty Threshold Register" hexmask.long.byte 0x08 0.--7. 1. " RX_ALMOST_EMPTY ,Value of the receive FIFO almost empty threshold" line.long 0x0c "RAFL,Receive FIFO Almost Full Threshold Register" hexmask.long.byte 0x0c 0.--7. 1. " RX_ALMOST_FULL ,Value of the receive FIFO almost full threshold" line.long 0x10 "TSEM,Transmit FIFO Section Empty Threshold Register" hexmask.long.byte 0x10 0.--7. 1. " TX_SECTION_EMPTY ,Value of the transmit FIFO section empty threshold" line.long 0x14 "TAEM,Transmit FIFO Almost Empty Threshold Register" hexmask.long.byte 0x14 0.--7. 1. " TX_ALMOST_EMPTY ,Value of the transmit FIFO almost empty threshold" line.long 0x18 "TAFL,Transmit FIFO Almost Full Threshold Register" hexmask.long.byte 0x18 0.--7. 1. " TX_ALMOST_FULL ,Value of the transmit FIFO almost full threshold" line.long 0x1C "TIPG,Transmit Inter-Packet Gap Register" sif cpuis("MK70*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*VLQ*")||cpuis("MK60*VMD*")||cpuis("KK60FN1M0VLQ15")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x1c 0.--4. " IPG ,Transmit inter-packet gap" "12,12,12,12,12,12,12,12,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,12,12,12,12,12" else bitfld.long 0x1c 0.--4. " IPG ,Transmit inter-packet gap" "8,8,8,8,8,8,8,8,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,27,27,27,27" endif line.long 0x20 "FTRL,Frame Truncation Length Register" hexmask.long.word 0x20 0.--13. 1. " TRUNC_FL ,Frame truncation length" group.long 0x1C0++0x07 line.long 0x00 "TACC,Transmit Accelerator Function Configuration Register" bitfld.long 0x00 4. " PROCHK ,Insertion of protocol checksum enable" "Disabled,Enabled" bitfld.long 0x00 3. " IPCHK ,Insertion of IP header checksum enable" "Disabled,Enabled" bitfld.long 0x00 0. " SHIFT16 ,TX FIFO shift-16 enable" "Disabled,Enabled" line.long 0x04 "RACC,Receive Accelerator Function Configuration Register" bitfld.long 0x04 7. " SHIFT16 ,RX FIFO shift-16 enable" "Disabled,Enabled" bitfld.long 0x04 6. " LINEDIS ,Discard of frames with MAC layer errors enable" "Disabled,Enabled" bitfld.long 0x04 2. " PRODIS ,Discard of frames with wrong protocol checksum enable" "Disabled,Enabled" bitfld.long 0x04 1. " IPDIS ,Discard of frames with wrong IPv4 header checksum enable" "Disabled,Enabled" newline bitfld.long 0x04 0. " PADREM ,Padding removal for short IP frames enable" "Disabled,Enabled" tree.end tree "1588 Timer" group.long 0x400++0x17 line.long 0x00 "ATCR,Timer Control Register" bitfld.long 0x00 13. " SLAVE ,Enable timer slave mode" "Disabled,Enabled" bitfld.long 0x00 11. " CAPTURE ,Capture timer value" "Not captured,Captured" bitfld.long 0x00 9. " RESTART ,Reset timer" "No reset,Reset" bitfld.long 0x00 7. " PINPER ,Enables MAC output assertion on period event" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEREN ,Enable periodical event" "Disabled,Enabled" bitfld.long 0x00 3. " OFFRST ,Reset timer on offset event" "No reset,Reset" bitfld.long 0x00 2. " OFFEN ,Enable one-shot offset event" "Disabled,Enabled" bitfld.long 0x00 0. " EN ,Enable timer" "Disabled,Enabled" line.long 0x04 "ATVR,Timer Value Register" line.long 0x08 "ATOFF,Timer Offset Register" line.long 0x0c "ATPER,Timer Period Register" line.long 0x10 "ATCOR,Timer Correction Register" hexmask.long 0x10 0.--30. 1. " COR ,Correction counter wrap-around value" line.long 0x14 "ATINC,Time-Stamping Clock Period Register" hexmask.long.byte 0x14 8.--14. 1. " INC_CORR ,Correction increment value" hexmask.long.byte 0x14 0.--6. 1. " INC ,Clock period of the timestamping clock (ts_clk) in ns" if ((per.l(ad:0x400C0000+0x4)&0x10000)==0x10000) group.long 0x418++0x3 line.long 0x00 "ATSTMP,Timestamp of Last Transmitted Frame Register" else hgroup.long 0x418++0x3 hide.long 0x00 "ATSTMP,Timestamp of Last Transmitted Frame Register" endif tree.end tree "Capture/Compare Block" width 8. group.long 0x604++0x03 line.long 0x00 "TGSR,Timer Global Status Register" eventfld.long 0x00 3. " TF3 ,Copy of timer flag for channel 3" "Cleared,Set" eventfld.long 0x00 2. " TF2 ,Copy of timer flag for channel 2" "Cleared,Set" eventfld.long 0x00 1. " TF1 ,Copy of timer flag for channel 1" "Cleared,Set" eventfld.long 0x00 0. " TF0 ,Copy of timer flag for channel 0" "Cleared,Set" newline group.long 0x608++0x07 line.long 0x00 "TCSR0,Timer Control Status Register 0" eventfld.long 0x00 7. " TF ,Timer flag" "Not occurred,Occurred" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " TMODE ,Timer mode" "Disabled,Input Capture on rising edge,Input Capture on falling edge,Input Capture on both edges,Output Compare - software only,Output Compare - toggle on compare,Output Compare - clear on compare,Output Compare - set on compare,,Output Compare - set on compare/clear on overflow,Output Compare - clear on compare/set on overflow,Output Compare - set on compare/clear on overflow,,,Output Compare - pulse low on compare for one 1588 clock cycle,Output Compare - pulse high on compare for one 1588 clock cycle" newline bitfld.long 0x00 0. " TDRE ,Timer DMA request enable" "Disabled,Enabled" line.long 0x04 "TCCR0,Timer Compare Capture Register 0" group.long 0x610++0x07 line.long 0x00 "TCSR1,Timer Control Status Register 1" eventfld.long 0x00 7. " TF ,Timer flag" "Not occurred,Occurred" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " TMODE ,Timer mode" "Disabled,Input Capture on rising edge,Input Capture on falling edge,Input Capture on both edges,Output Compare - software only,Output Compare - toggle on compare,Output Compare - clear on compare,Output Compare - set on compare,,Output Compare - set on compare/clear on overflow,Output Compare - clear on compare/set on overflow,Output Compare - set on compare/clear on overflow,,,Output Compare - pulse low on compare for one 1588 clock cycle,Output Compare - pulse high on compare for one 1588 clock cycle" newline bitfld.long 0x00 0. " TDRE ,Timer DMA request enable" "Disabled,Enabled" line.long 0x04 "TCCR1,Timer Compare Capture Register 1" group.long 0x618++0x07 line.long 0x00 "TCSR2,Timer Control Status Register 2" eventfld.long 0x00 7. " TF ,Timer flag" "Not occurred,Occurred" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " TMODE ,Timer mode" "Disabled,Input Capture on rising edge,Input Capture on falling edge,Input Capture on both edges,Output Compare - software only,Output Compare - toggle on compare,Output Compare - clear on compare,Output Compare - set on compare,,Output Compare - set on compare/clear on overflow,Output Compare - clear on compare/set on overflow,Output Compare - set on compare/clear on overflow,,,Output Compare - pulse low on compare for one 1588 clock cycle,Output Compare - pulse high on compare for one 1588 clock cycle" newline bitfld.long 0x00 0. " TDRE ,Timer DMA request enable" "Disabled,Enabled" line.long 0x04 "TCCR2,Timer Compare Capture Register 2" group.long 0x620++0x07 line.long 0x00 "TCSR3,Timer Control Status Register 3" eventfld.long 0x00 7. " TF ,Timer flag" "Not occurred,Occurred" bitfld.long 0x00 6. " TIE ,Timer interrupt enable" "Disabled,Enabled" bitfld.long 0x00 2.--5. " TMODE ,Timer mode" "Disabled,Input Capture on rising edge,Input Capture on falling edge,Input Capture on both edges,Output Compare - software only,Output Compare - toggle on compare,Output Compare - clear on compare,Output Compare - set on compare,,Output Compare - set on compare/clear on overflow,Output Compare - clear on compare/set on overflow,Output Compare - set on compare/clear on overflow,,,Output Compare - pulse low on compare for one 1588 clock cycle,Output Compare - pulse high on compare for one 1588 clock cycle" newline bitfld.long 0x00 0. " TDRE ,Timer DMA request enable" "Disabled,Enabled" line.long 0x04 "TCCR3,Timer Compare Capture Register 3" tree.end sif (!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")) tree "Statistic Event Counters" width 20. sif (cpuis("MK70*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*")) base ad:0x400C0000+0x204 else base ad:0x400C0000+0x200 endif rgroup.long 0x00++0x43 line.long 0x00 "RMON_T_PACKETS,RMON Tx Packet Count Register" hexmask.long.word 0x00 0.--15. 1. " RMON_T_PACKETS ,RMON Tx packet count" line.long 0x04 "RMON_T_BC_PKT,RMON Tx Broadcast Packets Register" hexmask.long.word 0x04 0.--15. 1. " RMON_T_BC_PKT ,RMON Tx broadcast packets" line.long 0x08 "RMON_T_MC_PKT,RMON Tx Multicast Packets Register" hexmask.long.word 0x08 0.--15. 1. " RMON_T_MC_PKT ,RMON Tx multicast packets" line.long 0x0C "RMON_T_CRC_ALIGN,RMON Tx Packets CRC/Align Error Register" hexmask.long.word 0x0C 0.--15. 1. " RMON_T_CRC_ALIGN ,RMON Tx packets crc/align error" line.long 0x10 "RMON_T_UNDERSIZE,RMON Tx Packets 64 bytes Good CRC Register" hexmask.long.word 0x10 0.--15. 1. " RMON_T_UNDERSIZE ,RMON Tx packets 64 bytes good CRC" line.long 0x14 "RMON_T_OVERSIZE,Good CRC Register" hexmask.long.word 0x14 0.--15. 1. " RMON_T_OVERSIZE ,Good CRC" line.long 0x18 "RMON_T_FRAG,Bad CRC Register" hexmask.long.word 0x18 0.--15. 1. " RMON_T_FRAG ,Bad CRC" line.long 0x1C "RMON_T_JAB,Bad CRC Register" hexmask.long.word 0x1C 0.--15. 1. " RMON_T_JAB ,Bad CRC" line.long 0x20 "RMON_T_COL,RMON Tx Collision Count Register" hexmask.long.word 0x20 0.--15. 1. " RMON_T_COL ,RMON Tx collision count" line.long 0x24 "RMON_T_P64,RMON Tx 64 Byte Packets Register" hexmask.long.word 0x24 0.--15. 1. " RMON_T_P64 ,RMON Tx 64 byte packets" line.long 0x28 "RMON_T_P65TO127,RMON Tx 65 to 127 Byte Packets Register" hexmask.long.word 0x28 0.--15. 1. " RMON_T_P65TO127n ,RMON Tx 65 to 127 byte packets" line.long 0x2C "RMON_T_P128TO255,RMON Tx 128 to 255 Byte Packets Register" hexmask.long.word 0x2C 0.--15. 1. " RMON_T_P128TO255n ,RMON Tx 128 to 255 byte packets" line.long 0x30 "RMON_T_P256TO511,RMON Tx 256 to 511 Byte Packets Register" hexmask.long.word 0x30 0.--15. 1. " RMON_T_P256TO511 ,RMON Tx 256 to 511 byte packets" line.long 0x34 "RMON_T_P512TO1023,RMON Tx 512 to 1023 Byte Packets Register" hexmask.long.word 0x34 0.--15. 1. " RMON_T_P512TO1023 ,RMON Tx 512 to 1023 byte packets" line.long 0x38 "RMON_T_P1024TO2047,RMON Tx 1024 to 2047 Byte Packets Register" hexmask.long.word 0x38 0.--15. 1. " RMON_T_P1024TO2047 ,RMON Tx 1024 to 2047 byte packets" line.long 0x3C "RMON_T_P_GTE2048,RMON Tx Packets 2048 Bytes Register" hexmask.long.word 0x3C 0.--15. 1. " RMON_T_P_GTE2048 ,RMON Tx packets 2048 bytes" line.long 0x40 "RMON_T_OCTETS,RMON Tx Octets Register" sif (!cpuis("MK70*")&&!cpuis("MK66*")&&!cpuis("MK65*")&&!cpuis("MK63*")&&!cpuis("MK60*")) rgroup.long 0x48++0x03 line.long 0x00 "IEEE_T_DROP,Count of Frames Not Counted Correctly Register" hexmask.long.word 0x00 0.--15. 1. " IEEE_T_DROP ,Count of frames not counted correctly" endif base ad:0x400C0000+0x200 rgroup.long 0x4C++0x2F line.long 0x00 "IEEE_T_FRAME_OK,Frames Transmitted OK Register" hexmask.long.word 0x00 0.--15. 1. " IEEE_T_FRAME_OK ,Frames transmitted OK" line.long 0x04 "IEEE_T_1COL,Frames Transmitted with Single Collision Register" hexmask.long.word 0x04 0.--15. 1. " IEEE_T_1COL ,Frames transmitted with single collision" line.long 0x08 "IEEE_T_MCOL,Frames Transmitted with Multiple Collisions Register" hexmask.long.word 0x08 0.--15. 1. " IEEE_T_MCOL ,Frames transmitted with multiple collisions" line.long 0x0C "IEEE_T_DEF,Frames Transmitted after Deferral Delay Register" hexmask.long.word 0x0C 0.--15. 1. " IEEE_T_DEF ,Frames transmitted after deferral delay" line.long 0x10 "IEEE_T_LCOL,Frames Transmitted with Late Collision Register" hexmask.long.word 0x10 0.--15. 1. " IEEE_T_LCOL ,Frames transmitted with late collision" line.long 0x14 "IEEE_T_EXCOL,Frames Transmitted with Excessive Collisions Register" hexmask.long.word 0x14 0.--15. 1. " IEEE_T_EX-COL ,Frames transmitted with excessive collisions" line.long 0x18 "IEEE_T_MACERR,Frames Transmitted with Tx FIFO Underrun Register" hexmask.long.word 0x18 0.--15. 1. " IEEE_T_MAC-ERR ,Frames transmitted with Tx FIFO underrun" line.long 0x1C "IEEE_T_CSERR,Frames Transmitted with Carrier Sense Error Register" hexmask.long.word 0x1C 0.--15. 1. " IEEE_T_CSERR ,Frames transmitted with carrier sense error" line.long 0x20 "IEEE_T_SQE,Frames Transmitted with SQE Error Register" hexmask.long.word 0x20 0.--15. 1. " IEEE_T_SQE ,Frames transmitted with SQE error" line.long 0x24 "IEEE_T_FDXFC,Flow Control Pause Frames Transmitted Register" hexmask.long.word 0x24 0.--15. 1. " IEEE_T_FDXFC ,Flow control pause frames transmitted" line.long 0x28 "IEEE_T_OCTETS_OK,Octet Count for Frames Transmitted Error Register" line.long 0x2C "RMON_R_PACKETS,RMON Rx Packet Count Register" hexmask.long.word 0x2C 0.--15. 1. " RMON_R_PACKETS ,RMON Rx packet count" sif (cpuis("MK70*")||cpuis("MK66*")||cpuis("MK65*")||cpuis("MK63*")||cpuis("MK60*")) base ad:0x400C0000+0x204 else base ad:0x400C0000+0x200 endif rgroup.long 0x84++0x1B line.long 0x00 "RMON_R_BC_PKT,RMON Rx Broadcast Packets Register" hexmask.long.word 0x00 0.--15. 1. " RMON_R_BC_PKT ,RMON Rx broadcast packets" line.long 0x04 "RMON_R_MC_PKT,RMON Rx Multicast Packets Register" hexmask.long.word 0x04 0.--15. 1. " RMON_R_MC_PKT ,RMON Rx multicast packets" line.long 0x08 "RMON_R_CRC_ALIGN,RMON Rx Packets CRC/Align Error Register" hexmask.long.word 0x08 0.--15. 1. " RMON_R_CRC_ALIGN ,RMON Rx packets crc/align error" line.long 0x0c "RMON_R_UNDERSIZE,Good CRC Register" hexmask.long.word 0x0C 0.--15. 1. " RMON_R_UNDERSIZE ,Good CRC" line.long 0x10 "RMON_R_OVERSIZE,Good CRC Register" hexmask.long.word 0x10 0.--15. 1. " RMON_R_OVERSIZE ,Good CR" line.long 0x14 "RMON_R_FRAG,Bad CRC Register" hexmask.long.word 0x14 0.--15. 1. " RMON_R_FRAG ,Bad CRC" line.long 0x18 "RMON_R_JAB,Bad CRC Register" hexmask.long.word 0x18 0.--15. 1. " RMON_R_JAB ,Bad CRC" rgroup.long 0xA4++0x3B line.long 0x00 "RMON_R_P64,RMON Rx 64 Byte Packets Register" hexmask.long.word 0x00 0.--15. 1. " RMON_R_P64 ,RMON Rx 64 byte packets" line.long 0x04 "RMON_R_P65TO127,RMON Rx 65 to 127 Byte Packets Register" hexmask.long.word 0x04 0.--15. 1. " RMON_R_P65TO127 ,RMON Rx 65 to 127 byte packets" line.long 0x08 "RMON_R_P128TO255,RMON Rx 128 to 255 Byte Packets Register" hexmask.long.word 0x08 0.--15. 1. " RMON_R_P128TO255 ,RMON Rx 128 to 255 byte packets" line.long 0x0C "RMON_R_P256TO511,RMON Rx 256 to 511 Byte Packets Register" hexmask.long.word 0x0C 0.--15. 1. " RMON_R_P256TO511 ,RMON Rx 256 to 511 byte packets" line.long 0x10 "RMON_R_P512TO1023,RMON Rx 512 to 1023 Byte Packets Register" hexmask.long.word 0x10 0.--15. 1. " RMON_R_P512TO1023 ,RMON Rx 512 to 1023 byte packets" line.long 0x14 "RMON_R_P1024TO2047,RMON Rx 1024 to 2047 Byte Backets Register" hexmask.long.word 0x14 0.--15. 1. " RMON_R_P1024TO2047 ,RMON Rx 1024 to 2047 byte packets" line.long 0x18 "RMON_R_P_GTE2048,RMON Rx Packets 2048 Bytes Register" hexmask.long.word 0x18 0.--15. 1. " RMON_R_P_GTE2048 ,RMON Rx packets 2048 bytes" line.long 0x1C "RMON_R_OCTETS,RMON Rx Octets Register" line.long 0x20 "IEEE_R_DROP,Count of Frames Not Counted Correctly Register" hexmask.long.word 0x20 0.--15. 1. " IEEE_R_DROP ,Count of frames not counted correctly" line.long 0x24 "IEEE_R_FRAME_OK,Frames Received OK Register" hexmask.long.word 0x24 0.--15. 1. " IEEE_R_FRAME_OK ,Frames received OK" line.long 0x28 "IEEE_R_CRC,Frames Received with CRC Error Register" hexmask.long.word 0x28 0.--15. 1. " IEEE_R_CRC ,Frames received with CRC error" line.long 0x2C "IEEE_R_ALIGN,Frames Received with Alignment Error Register" hexmask.long.word 0x2C 0.--15. 1. " IEEE_R_ALIGN ,Frames received with alignment error" line.long 0x30 "IEEE_R_MACERR,Receive Fifo Overflow Count Register" hexmask.long.word 0x30 0.--15. 1. " IEEE_R_MACERR ,Receive Fifo overflow count" line.long 0x34 "IEEE_R_FDXFC,Flow Control Pause Frames Received Register" hexmask.long.word 0x34 0.--15. 1. " IEEE_R_FDXFC ,Flow control pause frames received" line.long 0x38 "IEEE_R_OCTETS_OK,Octet Count for Frames Rcvd Error Register" tree.end endif width 11. tree.end endif tree "USBOTG (Universal Serial Bus OTG Controller)" base ad:0x40072000 width 10. rgroup.byte 0x00++0x00 line.byte 0x00 "PERID,Peripheral ID Register" hexmask.byte 0x00 0.--5. 1. " ID ,Peripheral identification" rgroup.byte 0x04++0x00 line.byte 0x00 "IDCOMP,Peripheral ID Complement Register" hexmask.byte 0x00 0.--5. 1. " NID ,Ones complement of peripheral identification" rgroup.byte 0x08++0x00 line.byte 0x00 "REV,Peripheral Revision Register" rgroup.byte 0x0C++0x00 line.byte 0x00 "ADDINFO,Peripheral Additional Info Register" sif !cpuis("MK26FN*")&&!cpuis("MK22FN128*")&&!cpuis("MK22FN256*")&&!cpuis("MK21F*AVMC12")&&!cpuis("MK21D*AVMC5")&&!cpuis("MK21F*AVLQ12")&&!cpuis("MK21F*AVMD12")&&!cpuis("MK21D*AVLK5")&&!cpuis("MK65F*")&&!cpuis("MK66F*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK70FN1M0VMJ1*")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MKS2?FN???V??12")&&!cpuis("MK21D*AVMC5R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("KK22FN???C?P12R")&&!cpuis("MK22FN512VDC12*")&&!cpuis("MK22FN512VFX12*")&&!cpuis("MK22FN512VLH12R")&&!cpuis("KK22FN???CAH12R")&&!cpuis("MK22FN256VLL12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("KK26FN2M0CAC18R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("?K28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 3.--7. " IRQ_NUM ,Assigned interrupt request number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" newline endif bitfld.byte 0x00 0. " IEHOST ,Host mode enable" "Disabled,Enabled" sif cpuis("MK20DN512*AB10R")||cpuis("MK21D*AVLK5")||(cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12"))||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN256VDC12")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") sif cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R")||cpuis("MK63FN1M0VLQ12R") group.byte 0x10++0x00 line.byte 0x00 "OTGISTAT,OTG Interrupt Status Register" eventfld.byte 0x00 6. " ONE_MSEC ,1 millisecond timer expired interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 5. " LINE_STATE_CHG ,USB line state change interrupt" "No interrupt,Interrupt" elif cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R") group.byte 0x10++0x00 line.byte 0x00 "OTGISTAT,OTG Interrupt Status Register" bitfld.byte 0x00 7. " ID_CHG ,ID Signal from USB connector change interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 6. " ONE_MSEC ,1 millisecond timer expired interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 5. " LINE_STATE_CHG ,USB line state change interrupt" "No interrupt,Interrupt" newline bitfld.byte 0x00 3. " SESS_VLD_CHG ,VBUS change indicating session valid/invalid interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 2. " B_SESS_CHG ,VBUS change on B device interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 0. " A_VBUS_CHG ,VBUS change on A device interrupt" "No interrupt,Interrupt" else group.byte 0x10++0x00 line.byte 0x00 "OTGISTAT,OTG Interrupt Status Register" eventfld.byte 0x00 7. " ID_CHG ,ID signal from USB connector change interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 6. " ONE_MSEC ,1 millisecond timer expired interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 5. " LINE_STATE_CHG ,USB line state change interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 3. " SESS_VLD_CHG ,VBUS change indicating session valid/invalid interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 2. " B_SESS_CHG ,VBUS change on B device interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 0. " A_VBUS_CHG ,VBUS change on A device interrupt" "No interrupt,Interrupt" endif elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MKS2?FN???V??12")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x10++0x00 line.byte 0x00 "OTGISTAT,OTG Interrupt Status Register" eventfld.byte 0x00 6. " ONE_MSEC ,1 millisecond timer expired interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 5. " LINE_STATE_CHG ,USB line state change interrupt" "No interrupt,Interrupt" else group.byte 0x10++0x00 line.byte 0x00 "OTGISTAT,OTG Interrupt Status Register" bitfld.byte 0x00 7. " IDCHG ,ID signal from USB connector change interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 6. " ONEMSEC ,1 millisecond timer expired interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 5. " LINE_STATE_CHG ,USB line state change interrupt" "No interrupt,Interrupt" newline bitfld.byte 0x00 3. " SESSVLDCHG ,VBUS change indicating session valid/invalid interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 2. " B_SESS_CHG ,VBUS change on B device interrupt" "No interrupt,Interrupt" bitfld.byte 0x00 0. " AVBUSCHG ,VBUS change on A device interrupt" "No interrupt,Interrupt" endif sif cpuis("MK8?FN256V*") group.byte 0x14++0x00 line.byte 0x00 "OTGICR,OTG Interrupt Control Register" bitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_EN ,Line state change interrupt enable" "Disabled,Enabled" else group.byte 0x14++0x00 line.byte 0x00 "OTGICR,OTG Interrupt Control Register" bitfld.byte 0x00 7. " ID_EN ,ID interrupt enable" "Disabled,Enabled" newline sif !cpuis("MK84FN2M0CAU15R")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MKS2?FN???V??12")&&!cpuis("KK22FN???C?P12R")&&!cpuis("MK22FN512VDC12*")&&!cpuis("MK22FN512VFX12*")&&!cpuis("MK22FN512VLH12R")&&!cpuis("KK22FN???CAH12R")&&!cpuis("MK22FN256VLL12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("?K28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("MK63FN1M0VLQ12R") bitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_EN ,Line state change interrupt enable" "Disabled,Enabled" newline endif bitfld.byte 0x00 3. " SESS_VLD_EN ,Session valid interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " B_SESS_EN ,B session end interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " A_VBUS_EN ,A VBUS valid interrupt enable" "Disabled,Enabled" endif sif cpuis("MK20DN512*AB10R")||cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN256VDC12") sif !cpuis("MK22FX512AVLK12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FX512AVLH12") sif cpuis("MK22FN256VLL12R")||cpuis("MK22FN128VLH10R") group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" elif cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FX512AVLH12R") group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 7. " ID ,Current state of the ID pin on USB connector" "Type A cable,No/Type B cable" bitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" newline bitfld.byte 0x00 3. " SESS_VLD ,Session valid" "Invalid,Valid" bitfld.byte 0x00 2. " B_SESS_END ,B session end" "Not end,End" bitfld.byte 0x00 0. " A_VBUS_VLD ,A VBUS valid" "Invalid,Valid" else group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 7. " ID ,Current state of the ID pin on USB connector" "Type A cable,No/Type B cable" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" bitfld.byte 0x00 3. " SESS_VLD ,Session valid" "Below valid trsh,Above valid trsh" newline bitfld.byte 0x00 2. " B_SESS_END ,B Session end" "Above end trsh,Below end trsh" bitfld.byte 0x00 0. " A_VBUS_VLD ,A VBUS valid" "Below valid trsh,Above valid trsh" endif else group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 7. " ID ,Current state of the ID pin on USB connector" "Type A cable,No/Type B cable" bitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" newline bitfld.byte 0x00 3. " SESS_VLD ,Session valid" "Invalid,Valid" bitfld.byte 0x00 2. " B_SESS_END ,B session end" "Not end,End" bitfld.byte 0x00 0. " A_VBUS_VLD ,A VBUS valid" "Invalid,Valid" endif elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN128CAH12R")||cpuis("MK22FN256CAH12R")||cpuis("MK22FN256CAP12R")||cpuis("MK22FN256VMP12")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MKS2?FN???V??12")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" elif cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FX512AVLH12")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10") group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 7. " ID ,Current state of the ID pin on USB connector" "Type A cable,No/Type B cable" rbitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" newline bitfld.byte 0x00 3. " SESS_VLD ,Session valid" "Invalid,Valid" bitfld.byte 0x00 2. " B_SESS_END ,B session end" "Not end,End" bitfld.byte 0x00 0. " A_VBUS_VLD ,A VBUS valid" "Invalid,Valid" elif cpuis("MK63FN1M0VLQ12R") group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 6. " ONEMSECEN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINESTATESTABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" else group.byte 0x18++0x00 line.byte 0x00 "OTGSTAT,OTG Status Register" bitfld.byte 0x00 7. " ID ,Current state of the ID pin on USB connector" "Type A cable,No/Type B cable" bitfld.byte 0x00 6. " ONE_MSEC_EN ,1 millisecond interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " LINE_STATE_STABLE ,LINE_STATE_CHG bit stable" "Not stable,Stable" newline bitfld.byte 0x00 3. " SESS_VLD ,Session valid" "Invalid,Valid" bitfld.byte 0x00 2. " B_SESS_END ,B session end" "Not end,End" bitfld.byte 0x00 0. " A_VBUS_VLD ,A VBUS valid" "Invalid,Valid" endif sif cpuis("MK20DN512*AB10R")||cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63*")||cpuis("MK64*")||cpuis("MK65*")||cpuis("MK66*")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK40*Z*10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("MKS2?FN???V??12")||cpuis("KK22FN???CAH12R")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK27FN2M0VMI15")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x1C++0x00 line.byte 0x00 "OTGCTL,OTG Control Register" bitfld.byte 0x00 7. " DP_HIGH ,D+ data line pull-up resistor enable" "Disabled,Enabled" bitfld.byte 0x00 5. " DP_LOW ,D+ data line pull-down resistor enable" "Disabled,Enabled" bitfld.byte 0x00 4. " DM_LOW ,D- data line pull-down resistor enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " OTG_EN ,On-The-Go pull-up/pull-down resistor enable" "D+ D- pull-down,Controlled by DP & DM" else group.byte 0x1C++0x00 line.byte 0x00 "OTGCTL,OTG Control Register" bitfld.byte 0x00 7. " DP_HIGH ,D+ data line pull-up resistor enable" "Disabled,Enabled" bitfld.byte 0x00 5. " DP_LOW ,D+ data line pull-down resistor enable" "Disabled,Enabled" bitfld.byte 0x00 4. " DM_LOW ,D- data line pull-down resistor enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " OTG_EN ,On-The-Go pull-up/pull-down resistor enable" "D+ pull-up,Controlled by DP & DM" endif else group.byte 0x1C++0x00 line.byte 0x00 "OTGCTL,OTG Control Register" bitfld.byte 0x00 7. " DP_HIGH ,D+ data line pull-up resistor enable" "Disabled,Enabled" bitfld.byte 0x00 5. " DP_LOW ,D+ data line pull-down resistor enable" "Disabled,Enabled" bitfld.byte 0x00 4. " DM_LOW ,D- data line pull-down resistor enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " OTG_EN ,On-The-Go pull-up/pull-down resistor enable" "Disabled,Enabled" endif sif cpuis("MK20DN512*AB10R")||cpuis("MK27FN2M0VMI15")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FX512VMC12R")||cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK40D*Z*")||cpuis("MKS2?FN???V??12")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x80++0x00 line.byte 0x00 "ISTAT,Interrupt Status Register" eventfld.byte 0x00 7. " STALL ,Stall interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 6. " ATTACH ,Attach interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 5. " RESUME ,Signal remote wake-up signaling interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 4. " SLEEP ,Idle on USB bus (for 3ms) interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 3. " TOKDNE ,Token completed interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 2. " SOF_TOK ,Start of frame token interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 1. " ERROR ,Error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 0. " USB_RST ,USB reset interrupt" "No interrupt,Interrupt" group.byte 0x84++0x00 line.byte 0x00 "INTEN,Interrupt Enable Register" bitfld.byte 0x00 7. " STALL_EN ,STALL interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 6. " ATTACH_EN ,ATTACH interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " RESUME_EN ,RESUME interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " SLEEP_EN ,SLEEP interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " TOK_DNE_EN ,TOK_DNE interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " SOF_TOK_EN ,SOF_TOK interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " ERROR_EN ,ERROR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " USB_RST_EN ,USB_RST interrupt enable" "Disabled,Enabled" group.byte 0x88++0x00 line.byte 0x00 "ERRSTAT,Error Interrupt Status Register" eventfld.byte 0x00 7. " BTS_ERR ,Bit stuff error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 5. " DMA_ERR ,DMA error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 4. " BTO_ERR ,Bus turnaround timeout error interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 3. " DFN8 ,Data received was not 8 bits in length interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 2. " CRC16 ,CRC16 error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 1. " EOF ,End of frame error interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 0. " PID_ERR ,PID check failed interrupt" "No interrupt,Interrupt" group.byte 0x8C++0x00 line.byte 0x00 "ERREN,Error Interrupt Enable Register" bitfld.byte 0x00 7. " BTS_ERR_EN ,BTS_ERR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " DMA_ERR_EN ,DMA_ERR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 4. " BTO_ERR_EN ,BTO_ERR interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 3. " DFN8_EN ,DFN8 interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " CRC16_EN ,CRC16 interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 1. " EOF_EN ,CRC5/EOF interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " PID_ERR_EN ,PID_ERR interrupt enable" "Disabled,Enabled" else group.byte 0x80++0x00 line.byte 0x00 "ISTAT,Interrupt Status Register" eventfld.byte 0x00 7. " STALL ,Stall interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 5. " RESUME ,Signal remote wake-up signaling interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 4. " SLEEP ,Idle on USB bus (for 3ms) interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 3. " TOKDNE ,Token completed interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 2. " SOF_TOK ,Start of frame token interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 1. " ERROR ,Error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 0. " USB_RST ,USB reset interrupt" "No interrupt,Interrupt" group.byte 0x84++0x00 line.byte 0x00 "INTEN,Interrupt Enable Register" bitfld.byte 0x00 7. " STALL_EN ,STALL interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 6. " ATTACH_EN ,ATTACH interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " RESUME_EN ,RESUME interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " SLEEP_EN ,SLEEP interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " TOK_DNE_EN ,TOK_DNE interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " SOF_TOK_EN ,SOF_TOK interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " ERROR_EN ,ERROR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " USB_RST_EN ,USB_RST interrupt enable" "Disabled,Enabled" group.byte 0x88++0x00 line.byte 0x00 "ERRSTAT,Error Interrupt Status Register" eventfld.byte 0x00 7. " BTS_ERR ,Bit stuff error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 5. " DMA_ERR ,DMA error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 4. " BTO ,Bus turnaround timeout error interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 3. " DFN8 ,Data received was not 8 bits in length interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 2. " CRC16 ,CRC16 error interrupt" "No interrupt,Interrupt" eventfld.byte 0x00 1. " CRC5 ,CRC5 error interrupt" "No interrupt,Interrupt" newline eventfld.byte 0x00 0. " PID_ERR ,PID check failed interrupt" "No interrupt,Interrupt" group.byte 0x8C++0x00 line.byte 0x00 "ERREN,Error Interrupt Enable Register" bitfld.byte 0x00 7. " BTS_ERR_EN ,BTS_ERR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 5. " DMA_ERR_EN ,DMA_ERR interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 4. " BTO_ERR_EN ,BTO_ERR interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 3. " DFN8_EN ,DFN8 interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " CRC16_EN ,CRC16 interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 1. " CRC5_EN ,CRC5/EOF interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " PID_ERR_EN ,PID_ERR interrupt enable" "Disabled,Enabled" endif endif sif cpuis("MK20DN512*AB10R")||cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FX512AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FX512AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FX512AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FX512AVLQ12")||cpuis("MK22FX512AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK40*Z*10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MKS2?FN???V??12")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if (((per.b(ad:0x40072000+0x80))&0x08)==0x08) rgroup.byte 0x90++0x00 line.byte 0x00 "STAT,Status Register" hexmask.byte 0x00 4.--7. 0x10 " ENDP ,Endpoint address" bitfld.byte 0x00 3. " TX ,Receive/Transmit indicator" "Receive,Transmit" bitfld.byte 0x00 2. " ODD ,Last buffer descriptor in odd bank of BDT" "Even,Odd" else hgroup.byte 0x90++0x00 hide.byte 0x00 "STAT,Status Register" endif elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if ((per.b(ad:0x40072000+0x80)&0x08)==0x08) rgroup.byte 0x90++0x00 line.byte 0x00 "STAT,Status Register" hexmask.byte 0x00 4.--7. 0x10 " ENDP ,Endpoint address" bitfld.byte 0x00 3. " TX ,Transmit indicator" "Receive,Transmit" bitfld.byte 0x00 2. " ODD ,Last buffer descriptor in odd bank of BDT" "Even,Odd" else hgroup.byte 0x90++0x00 hide.byte 0x00 "STAT,Status Register" in endif else if ((per.b(ad:0x40072000+0x80)&0x08)==0x08) rgroup.byte 0x90++0x00 line.byte 0x00 "STAT,Status Register" hexmask.byte 0x00 4.--7. 0x10 " ENDP ,Endpoint address" bitfld.byte 0x00 3. " TX ,Transmit indicator" "Receive,Transmit" bitfld.byte 0x00 2. " ODD ,Last buffer descriptor in odd bank of BDT" "Even,Odd" else hgroup.byte 0x90++0x00 hide.byte 0x00 "STAT,Status Register" endif endif if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x94++0x00 line.byte 0x00 "CTL,Control Register" bitfld.byte 0x00 7. " JSTATE ,Live USB differential receiver JSTATE signal" "Low,High" bitfld.byte 0x00 6. " SE0 ,Live USB single ended zero signal" "Low,High" bitfld.byte 0x00 5. " TOKEN_BUSY ,USB module is busy executing a USB token" "Not busy,Busy" newline bitfld.byte 0x00 4. " RESET ,USB reset" "No reset,Reset" newline bitfld.byte 0x00 3. " HOST_MODE_EN ,Host mode enable" "Disabled,Enabled" bitfld.byte 0x00 2. " RESUME ,Resume signaling enable" "Disabled,Enabled" bitfld.byte 0x00 1. " ODD_RST ,BDT ODD ping/pong bits reset" "No reset,Reset" newline bitfld.byte 0x00 0. " USB_EN_SOF_EN ,USB enable" "Disabled,Enabled" else group.byte 0x94++0x00 line.byte 0x00 "CTL,Control Register" bitfld.byte 0x00 7. " JSTATE ,Live USB differential receiver JSTATE signal" "Low,High" bitfld.byte 0x00 6. " SE0 ,Live USB single ended zero signal" "Low,High" bitfld.byte 0x00 5. " TX_SUSPEND ,TXD_SUSPEND is set when the SIE has disabled packet transmission and reception" "No,Yes" newline newline bitfld.byte 0x00 3. " HOST_MODE_EN ,Host mode enable" "Disabled,Enabled" bitfld.byte 0x00 2. " RESUME ,Resume signaling enable" "Disabled,Enabled" bitfld.byte 0x00 1. " ODD_RST ,BDT ODD ping/pong bits reset" "No reset,Reset" newline bitfld.byte 0x00 0. " USB_EN_SOF_EN ,USB Enable" "Disabled,Enabled" endif group.byte 0x98++0x00 line.byte 0x00 "ADDR,Address Register" bitfld.byte 0x00 7. " LS_EN ,Low speed enable" "Disabled,Enabled" hexmask.byte 0x00 0.--6. 0x01 " ADDR ,USB address" group.byte 0x9C++0x00 line.byte 0x00 "BDTPAGE1,BDT Page Register 1" hexmask.byte 0x00 1.--7. 0x02 " BDT_BA[15:9] ,BDT base address bits [15:9]" group.byte 0xA0++0x00 line.byte 0x00 "FRMNUML,Frame Number Register Low" group.byte 0xA4++0x00 line.byte 0x00 "FRMNUMH,Frame Number Register High" bitfld.byte 0x00 0.--2. " FRM[10:8] ,Upper 3 bits of BDT system memory address" "0,1,2,3,4,5,6,7" sif cpuis("MK20DN512*AB10R")||cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63*")||cpuis("MK64*")||cpuis("MK65*")||cpuis("MK66*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK70FN1M0VMJ1*")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN1M0VMC10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK40*Z*10")||cpuis("MKS2?FN???V??12")||cpuis("MK20D????ZVLL10")||cpuis("MK20D????ZVLQ10*")||cpuis("MK20D????ZVMD10")||cpuis("MK20DN512ZVMC10*")||cpuis("MK20D????ZVLK10")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("MK21D*AVMC5R")||cpuis("MK21FN1M0AVMC12R")||cpuis("MK22FN1M0AVLK12R")||cpuis("KK22FN???C?P12R")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???CAH12R")||cpuis("MK22FN256VLL12R")||cpuis("MK22FN1M0VLQ12R")||cpuis("MK22FX512VLQ12R")||cpuis("MK22FX512VMD12R")||cpuis("MK22FN1M0VMC12R")||cpuis("MK22FX512VMC12R")||cpuis("MK22FN1M0VLK12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK65FN2M0CAC18R")||cpuis("KK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVLL10") if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) if (((per.b(ad:0x40072000+0x94))&0x20)==0x20) rgroup.byte 0xA8++0x00 line.byte 0x00 "TOKEN,Token Register" bitfld.byte 0x00 4.--7. " TOKEN_PID ,Token type" ",Out,,,,,,,,In,,,,Setup,?..." hexmask.byte 0x00 0.--3. 0x01 " TOKEN_ENDPT ,Endpoint address for the token command" else group.byte 0xA8++0x00 line.byte 0x00 "TOKEN,Token Register" bitfld.byte 0x00 4.--7. " TOKEN_PID ,Token type" ",Out,,,,,,,,In,,,,Setup,?..." hexmask.byte 0x00 0.--3. 0x01 " TOKEN_ENDPT ,Endpoint address for the token command" endif group.byte 0xAC++0x00 line.byte 0x00 "SOFTHLD,SOF Threshold Register" else hgroup.byte 0xA8++0x00 hide.byte 0x00 "TOKEN,Token Register" hgroup.byte 0xAC++0x00 hide.byte 0x00 "SOFTHLD,SOF Threshold Register" endif else if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0xA8++0x0 line.byte 0x00 "TOKEN,Token Register" bitfld.byte 0x00 4.--7. " TOKEN_PID ,Token type" ",Out,,,,,,,,In,,,,Setup,?..." bitfld.byte 0x00 0.--3. " TOKEN_ENDPT ,Endpoint address for the token command" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111" group.byte 0xAC++0x0 line.byte 0x00 "SOFTHLD,SOF Threshold Register" else hgroup.byte 0xA8++0x0 hide.byte 0x00 "TOKEN,Token Register" hgroup.byte 0xAC++0x0 hide.byte 0x00 "SOFTHLD,SOF Threshold Register" endif endif group.byte 0xB0++0x00 line.byte 0x00 "BDTPAGE2,BDT Page Register 2" group.byte 0xB4++0x00 line.byte 0x00 "BDTPAGE3,BDT Page Register 3" width 9. tree "Endpoints 0-15" if ((per.b(ad:0x40072000+0x94)&0x08)==0x08)&&((per.b(ad:0x40072000+0xC0)&0x0C)==0x0C) group.byte 0xC0++0x00 line.byte 0x00 "ENDPT0,Endpoint Control Register 0" bitfld.byte 0x00 7. " HOST_WO_HUB ,Host communicate to directly connected low speed device" "Not directly,Directly or no LS dev" bitfld.byte 0x00 6. " RETRY_DIS ,Negative hardware acknowledgment transactions retry disable" "No,Yes" newline bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif ((per.b(ad:0x40072000+0x94)&0x08)==0x00)&&((per.b(ad:0x40072000+0xC0)&0x0C)==0x0C) group.byte 0xC0++0x00 line.byte 0x00 "ENDPT0,Endpoint Control Register 0" newline bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif ((per.b(ad:0x40072000+0x94)&0x08)==0x08)&&((per.b(ad:0x40072000+0xC0)&0x0C)!=0x0C) group.byte 0xC0++0x00 line.byte 0x00 "ENDPT0,Endpoint Control Register 0" bitfld.byte 0x00 7. " HOST_WO_HUB ,Host communicate to directly connected low speed device" "Not directly,Directly or no LS dev" bitfld.byte 0x00 6. " RETRY_DIS ,Negative hardware acknowledgment transactions retry disable" "No,Yes" newline bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" newline else group.byte 0xC0++0x00 line.byte 0x00 "ENDPT0,Endpoint Control Register 0" newline bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xC4)&0x0C)==0x0C)) group.byte 0xC4++0x00 line.byte 0x00 "ENDPT1,Endpoint Control Register 1" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xC4)&0x0C)==0x08)||((per.b(ad:0x40072000+0xC4)&0x0C)==0x04)) group.byte 0xC4++0x00 line.byte 0x00 "ENDPT1,Endpoint Control Register 1" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xC4++0x00 line.byte 0x00 "ENDPT1,Endpoint Control Register 1" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xC8)&0x0C)==0x0C)) group.byte 0xC8++0x00 line.byte 0x00 "ENDPT2,Endpoint Control Register 2" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xC8)&0x0C)==0x08)||((per.b(ad:0x40072000+0xC8)&0x0C)==0x04)) group.byte 0xC8++0x00 line.byte 0x00 "ENDPT2,Endpoint Control Register 2" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xC8++0x00 line.byte 0x00 "ENDPT2,Endpoint Control Register 2" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xCC)&0x0C)==0x0C)) group.byte 0xCC++0x00 line.byte 0x00 "ENDPT3,Endpoint Control Register 3" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xCC)&0x0C)==0x08)||((per.b(ad:0x40072000+0xCC)&0x0C)==0x04)) group.byte 0xCC++0x00 line.byte 0x00 "ENDPT3,Endpoint Control Register 3" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xCC++0x00 line.byte 0x00 "ENDPT3,Endpoint Control Register 3" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xD0)&0x0C)==0x0C)) group.byte 0xD0++0x00 line.byte 0x00 "ENDPT4,Endpoint Control Register 4" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xD0)&0x0C)==0x08)||((per.b(ad:0x40072000+0xD0)&0x0C)==0x04)) group.byte 0xD0++0x00 line.byte 0x00 "ENDPT4,Endpoint Control Register 4" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xD0++0x00 line.byte 0x00 "ENDPT4,Endpoint Control Register 4" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xD4)&0x0C)==0x0C)) group.byte 0xD4++0x00 line.byte 0x00 "ENDPT5,Endpoint Control Register 5" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xD4)&0x0C)==0x08)||((per.b(ad:0x40072000+0xD4)&0x0C)==0x04)) group.byte 0xD4++0x00 line.byte 0x00 "ENDPT5,Endpoint Control Register 5" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xD4++0x00 line.byte 0x00 "ENDPT5,Endpoint Control Register 5" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xD8)&0x0C)==0x0C)) group.byte 0xD8++0x00 line.byte 0x00 "ENDPT6,Endpoint Control Register 6" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xD8)&0x0C)==0x08)||((per.b(ad:0x40072000+0xD8)&0x0C)==0x04)) group.byte 0xD8++0x00 line.byte 0x00 "ENDPT6,Endpoint Control Register 6" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xD8++0x00 line.byte 0x00 "ENDPT6,Endpoint Control Register 6" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xDC)&0x0C)==0x0C)) group.byte 0xDC++0x00 line.byte 0x00 "ENDPT7,Endpoint Control Register 7" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xDC)&0x0C)==0x08)||((per.b(ad:0x40072000+0xDC)&0x0C)==0x04)) group.byte 0xDC++0x00 line.byte 0x00 "ENDPT7,Endpoint Control Register 7" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xDC++0x00 line.byte 0x00 "ENDPT7,Endpoint Control Register 7" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xE0)&0x0C)==0x0C)) group.byte 0xE0++0x00 line.byte 0x00 "ENDPT8,Endpoint Control Register 8" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xE0)&0x0C)==0x08)||((per.b(ad:0x40072000+0xE0)&0x0C)==0x04)) group.byte 0xE0++0x00 line.byte 0x00 "ENDPT8,Endpoint Control Register 8" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xE0++0x00 line.byte 0x00 "ENDPT8,Endpoint Control Register 8" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xE4)&0x0C)==0x0C)) group.byte 0xE4++0x00 line.byte 0x00 "ENDPT9,Endpoint Control Register 9" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xE4)&0x0C)==0x08)||((per.b(ad:0x40072000+0xE4)&0x0C)==0x04)) group.byte 0xE4++0x00 line.byte 0x00 "ENDPT9,Endpoint Control Register 9" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xE4++0x00 line.byte 0x00 "ENDPT9,Endpoint Control Register 9" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xE8)&0x0C)==0x0C)) group.byte 0xE8++0x00 line.byte 0x00 "ENDPT10,Endpoint Control Register 10" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xE8)&0x0C)==0x08)||((per.b(ad:0x40072000+0xE8)&0x0C)==0x04)) group.byte 0xE8++0x00 line.byte 0x00 "ENDPT10,Endpoint Control Register 10" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xE8++0x00 line.byte 0x00 "ENDPT10,Endpoint Control Register 10" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xEC)&0x0C)==0x0C)) group.byte 0xEC++0x00 line.byte 0x00 "ENDPT11,Endpoint Control Register 11" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xEC)&0x0C)==0x08)||((per.b(ad:0x40072000+0xEC)&0x0C)==0x04)) group.byte 0xEC++0x00 line.byte 0x00 "ENDPT11,Endpoint Control Register 11" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xEC++0x00 line.byte 0x00 "ENDPT11,Endpoint Control Register 11" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xF0)&0x0C)==0x0C)) group.byte 0xF0++0x00 line.byte 0x00 "ENDPT12,Endpoint Control Register 12" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xF0)&0x0C)==0x08)||((per.b(ad:0x40072000+0xF0)&0x0C)==0x04)) group.byte 0xF0++0x00 line.byte 0x00 "ENDPT12,Endpoint Control Register 12" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xF0++0x00 line.byte 0x00 "ENDPT12,Endpoint Control Register 12" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xF4)&0x0C)==0x0C)) group.byte 0xF4++0x00 line.byte 0x00 "ENDPT13,Endpoint Control Register 13" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xF4)&0x0C)==0x08)||((per.b(ad:0x40072000+0xF4)&0x0C)==0x04)) group.byte 0xF4++0x00 line.byte 0x00 "ENDPT13,Endpoint Control Register 13" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xF4++0x00 line.byte 0x00 "ENDPT13,Endpoint Control Register 13" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xF8)&0x0C)==0x0C)) group.byte 0xF8++0x00 line.byte 0x00 "ENDPT14,Endpoint Control Register 14" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xF8)&0x0C)==0x08)||((per.b(ad:0x40072000+0xF8)&0x0C)==0x04)) group.byte 0xF8++0x00 line.byte 0x00 "ENDPT14,Endpoint Control Register 14" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xF8++0x00 line.byte 0x00 "ENDPT14,Endpoint Control Register 14" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif if (((per.b(ad:0x40072000+0xFC)&0x0C)==0x0C)) group.byte 0xFC++0x00 line.byte 0x00 "ENDPT15,Endpoint Control Register 15" bitfld.byte 0x00 4. " EP_CTL_DIS ,Control (SETUP) transfers disable" "No,Yes" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" elif (((per.b(ad:0x40072000+0xFC)&0x0C)==0x08)||((per.b(ad:0x40072000+0xFC)&0x0C)==0x04)) group.byte 0xFC++0x00 line.byte 0x00 "ENDPT15,Endpoint Control Register 15" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 1. " EP_STALL ,Endpoint stall" "Not stalled,Stalled" bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" else group.byte 0xFC++0x00 line.byte 0x00 "ENDPT15,Endpoint Control Register 15" bitfld.byte 0x00 3. " EP_RX_EN ,Endpoint RX transfers enable" "Disabled,Enabled" bitfld.byte 0x00 2. " EP_TX_EN ,Endpoint TX transfers enable" "Disabled,Enabled" newline bitfld.byte 0x00 0. " EP_HSHK ,Endpoint handshaking enable" "Disabled,Enabled" endif tree.end newline sif cpuis("MK28FN2M0CAU15R")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") if ((per.b(ad:0x40072000+0x100)&0x10)==0x10) group.byte 0x100++0x00 line.byte 0x00 "USBCTRL,USB Control Register" bitfld.byte 0x00 7. " SUSP ,USB transceiver suspend state" "Not suspended,Suspended" bitfld.byte 0x00 6. " PDE ,USB transceiver weak pull-downs enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " UARTSEL ,Selects USB signals to be used as UART signals" "Not used,Used" else group.byte 0x100++0x00 line.byte 0x00 "USBCTRL,USB Control Register" bitfld.byte 0x00 7. " SUSP ,USB transceiver suspend state" "Not suspended,Suspended" bitfld.byte 0x00 6. " PDE ,USB transceiver weak pull-downs enable" "Disabled,Enabled" newline bitfld.byte 0x00 5. " UARTCHLS ,UART signal channel select (USB DP/DM signals)" "UART TX/RX,UART RX/TX" bitfld.byte 0x00 4. " UARTSEL ,Selects USB signals to be used as UART signals" "Not used,Used" endif else group.byte 0x100++0x00 line.byte 0x00 "USBCTRL,USB Control Register" bitfld.byte 0x00 7. " SUSP ,USB transceiver suspend state" "Not suspended,Suspended" bitfld.byte 0x00 6. " PDE ,USB transceiver weak pull-downs enable" "Disabled,Enabled" sif !cpuis("MK20DX256VLQ10R")&&!cpuis("MK20FN1M0VLQ12R")&&!cpuis("MK20DX256VLK10R")&&!cpuis("MK21FX512VMD10")&&!cpuis("MK21FN1M0VMD10")&&!cpuis("MK21FN1M0VMC10")&&!cpuis("MK21FX512VMC10")&&!cpuis("MK20DX256VLK7R")&&!cpuis("MK20DX256VMC7R")&&!cpuis("MK22FN1M0AVLK12")&&!cpuis("MK22FX512AVLK12")&&!cpuis("MK22FN1M0VLK10")&&!cpuis("MK22FN1M0AVLL12")&&!cpuis("MK22FX512AVLL12")&&!cpuis("MK22FN1M0VLL10")&&!cpuis("MK22FN1M0AVMC12")&&!cpuis("MK22FX512AVMC12")&&!cpuis("MK22FN1M0AVLQ12")&&!cpuis("MK22FN1M0AVMD12")&&!cpuis("MK22FX512AVLQ12")&&!cpuis("MK22FX512AVMD12")&&!cpuis("MK22FN1M0VLQ10")&&!cpuis("MK22FX512AVLH12")&&!cpuis("MK22FN1M0AVLH12")&&!cpuis("MK22FN1M0VLH10")&&!cpuis("MK70FN1M0VMJ1*")&&!cpuis("MK22FN128CAH12R")&&!cpuis("MK22FN256CAH12R")&&!cpuis("MK22FN256CAP12R")&&!cpuis("MK22FN256VMP12")&&!cpuis("MK22FN512CAP12R")&&!cpuis("MK22FN512CBP12R")&&!cpuis("MK22FN512VDC12")&&!cpuis("MK22FN512VLH12")&&!cpuis("MK22FN512VLL12")&&!cpuis("MK22FN512VMP12")&&!cpuis("MK22FN1M0VMC10")&&!cpuis("MK20DN32VEX5")&&!cpuis("MK20DN64VEX5")&&!cpuis("MK20DN128VEX5")&&!cpuis("MK20DX32VEX5")&&!cpuis("MK20DX64VEX5")&&!cpuis("MK20DX128VEX5")&&!cpuis("MK20DX64VEX7")&&!cpuis("MK20DX128VEX7")&&!cpuis("MK20DX256VEX7")&&!cpuis("MK20DX64VMB7")&&!cpuis("MK20DX128VMB7")&&!cpuis("MK20DX256VMB7")&&!cpuis("MK24FN1M0CAJ12R")&&!cpuis("MK24FN1M0VDC12R")&&!cpuis("MK24FN1M0VLL12")&&!cpuis("MK24FN1M0VLL12R")&&!cpuis("MK24FN1M0VLQ12R")&&!cpuis("MK24FN256VDC12")&&!cpuis("MK40*Z*10")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK65FN2M0CAC18R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MK20D????ZVLQ10*")&&!cpuis("MK20D????ZVMD10")&&!cpuis("MK20D????ZVLL10")&&!cpuis("MK20DN512ZVMC10*")&&!cpuis("MK20D????ZVLK10")&&!cpuis("MK20DN512VLK10R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK21D*AVMC5R")&&!cpuis("MK21FN1M0AVMC12R")&&!cpuis("MK22FN1M0AVLK12R")&&!cpuis("KK22FN???C?P12R")&&!cpuis("MK22FN512VDC12*")&&!cpuis("MK22FN512VFX12*")&&!cpuis("MK22FN512VLH12R")&&!cpuis("KK22FN???CAH12R")&&!cpuis("MK22FN256VLL12R")&&!cpuis("MK22FN1M0VLQ12R")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("MK22FN1M0VMC12R")&&!cpuis("MK22FX512VMC12R")&&!cpuis("MK22FX512AVLH12R")&&!cpuis("MK22FN128VLH10R")&&!cpuis("MK22FN1M0VLK12R")&&!cpuis("KK26FN2M0CAC18R")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DX256ZCLQ10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("KK65FN2M0CAC18R") newline bitfld.byte 0x00 5. " UARTCHLS ,UART signal channel select (USB DP/DM signals)" "UART TX/RX,UART RX/TX" bitfld.byte 0x00 4. " UARTSEL ,Selects USB signals to be used as UART signals" "Not used,Used" endif endif rgroup.byte 0x104++0x00 line.byte 0x00 "OBSERVE,USB OTG Observe Register" bitfld.byte 0x00 7. " DP_PU ,D+ Pull up signal output observability" "Disabled,Enabled" bitfld.byte 0x00 6. " DP_PD ,D+ Pull down signal output observability" "Disabled,Enabled" bitfld.byte 0x00 4. " DM_PD ,D- Pull down signal output observability" "Disabled,Enabled" group.byte 0x108++0x00 line.byte 0x00 "CONTROL,USB OTG Control Register" bitfld.byte 0x00 4. " DPPULLUP_NONOTG ,DP Pull up in the USB OTG control" "Disabled,Enabled" sif (cpuis("MK6*"))||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("MK22FX512AVLH12R")||cpuis("KK26FN2M0CAC18R")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("MK22FN512VDC12R")||cpuis("MK22FN512VFX12")||cpuis("MK22FN512VFX12R")||cpuis("MK22FN512VLH12R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R") group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" sif !cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") rbitfld.byte 0x00 2. " USB_CLK_RECOVERY_INT ,Combined USB clock recovery interrupt status" "No interrupt,Interrupt" endif newline rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK28FN2M0CAU15R")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15")||cpuis("MKS20FN128VFT12")||cpuis("MKS20FN128VLH12")||cpuis("MKS20FN128VLL12")||cpuis("MKS20FN256VFT12")||cpuis("MKS20FN256VLH12")||cpuis("MKS20FN256VLL12")||cpuis("MKS22FN128VFT12")||cpuis("MKS22FN128VLH12")||cpuis("MKS22FN128VLL12")||cpuis("MKS22FN256VFT12")||cpuis("MKS22FN256VLH12")||cpuis("MKS22FN256VLL12") if ((per.b(ad:0x40072000+0x12C)&0x18)==0x18) group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" newline rbitfld.byte 0x00 4. " VFEDG_DET ,VREGIN falling edge interrupt detect" "Not detected,Detected" rbitfld.byte 0x00 3. " VREDG_DET ,VREGIN rising edge interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 2. " USB_CLK_RECOVERY_INT ,Combined USB clock recovery interrupt status" "No interrupt,Interrupt" rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" elif ((per.b(ad:0x40072000+0x12C)&0x18)==0x10) group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" newline rbitfld.byte 0x00 4. " VFEDG_DET ,VREGIN falling edge interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 2. " USB_CLK_RECOVERY_INT ,Combined USB clock recovery interrupt status" "No interrupt,Interrupt" rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" elif ((per.b(ad:0x40072000+0x12C)&0x18)==0x08) group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" newline rbitfld.byte 0x00 3. " VREDG_DET ,VREGIN rising edge interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 2. " USB_CLK_RECOVERY_INT ,Combined USB clock recovery interrupt status" "No interrupt,Interrupt" rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" else group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" newline newline rbitfld.byte 0x00 2. " USB_CLK_RECOVERY_INT ,Combined USB clock recovery interrupt status" "No interrupt,Interrupt" rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" newline rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" endif else group.byte 0x10C++0x00 line.byte 0x00 "USBTRC0,USB Transceiver Control Register 0" bitfld.byte 0x00 7. " USBRESET ,USB_OTG module hard reset" "No reset,Reset" bitfld.byte 0x00 5. " USBRESMEN ,Asynchronous resume interrupt enable" "Disabled,Enabled" newline rbitfld.byte 0x00 1. " SYNC_DET ,Synchronous USB interrupt detect" "Not detected,Detected" rbitfld.byte 0x00 0. " USB_RESUME_INT ,USB asynchronous interrupt" "No interrupt,Interrupt" endif newline width 14. sif cpuis("MK21D*AVLK5")||cpuis("MK21F*AVLQ12")||cpuis("MK21F*AVMD12")||cpuis("MK21D*AVMC5")||cpuis("MK21F*AVMC12")||cpuis("MK22FX512*")||cpuis("MK22FN256*")||cpuis("MK22FN128*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20FN1M0VLQ12R")||cpuis("MK20DX256VLK10R")||cpuis("MK20DX256VMC7R")||cpuis("MK20DX256VLK7R")||cpuis("MK21FX512VMD10")||cpuis("MK21FN1M0VMD10")||cpuis("MK21FN1M0VMC10")||cpuis("MK21FX512VMC10")||cpuis("MK22FN1M0AVLK12")||cpuis("MK22FN1M0VLK10")||cpuis("MK22FN1M0AVLL12")||cpuis("MK22FN1M0VLL10")||cpuis("MK22FN1M0AVMC12")||cpuis("MK22FN1M0AVLQ12")||cpuis("MK22FN1M0AVMD12")||cpuis("MK22FN1M0VLQ10")||cpuis("MK22FN1M0AVLH12")||cpuis("MK22FN1M0VLH10")||cpuis("MK20DN32VEX5")||cpuis("MK20DN64VEX5")||cpuis("MK20DN128VEX5")||cpuis("MK20DX32VEX5")||cpuis("MK20DX64VEX5")||cpuis("MK20DX128VEX5")||cpuis("MK20DX64VEX7")||cpuis("MK20DX128VEX7")||cpuis("MK20DX256VEX7")||cpuis("MK20DX64VMB7")||cpuis("MK20DX128VMB7")||cpuis("MK20DX256VMB7")||cpuis("MK24FN1M0CAJ12R")||cpuis("MK24FN1M0VDC12R")||cpuis("MK24FN1M0VLL12")||cpuis("MK24FN1M0VLL12R")||cpuis("MK24FN1M0VLQ12R")||cpuis("MK24FN256VDC12")||cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif cpuis("MK22FX512VMC12R")||cpuis("MK22FX512AVLH12R")||cpuis("MK22FN128VLH10R")||cpuis("MK22FN256VLL12R") group.byte 0x114++0x00 line.byte 0x00 "USBFRMADJUST,Frame Adjust Register" else if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x114++0x00 line.byte 0x00 "USBFRMADJUST,Frame Adjust Register" else hgroup.byte 0x114++0x00 hide.byte 0x00 "USBFRMADJUST,Frame Adjust Register" endif endif elif !cpuis("MK?0DN*AB10")&&!cpuis("MK20DN512ZCAB10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK20D????ZVLL10")&&!cpuis("MK20D????ZVLQ10*")&&!cpuis("MK20D????ZVMD10")&&!cpuis("MK20DN512ZVMC10*")&&!cpuis("MK20D????ZVLK10")&&!cpuis("MK22FX512VLQ12R")&&!cpuis("MK22FX512VMD12R")&&!cpuis("KK20DN512ZCAB10R")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("KK60DN512ZCAB10R") group.byte 0x114++0x00 line.byte 0x00 "USBFRMADJUST,Frame Adjust Register" endif sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("MK27FN2M0VMI15") if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x12C++0x00 line.byte 0x00 "MISCCTRL,Miscellaneous Control register" bitfld.byte 0x00 4. " VFEDG_EN ,VREGIN falling edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " VREDG_EN ,VREGIN rising edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 1. " SOFBUSSET ,SOF_TOK interrupt generation mode select" "SOF threshold value,Counter reaches 0" bitfld.byte 0x00 0. " SOFDYNTHLD ,Dynamic SOF threshold compare mode" "Byte time,8 byte times" else group.byte 0x12C++0x00 line.byte 0x00 "MISCCTRL,Miscellaneous Control register" bitfld.byte 0x00 4. " VFEDG_EN ,VREGIN falling edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " VREDG_EN ,VREGIN rising edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " OWNERRISODIS ,OWN error detect for ISO IN / ISO OUT disable" "No,Yes" endif elif cpuis("MKS2?FN???V??12") if ((per.b(ad:0x40072000+0x94)&0x08)==0x08) group.byte 0x12C++0x00 line.byte 0x00 "MISCCTRL,Miscellaneous Control register" bitfld.byte 0x00 7. " STL_ADJ_EN ,VREGIN falling edge interrupt enable" "Disabled,Enabled" newline bitfld.byte 0x00 4. " VFEDG_EN ,VREGIN falling edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " VREDG_EN ,VREGIN rising edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 1. " SOFBUSSET ,SOF_TOK interrupt generation mode select" "SOF threshold value,Counter reaches 0" bitfld.byte 0x00 0. " SOFDYNTHLD ,Dynamic SOF threshold compare mode" "Byte time,8 byte times" else group.byte 0x12C++0x00 line.byte 0x00 "MISCCTRL,Miscellaneous Control register" bitfld.byte 0x00 4. " VFEDG_EN ,VREGIN falling edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 3. " VREDG_EN ,VREGIN rising edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " OWNERRISODIS ,OWN error detect for ISO IN / ISO OUT disable" "No,Yes" endif endif newline width 18. sif cpuis("MKS2?FN???V??12") if (((per.b(ad:0x40072000+0x94)&0x8)!=0x8)&&((per.b(ad:0x40072000+0x12C)&0x80)==0x80)) group.byte 0x130++0x00 line.byte 0x00 "STALL_IL_DIS,Peripheral Mode Stall Disable For Endpoints 7 To 0 In IN Direction" bitfld.byte 0x00 7. " STALL_I_DIS7 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 6. " STALL_I_DIS6 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 5. " STALL_I_DIS5 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 4. " STALL_I_DIS4 ,Dynamic SOF threshold compare mode" "No,Yes" newline bitfld.byte 0x00 3. " STALL_I_DIS3 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 2. " STALL_I_DIS2 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 1. " STALL_I_DIS1 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 0. " STALL_I_DIS0 ,Dynamic SOF threshold compare mode" "No,Yes" group.byte 0x134++0x00 line.byte 0x00 "STALL_IH_DIS,Peripheral Mode Stall Disable For Endpoints 15 To 8 In IN Direction" bitfld.byte 0x00 7. " STALL_I_DIS15 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 6. " STALL_I_DIS14 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 5. " STALL_I_DIS13 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 4. " STALL_I_DIS12 ,Dynamic SOF threshold compare mode" "No,Yes" newline bitfld.byte 0x00 3. " STALL_I_DIS11 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 2. " STALL_I_DIS10 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 1. " STALL_I_DIS9 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 0. " STALL_I_DIS8 ,Dynamic SOF threshold compare mode" "No,Yes" group.byte 0x138++0x00 line.byte 0x00 "STALL_OL_DIS,Peripheral Mode Stall Disable For Endpoints 7 To 0 In OUT Direction" bitfld.byte 0x00 7. " STALL_O_DIS7 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 6. " STALL_O_DIS6 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 5. " STALL_O_DIS5 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 4. " STALL_O_DIS4 ,Dynamic SOF threshold compare mode" "No,Yes" newline bitfld.byte 0x00 3. " STALL_O_DIS3 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 2. " STALL_O_DIS2 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 1. " STALL_O_DIS1 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 0. " STALL_O_DIS0 ,Dynamic SOF threshold compare mode" "No,Yes" group.byte 0x13C++0x00 line.byte 0x00 "STALL_OH_DIS,Peripheral Mode Stall Disable For Endpoints 15 To 0 In OUT Direction" bitfld.byte 0x00 7. " STALL_O_DIS15 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 6. " STALL_O_DIS14 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 5. " STALL_O_DIS13 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 4. " STALL_O_DIS12 ,Dynamic SOF threshold compare mode" "No,Yes" newline bitfld.byte 0x00 3. " STALL_O_DIS11 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 2. " STALL_O_DIS10 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 1. " STALL_O_DIS9 ,Dynamic SOF threshold compare mode" "No,Yes" bitfld.byte 0x00 0. " STALL_O_DIS8 ,Dynamic SOF threshold compare mode" "No,Yes" endif endif newline width 28. sif !cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") sif cpuis("MK6*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") group.byte 0x140++0x00 line.byte 0x00 "CLK_RECOVER_CTRL,USB Clock Recovery Control Register" bitfld.byte 0x00 7. " CLOCK_RECOVER_EN ,Crystal-less USB enable" "Disabled,Enabled" bitfld.byte 0x00 6. " RESET_RESUME_ROUGH_EN ,Reset/resume to rough phase enable" "Resume,Reset" newline bitfld.byte 0x00 5. " RESTART_IFRTRIM_EN ,Restart from IFR trim value" "No effect,Restart" group.byte 0x144++0x00 line.byte 0x00 "CLK_RECOVER_IRC_EN,IRC48M Oscillator Enable Register" bitfld.byte 0x00 1. " IRC_EN ,IRC48M enable" "Disabled,Enabled" bitfld.byte 0x00 0. " REG_EN ,IRC48M regulator enable" "Disabled,Enabled" sif !cpuis("MK63F*")&&!cpuis("MK64F*") group.byte 0x154++0x00 line.byte 0x00 "CLK_RECOVER_INT_EN,Clock Recovery Combined Interrupt Enable Register" bitfld.byte 0x00 4. " OVF_ERROR_EN ,Determines whether OVF_ERROR condition signal is used in generation of USB_CLK_RECOVERY_INT" "Disabled,Enabled" elif cpuis("MK63FN1M0VLQ12R") group.byte 0x154++0x00 line.byte 0x00 "CLK_RECOVER_INT_EN,Clock Recovery Combined Interrupt Enable Register" bitfld.byte 0x00 4. " OVF_ERROR_EN ,Determines whether OVF_ERROR condition signal is used in generation of USB_CLK_RECOVERY_INT" "Disabled,Enabled" endif sif cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK63F*")||cpuis("MK64F*")||cpuis("MK65F*")||cpuis("MK66F*")||cpuis("MK27FN2M0VMI15")||cpuis("?K28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") group.byte 0x15C++0x00 line.byte 0x00 "CLK_RECOVER_INT_STATUS,Clock Recovery Separated Interrupt Status Register" eventfld.byte 0x00 4. " OVF_ERROR ,USB clock recovery error flag" "No interrupt,Interrupt" else hgroup.byte 0x15C++0x00 hide.byte 0x00 "CLK_RECOVER_INT_STATUS,Clock Recovery Separated Interrupt Status Register" in endif elif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK22FN512CAP12R")||cpuis("MK22FN512CBP12R")||cpuis("MK22FN512VDC12")||cpuis("MK22FN512VLH12")||cpuis("MK22FN512VLL12")||cpuis("MK22FN512VMP12")||cpuis("MKS2?FN???V??12")||cpuis("MK22FN512VDC12*")||cpuis("MK22FN512VFX12*")||cpuis("MK22FN512VLH12R")||cpuis("KK22FN???C?P12R")||cpuis("KK22FN???CAH12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK22FN128*")||cpuis("MK22FN256*") if ((per.b(ad:0x40072000+0x144)&0x02)==0x02) group.byte 0x140++0x00 line.byte 0x00 "CLK_RECOVER_CTRL,USB Clock Recovery Control Register" bitfld.byte 0x00 7. " CLOCK_RECOVER_EN ,Crystal-less USB enable" "Disabled,Enabled" bitfld.byte 0x00 6. " RESET_RESUME_ROUGH_EN ,Reset/resume to rough phase enable" "Resume,Reset" newline bitfld.byte 0x00 5. " RESTART_IFRTRIM_EN ,Restart from IFR trim value" "No effect,Restart" else hgroup.byte 0x140++0x00 hide.byte 0x00 "CLK_RECOVER_CTRL,USB Clock Recovery Control Register" endif group.byte 0x144++0x00 line.byte 0x00 "CLK_RECOVER_IRC_EN,IRC48M Oscillator Enable Register" bitfld.byte 0x00 1. " IRC_EN ,IRC48M enable" "Disabled,Enabled" bitfld.byte 0x00 0. " REG_EN ,IRC48M regulator enable" "Disabled,Enabled" group.byte 0x154++0x00 line.byte 0x00 "CLK_RECOVER_INT_EN,Clock Recovery Combined Interrupt Enable Register" bitfld.byte 0x00 4. " OVF_ERROR_EN ,Determines whether OVF_ERROR condition signal is used in generation of USB_CLK_RECOVERY_INT" "Disabled,Enabled" group.byte 0x15C++0x00 line.byte 0x00 "CLK_RECOVER_INT_STATUS,Clock Recovery Separated Interrupt Status Register" eventfld.byte 0x00 4. " OVF_ERROR ,USB clock recovery error flag" "No interrupt,Interrupt" endif endif width 0x0B tree.end tree "USBDCD (USB Device Charger Detection Module)" base ad:0x40035000 width 9. group.long 0x00++0x07 line.long 0x00 "CONTROL,USBDCD Control Register" bitfld.long 0x00 25. " SR ,Software reset" "No reset,Reset" bitfld.long 0x00 24. " START ,Start change detection sequence" "No start,Start" newline sif !cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") sif cpuis("MK6*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") bitfld.long 0x00 17. " BC12 ,BC1.2 compatibility" "BC1.1,BC1.2" newline endif endif bitfld.long 0x00 16. " IE ,Interrupt enable" "Disabled,Enabled" rbitfld.long 0x00 8. " IF ,Interrupt flag" "Not pending,Pending" bitfld.long 0x00 0. " IACK ,Interrupt acknowledge" "No effect,Clear" line.long 0x04 "CLOCK,USBDCD Clock Register" hexmask.long.word 0x04 2.--11. 1. " CLOCK_SPEED ,Numerical value of clock speed in binary" bitfld.long 0x04 0. " CLOCK_UNIT ,Unit of measurement encoding for clock speed" "kHz,MHz" newline rgroup.long 0x08++0x03 line.long 0x00 "STATUS,USBDCD Status Register" bitfld.long 0x00 22. " ACTIVE ,Active status indicator" "Not running,Running" bitfld.long 0x00 21. " TO ,Timeout flag" "No timeout,Timeout" newline bitfld.long 0x00 20. " ERR ,Error flag" "No error,Error" newline bitfld.long 0x00 18.--19. " SEQ_STAT ,Charger detection sequence status" "Disabled / Data pins not detected,Data pin contact detection completed,Charger detection completed,Charger type detection completed" newline bitfld.long 0x00 16.--17. " SEQ_RES ,Charger detection sequence results" "No results,Standard host,Charging port,Dedicated charger" newline sif !cpuis("MK63*")&&!cpuis("MK64*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("MK60DN512ZVLL10") sif cpuis("MK6*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") width 17. group.long 0x0C++0x03 line.long 0x00 "SIGNAL_OVERRIDE,Signal Override Register" bitfld.long 0x00 0.--1. " PS ,Phase selection" "No overrides,,VDP_SRC enabled,?..." newline endif endif width 13. group.long 0x10++0x07 line.long 0x00 "TIMER0,USBDCD TIMER0 Register" hexmask.long.word 0x00 16.--25. 1. " TSEQ_INIT ,Sequence initiation time (in ms)" hexmask.long.word 0x00 0.--11. 1. " TUNIT_CON ,Unit connection timer elapse (in ms)" line.long 0x04 "TIMER1,USBDCD TIMER1 Register" hexmask.long.word 0x04 16.--25. 1. " TDCD_DBNC ,Time period to debounce D+ signal (in ms)" hexmask.long.word 0x04 0.--9. 1. " TVDPSRC_ON ,Time period comparator enabled (in ms)" sif !cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60FN1M0VLQ15")&&!cpuis("MK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVLL10")&&!cpuis("KK60FN1M0VLQ15")&&!cpuis("KK60DN512ZCAB10R") sif (cpuis("MK6*"))||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40035000+0x00))&0x20000)==0x20000) group.long 0x18++0x03 line.long 0x00 "TIMER2_BC12,USBDCD TIMER2_BC12 Register" hexmask.long.word 0x00 16.--25. 1. " TWAIT_AFTER_PRD ,Sets the amount of time (in ms) that the module waits after primary detection before start to secondary detection" hexmask.long.word 0x00 0.--9. 1. " TVDMSRC_ON ,Sets the amount of time (in ms) that the module enables the V DM_SRC" else group.long 0x18++0x03 line.long 0x00 "TIMER2_BC11,USBDCD TIMER2_BC11 Register" hexmask.long.word 0x00 16.--25. 1. " TVDPSRC_CON ,Time period before enabling D+ pull-up (in ms)" bitfld.long 0x00 0.--3. " CHECK_DM ,Time before check of D- line (in ms)" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else group.long 0x18++0x03 line.long 0x00 "TIMER2,USBDCD TIMER2 Register" hexmask.long.word 0x00 16.--25. 1. " TVDPSRC_CON ,Time period before enabling d+ pull-up (in ms)" bitfld.long 0x00 0.--3. " CHECK_DM ,Time before check of D- line (in ms)" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else group.long 0x18++0x03 line.long 0x00 "TIMER2,USBDCD TIMER2 Register" hexmask.long.word 0x00 16.--25. 1. " TVDPSRC_CON ,Time period before enabling d+ pull-up (in ms)" bitfld.long 0x00 0.--3. " CHECK_DM ,Time before check of D- line (in ms)" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif width 0x0B tree.end tree.open "SPI (Serial Peripheral Interface)" tree "SPI0" base ad:0x4002c000 width 19. sif cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10") if (((per.l(ad:0x4002c000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002c000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif else if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif endif elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002c000+0x2C))&0x40000000)==0x40000000) if (((per.l(ad:0x4002c000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002c000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") rbitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" rbitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else rbitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" rbitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" rbitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" rbitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") rbitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" rbitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else rbitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" rbitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" rbitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if (((per.l(ad:0x4002c000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002c000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") bitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else bitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") bitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else bitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if ((per.l(ad:0x4002c000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") bitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else bitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R")||cpuis("MK60DN512VMC10R") bitfld.long 0x00 20. " PCSIS[4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" newline bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline else bitfld.long 0x00 21. " PCSIS[5] ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " [4] ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " [3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" newline endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif endif endif else if (((per.l(ad:0x4002c000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002c000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI0 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI0 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" newline bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif newline sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002c000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x08++0x03 line.long 0x00 "TCR,DSPI0 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI0 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI0 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x4002c000+0x2C))&0x40000000)==0x40000000) if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) rgroup.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI0 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" rgroup.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI0 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else rgroup.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI0 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif else if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI0 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI0 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI0 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif endif else if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI0 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI0 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI0 Clock and Transfer Attributes Register 0" sif cpuis("MKL82*") bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" newline else bitfld.long 0x00 27.--31. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" newline endif bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" sif !cpuis("MK8?FN256V*")&&!cpuis("MK40DN512ZVLL10")&&!cpuis("MKL82*")&&!cpuis("MK40DN512ZVLQ10")&&!cpuis("MK40DN512ZVMD10")&&!cpuis("MK40DX128ZVLQ10")&&!cpuis("MK40DX256ZVLQ10")&&!cpuis("MK40DX256ZVMD10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R") sif cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLQ10R") hgroup.long 0x10++0x03 hide.long 0x00 "CTAR1_SLAVE,DSPI0 Clock and Transfer Attributes Register 1" endif endif endif endif group.long 0x2C++0x03 line.long 0x00 "SR,DSPI0 Status Register" eventfld.long 0x00 31. " TCF ,Transfer complete flag" "Not completed,Completed" sif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK8?FN256V*") newline eventfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" else newline rbitfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" endif newline eventfld.long 0x00 28. " EOQF ,End of queue flag" "Not occurred,Occurred" eventfld.long 0x00 27. " TFUF ,Transmit FIFO underflow flag" "No underflow,Underflow" eventfld.long 0x00 25. " TFFF ,Transmit FIFO fill flag" "Full,Not full" eventfld.long 0x00 19. " RFOF ,Receive FIFO overflow flag" "No overflow,Overflow" newline eventfld.long 0x00 17. " RFDF ,Receive FIFO drain flag" "Empty,Not empty" rbitfld.long 0x00 12.--15. " TXCTR ,TX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 8.--11. " TXNXTPTR ,Transmit next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 4.--7. " RXCTR ,RX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline rbitfld.long 0x00 0.--3. " POPNXTPTR ,Pop next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002c000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x30++0x03 line.long 0x00 "RSER,DSPI0 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI0 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI0 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) group.long 0x34++0x3 line.long 0x00 "PUSHR,DSPI0 PUSH TX FIFO Register" bitfld.long 0x00 31. " CONT ,Continuous peripheral chip select enable" "Return to inactive,Keep asserted" bitfld.long 0x00 28.--30. " CTAS ,Clock and transfer attributes select" "CTAR0,CTAR1,?..." bitfld.long 0x00 27. " EOQ ,End Of queue" "Not ended,Ended" bitfld.long 0x00 26. " CTCNT ,Clear transfer counter" "No effect,Clear" newline sif !cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK30DX256VLL7*")&&!cpuis("MK70*") sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 21. " PCS5 ,PCS 5 signal assertion" "Negated,Asserted" bitfld.long 0x00 20. " PCS4 ,PCS 4 signal assertion" "Negated,Asserted" bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK*LL*")||cpuis("MK*MC*")||cpuis("MK*LQ*")||cpuis("MK*MD*")||cpuis("MK*VMJ*")||cpuis("MK*AB*")||cpuis("MK6*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DX256ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK50DN512ZCMD10") bitfld.long 0x00 21. " PCS5 ,PCS 5 signal assertion" "Negated,Asserted" bitfld.long 0x00 20. " PCS4 ,PCS 4 signal assertion" "Negated,Asserted" newline sif cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline sif cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else sif cpuis("MK*VLL10")||cpuis("MK*AB*")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif endif endif else bitfld.long 0x00 20. " PCS4 ,PCS 4 signal assertion" "Negated,Asserted" bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif else bitfld.long 0x00 21. " PCS5 ,PCS 5 signal assertion" "Negated,Asserted" bitfld.long 0x00 20. " PCS4 ,PCS 4 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10"))||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60FN1M0VLQ15") group.long 0x34++0x03 line.long 0x00 "PUSHR_SLAVE,DSPI0 PUSH TX FIFO Register" sif cpuis("MK?0D*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK30DX256VLL7*")||cpuis("MKL82*")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512VMC10R") hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" endif endif endif newline width 16. sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") rgroup.long 0x38++0x03 line.long 0x00 "POPR,DSPI0 POP RX FIFO Register" else hgroup.long 0x38++0x03 hide.long 0x00 "POPR,DSPI0 POP RX FIFO Register" in endif if ((per.l(ad:0x4002c000)&0x80000000)==0x80000000) rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI0 Transmit FIFO Register 0" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI0 Transmit FIFO Register 1" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI0 Transmit FIFO Register 2" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI0 Transmit FIFO Register 3" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI0 Transmit FIFO Register 0" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI0 Transmit FIFO Register 1" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI0 Transmit FIFO Register 2" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI0 Transmit FIFO Register 3" elif !cpuis("MK8?FN256V*") hgroup.long 0x3C++0x03 hide.long 0x00 "TXFR0,DSPI0 Transmit FIFO Register 0" in hgroup.long 0x40++0x03 hide.long 0x00 "TXFR1,DSPI0 Transmit FIFO Register 1" in hgroup.long 0x44++0x03 hide.long 0x00 "TXFR2,DSPI0 Transmit FIFO Register 2" in hgroup.long 0x48++0x03 hide.long 0x00 "TXFR3,DSPI0 Transmit FIFO Register 3" in endif endif sif cpuis("MK8?FN256V*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long (0x7C+0x0)++0x03 line.long 0x00 "RXFR0,DSPI0 Receive FIFO Register 0" rgroup.long (0x7C+0x4)++0x03 line.long 0x00 "RXFR1,DSPI0 Receive FIFO Register 1" rgroup.long (0x7C+0x8)++0x03 line.long 0x00 "RXFR2,DSPI0 Receive FIFO Register 2" rgroup.long (0x7C+0xC)++0x03 line.long 0x00 "RXFR3,DSPI0 Receive FIFO Register 3" else hgroup.long 0x0++0x03 "DSPI0 Rx FIFO Registers" hide.long 0x00 "RXFR0,DSPI0 Receive FIFO Register 0" in hgroup.long 0x4++0x03 "DSPI0 Rx FIFO Registers" hide.long 0x00 "RXFR1,DSPI0 Receive FIFO Register 1" in hgroup.long 0x8++0x03 "DSPI0 Rx FIFO Registers" hide.long 0x00 "RXFR2,DSPI0 Receive FIFO Register 2" in hgroup.long 0xC++0x03 "DSPI0 Rx FIFO Registers" hide.long 0x00 "RXFR3,DSPI0 Receive FIFO Register 3" in endif width 0x0B tree.end tree "SPI1" base ad:0x4002d000 width 19. sif cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10") if (((per.l(ad:0x4002d000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002d000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif else if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" sif cpuis("MK40DN512ZVLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif endif elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002d000+0x2C))&0x40000000)==0x40000000) if (((per.l(ad:0x4002d000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002d000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") rbitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" rbitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") rbitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" rbitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" rbitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if (((per.l(ad:0x4002d000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002d000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if ((per.l(ad:0x4002d000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif !cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 19. " PCSIS[3] ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " [2] ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " [1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif endif endif else if (((per.l(ad:0x4002d000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x4002d000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" newline endif bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI1 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI1 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" newline endif bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif newline sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002d000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x08++0x03 line.long 0x00 "TCR,DSPI1 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI1 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI1 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x4002d000+0x2C))&0x40000000)==0x40000000) if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) rgroup.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI1 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" rgroup.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI1 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else rgroup.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI1 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif else if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI1 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI1 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI1 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif endif else if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI1 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI1 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI1 Clock and Transfer Attributes Register 0" sif cpuis("MKL82*") bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" newline else bitfld.long 0x00 27.--31. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" newline endif bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" sif !cpuis("MK8?FN256V*")&&!cpuis("MK40DN512ZVLL10")&&!cpuis("MKL82*")&&!cpuis("MK40DN512ZVLQ10")&&!cpuis("MK40DN512ZVMD10")&&!cpuis("MK40DX128ZVLQ10")&&!cpuis("MK40DX256ZVLQ10")&&!cpuis("MK40DX256ZVMD10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R") sif cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLQ10R") hgroup.long 0x10++0x03 hide.long 0x00 "CTAR1_SLAVE,DSPI1 Clock and Transfer Attributes Register 1" endif endif endif endif group.long 0x2C++0x03 line.long 0x00 "SR,DSPI1 Status Register" eventfld.long 0x00 31. " TCF ,Transfer complete flag" "Not completed,Completed" sif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK8?FN256V*") newline eventfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" else newline rbitfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" endif newline eventfld.long 0x00 28. " EOQF ,End of queue flag" "Not occurred,Occurred" eventfld.long 0x00 27. " TFUF ,Transmit FIFO underflow flag" "No underflow,Underflow" eventfld.long 0x00 25. " TFFF ,Transmit FIFO fill flag" "Full,Not full" eventfld.long 0x00 19. " RFOF ,Receive FIFO overflow flag" "No overflow,Overflow" newline eventfld.long 0x00 17. " RFDF ,Receive FIFO drain flag" "Empty,Not empty" rbitfld.long 0x00 12.--15. " TXCTR ,TX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 8.--11. " TXNXTPTR ,Transmit next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 4.--7. " RXCTR ,RX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline rbitfld.long 0x00 0.--3. " POPNXTPTR ,Pop next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x4002d000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x30++0x03 line.long 0x00 "RSER,DSPI1 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI1 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI1 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) group.long 0x34++0x3 line.long 0x00 "PUSHR,DSPI1 PUSH TX FIFO Register" bitfld.long 0x00 31. " CONT ,Continuous peripheral chip select enable" "Return to inactive,Keep asserted" bitfld.long 0x00 28.--30. " CTAS ,Clock and transfer attributes select" "CTAR0,CTAR1,?..." bitfld.long 0x00 27. " EOQ ,End Of queue" "Not ended,Ended" bitfld.long 0x00 26. " CTCNT ,Clear transfer counter" "No effect,Clear" newline sif !cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK30DX256VLL7*")&&!cpuis("MK70*") sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif !cpuis("KK60DN512ZCAB10R") sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" newline endif bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif elif cpuis("MK*LL*")||cpuis("MK*MC*")||cpuis("MK*LQ*")||cpuis("MK*MD*")||cpuis("MK*VMJ*")||cpuis("MK*AB*")||cpuis("MK6*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DX256ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK50DN512ZCMD10") sif cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK60DN512ZCAB10R") else bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline sif cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else sif cpuis("MK*VLL10")||cpuis("MK*AB*")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif endif endif else sif !cpuis("MK*LH7") bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline endif bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif else bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10"))||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60FN1M0VLQ15") group.long 0x34++0x03 line.long 0x00 "PUSHR_SLAVE,DSPI1 PUSH TX FIFO Register" sif cpuis("MK?0D*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK30DX256VLL7*")||cpuis("MKL82*")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512VMC10R") hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" endif endif endif newline width 16. sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") rgroup.long 0x38++0x03 line.long 0x00 "POPR,DSPI1 POP RX FIFO Register" else hgroup.long 0x38++0x03 hide.long 0x00 "POPR,DSPI1 POP RX FIFO Register" in endif if ((per.l(ad:0x4002d000)&0x80000000)==0x80000000) rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI1 Transmit FIFO Register 0" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI1 Transmit FIFO Register 1" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI1 Transmit FIFO Register 2" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI1 Transmit FIFO Register 3" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI1 Transmit FIFO Register 0" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI1 Transmit FIFO Register 1" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI1 Transmit FIFO Register 2" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI1 Transmit FIFO Register 3" elif !cpuis("MK8?FN256V*") hgroup.long 0x3C++0x03 hide.long 0x00 "TXFR0,DSPI1 Transmit FIFO Register 0" in hgroup.long 0x40++0x03 hide.long 0x00 "TXFR1,DSPI1 Transmit FIFO Register 1" in hgroup.long 0x44++0x03 hide.long 0x00 "TXFR2,DSPI1 Transmit FIFO Register 2" in hgroup.long 0x48++0x03 hide.long 0x00 "TXFR3,DSPI1 Transmit FIFO Register 3" in endif endif sif cpuis("MK8?FN256V*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long (0x7C+0x0)++0x03 line.long 0x00 "RXFR0,DSPI1 Receive FIFO Register 0" rgroup.long (0x7C+0x4)++0x03 line.long 0x00 "RXFR1,DSPI1 Receive FIFO Register 1" rgroup.long (0x7C+0x8)++0x03 line.long 0x00 "RXFR2,DSPI1 Receive FIFO Register 2" rgroup.long (0x7C+0xC)++0x03 line.long 0x00 "RXFR3,DSPI1 Receive FIFO Register 3" else hgroup.long 0x0++0x03 "DSPI1 Rx FIFO Registers" hide.long 0x00 "RXFR0,DSPI1 Receive FIFO Register 0" in hgroup.long 0x4++0x03 "DSPI1 Rx FIFO Registers" hide.long 0x00 "RXFR1,DSPI1 Receive FIFO Register 1" in hgroup.long 0x8++0x03 "DSPI1 Rx FIFO Registers" hide.long 0x00 "RXFR2,DSPI1 Receive FIFO Register 2" in hgroup.long 0xC++0x03 "DSPI1 Rx FIFO Registers" hide.long 0x00 "RXFR3,DSPI1 Receive FIFO Register 3" in endif width 0x0B tree.end sif (!cpuis("MK50D*7")&&!cpuis("MK5*LK*")&&!cpuis("MK5?D*MB10")) tree "SPI2" base ad:0x400ac000 width 19. sif cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10") if (((per.l(ad:0x400ac000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x400ac000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline sif cpuis("MK40DN512ZVLL10") newline bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline sif cpuis("MK40DN512ZVLL10") newline bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." newline bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif else if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline sif cpuis("MK40DN512ZVLL10") textfld " " bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline newline sif cpuis("MK40DN512ZVLL10") textfld " " bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" endif newline bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" newline rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif else if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif endif elif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x400ac000+0x2C))&0x40000000)==0x40000000) if (((per.l(ad:0x400ac000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x400ac000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") rbitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else rbitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" rbitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" rbitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" rbitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" rbitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." rbitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline rbitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") rbitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline rbitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") rbitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else rbitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" rbitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline rbitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline rbitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if (((per.l(ad:0x400ac000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x400ac000+0x10))&0x2000000)==0x0000000) if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else bitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else bitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0 clocks,1 clock,2 clocks,?..." bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif else if ((per.l(ad:0x400ac000)&0x4000)==0x4000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else bitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" rbitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" rbitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" newline bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" sif !cpuis("MK60DN512ZVLL10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("KK60DN512ZCAB10R")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN512VMC10R")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" endif newline bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif cpuis("KK60DN512ZCAB10R") bitfld.long 0x00 16. " PCSIS[0] ,Peripheral chip select 0 inactive state" "Low,High" else bitfld.long 0x00 17. " PCSIS[1] ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " [0] ,Peripheral chip select 0 inactive state" "Low,High" endif newline bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline bitfld.long 0x00 11. " CLR_TXF ,Clear Tx FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear Rx FIFO" "No effect,Clear" bitfld.long 0x00 0. " HALT ,Start/stop DSPI transfers" "Start,Stop" endif endif endif else if (((per.l(ad:0x400ac000+0x0C))&0x2000000)==0x0000000)&&(((per.l(ad:0x400ac000+0x10))&0x2000000)==0x0000000) group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" newline endif bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 8.--9. " SMPL_PT ,Sample point" "0,1,2,?..." bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" else group.long 0x00++0x03 line.long 0x00 "MCR,DSPI2 Module Configuration Register" bitfld.long 0x00 31. " MSTR ,Master/Slave mode select" "Slave,Master" bitfld.long 0x00 30. " CONT_SCKE ,Continuous SCK enable" "Disabled,Enabled" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." newline else rbitfld.long 0x00 28.--29. " DCONF ,DSPI2 configuration" "SPI,?..." newline endif bitfld.long 0x00 27. " FRZ ,Freeze serial transfers" "Not halted,Halted" bitfld.long 0x00 26. " MTFE ,Modified timing format enable" "Disabled,Enabled" newline sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 25. " PCSSE ,Peripheral chip select strobe enable" "Disabled,Enabled" newline endif bitfld.long 0x00 24. " ROOE ,Receive FIFO overflow overwrite enable" "Disabled,Enabled" newline sif (cpuis("MK70*")||cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" newline endif bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline else sif cpuis("MKL82*") else sif cpuis("MK??F*")||(cpuis("MK30D????ZVLQ*"))||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15") bitfld.long 0x00 21. " PCSIS5 ,Peripheral chip select 5 inactive state" "Low,High" newline endif bitfld.long 0x00 20. " PCSIS4 ,Peripheral chip select 4 inactive state" "Low,High" newline endif bitfld.long 0x00 19. " PCSIS3 ,Peripheral chip select 3 inactive state" "Low,High" bitfld.long 0x00 18. " PCSIS2 ,Peripheral chip select 2 inactive state" "Low,High" bitfld.long 0x00 17. " PCSIS1 ,Peripheral chip select 1 inactive state" "Low,High" bitfld.long 0x00 16. " PCSIS0 ,Peripheral chip select 0 inactive state" "Low,High" newline endif bitfld.long 0x00 15. " DOZE ,Doze enable" "Disabled,Enabled" bitfld.long 0x00 14. " MDIS ,Module disable" "No,Yes" bitfld.long 0x00 13. " DIS_TXF ,Disable transmit FIFO" "No,Yes" bitfld.long 0x00 12. " DIS_RXF ,Disable receive FIFO" "No,Yes" newline sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10") rbitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" rbitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline else bitfld.long 0x00 11. " CLR_TXF ,Clear TX FIFO" "No effect,Clear" bitfld.long 0x00 10. " CLR_RXF ,Clear RX FIFO" "No effect,Clear" newline endif bitfld.long 0x00 0. " HALT ,Halt DSPI transfers" "Started,Stopped" endif endif newline sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x400ac000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x08++0x03 line.long 0x00 "TCR,DSPI2 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI2 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif else group.long 0x08++0x03 line.long 0x00 "TCR,DSPI2 Transfer Count Register" hexmask.long.word 0x00 16.--31. 1. " SPI_TCNT ,SPI transfer counter" endif sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x400ac000+0x2C))&0x40000000)==0x40000000) if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) rgroup.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI2 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" rgroup.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI2 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else rgroup.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI2 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif else if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI2 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI2 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI2 Clock and Transfer Attributes Register (In Slave Mode)" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,3,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Low,High" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" endif endif else if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) group.long 0xC++0x03 line.long 0x00 "CTAR0,DSPI2 Clock and Transfer Attributes Register 0" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" group.long 0x10++0x03 line.long 0x00 "CTAR1,DSPI2 Clock and Transfer Attributes Register 1" bitfld.long 0x00 31. " DBR ,Double baud rate" "Normal,Doubled" bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" newline bitfld.long 0x00 24. " LSBFE ,LBS First" "MSB,LSB" bitfld.long 0x00 22.--23. " PCSSCK ,PCS to SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 20.--21. " PASC ,After SCK delay prescaler" "/1,/3,/5,/7" bitfld.long 0x00 18.--19. " PDT ,Delay after transfer prescaler" "/1,/3,/5,/7" newline bitfld.long 0x00 16.--17. " PBR ,Baud rate prescaler" "/2,/3,/5,/7" bitfld.long 0x00 12.--15. " CSSCK ,PCS to SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 8.--11. " ASC ,After SCK delay scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" bitfld.long 0x00 4.--7. " DT ,Delay after transfer scaler" "/2,/4,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768,/65536" newline bitfld.long 0x00 0.--3. " BR ,Baud rate scaler" "/2,/4,/6,/8,/16,/32,/64,/128,/256,/512,/1024,/2048,/4096,/8192,/16384,/32768" else group.long 0x0C++0x03 line.long 0x00 "CTAR0_SLAVE,DSPI2 Clock and Transfer Attributes Register 0" sif cpuis("MKL82*") bitfld.long 0x00 27.--30. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16" newline else bitfld.long 0x00 27.--31. " FMSZ ,Frame size" ",,,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" newline endif bitfld.long 0x00 26. " CPOL ,Clock polarity" "Inactive low,Inactive high" bitfld.long 0x00 25. " CPHA ,Clock phase" "Changed,Captured" sif !cpuis("MK8?FN256V*")&&!cpuis("MK40DN512ZVLL10")&&!cpuis("MKL82*")&&!cpuis("MK40DN512ZVLQ10")&&!cpuis("MK40DN512ZVMD10")&&!cpuis("MK40DX128ZVLQ10")&&!cpuis("MK40DX256ZVLQ10")&&!cpuis("MK40DX256ZVMD10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60DN512VMC10R") sif cpuis("MK60DN512ZCAB10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLQ10R") hgroup.long 0x10++0x03 hide.long 0x00 "CTAR1_SLAVE,DSPI2 Clock and Transfer Attributes Register 1" endif endif endif endif group.long 0x2C++0x03 line.long 0x00 "SR,DSPI2 Status Register" eventfld.long 0x00 31. " TCF ,Transfer complete flag" "Not completed,Completed" sif cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK8?FN256V*") newline eventfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" else newline rbitfld.long 0x00 30. " TXRXS ,TX and RX status" "Disabled,Enabled" endif newline eventfld.long 0x00 28. " EOQF ,End of queue flag" "Not occurred,Occurred" eventfld.long 0x00 27. " TFUF ,Transmit FIFO underflow flag" "No underflow,Underflow" eventfld.long 0x00 25. " TFFF ,Transmit FIFO fill flag" "Full,Not full" eventfld.long 0x00 19. " RFOF ,Receive FIFO overflow flag" "No overflow,Overflow" newline eventfld.long 0x00 17. " RFDF ,Receive FIFO drain flag" "Empty,Not empty" rbitfld.long 0x00 12.--15. " TXCTR ,TX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 8.--11. " TXNXTPTR ,Transmit next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rbitfld.long 0x00 4.--7. " RXCTR ,RX FIFO counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" newline rbitfld.long 0x00 0.--3. " POPNXTPTR ,Pop next pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") if (((per.l(ad:0x400ac000+0x2C))&0x40000000)==0x40000000) rgroup.long 0x30++0x03 line.long 0x00 "RSER,DSPI2 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI2 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif else group.long 0x30++0x03 line.long 0x00 "RSER,DSPI2 DMA/Interrupt Request Select and Enable Register" bitfld.long 0x00 31. " TCF_RE ,Transmission complete request enable" "Disabled,Enabled" bitfld.long 0x00 28. " EOQF_RE ,DSPI finished request enable" "Disabled,Enabled" bitfld.long 0x00 27. " TFUF_RE ,Transmit FIFO underflow request enable" "Disabled,Enabled" bitfld.long 0x00 25. " TFFF_RE ,Transmit FIFO fill request enable" "Disabled,Enabled" newline bitfld.long 0x00 24. " TFFF_DIRS ,Transmit FIFO fill DMA / Interrupt request select" "Interrupt,DMA" bitfld.long 0x00 19. " RFOF_RE ,Receive FIFO overflow request enable" "Disabled,Enabled" bitfld.long 0x00 17. " RFDF_RE ,Receive FIFO drain request enable" "Disabled,Enabled" newline bitfld.long 0x00 16. " RFDF_DIRS ,Receive FIFO drain DMA / Interrupt request select" "Interrupt,DMA" endif if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) group.long 0x34++0x3 line.long 0x00 "PUSHR,DSPI2 PUSH TX FIFO Register" bitfld.long 0x00 31. " CONT ,Continuous peripheral chip select enable" "Return to inactive,Keep asserted" bitfld.long 0x00 28.--30. " CTAS ,Clock and transfer attributes select" "CTAR0,CTAR1,?..." bitfld.long 0x00 27. " EOQ ,End Of queue" "Not ended,Ended" bitfld.long 0x00 26. " CTCNT ,Clear transfer counter" "No effect,Clear" newline sif !cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK30DX256VLL7*")&&!cpuis("MK70*") sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") sif !cpuis("MK50DN512ZCLL10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline endif bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK*LL*")||cpuis("MK*MC*")||cpuis("MK*LQ*")||cpuis("MK*MD*")||cpuis("MK*VMJ*")||cpuis("MK*AB*")||cpuis("MK6*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK40DN512ZVLL10")||cpuis("MKL82*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DX256ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK50DN512ZCMD10") sif cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 19. " PCS3 ,PCS 3 signal assertion" "Negated,Asserted" bitfld.long 0x00 18. " PCS2 ,PCS 2 signal assertion" "Negated,Asserted" bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" newline bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R") bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline elif cpuis("MK60DN512ZCAB10R") bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else sif cpuis("MK40DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK63FN1M0VLQ12R") bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else sif cpuis("MK*VLL10")||cpuis("MK*AB*")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline else bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif endif endif else endif else bitfld.long 0x00 17. " PCS1 ,PCS 1 signal assertion" "Negated,Asserted" bitfld.long 0x00 16. " PCS0 ,PCS 0 signal assertion" "Negated,Asserted" newline endif hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif (cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK70*")||cpuis("MK40DN512ZVLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10"))||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60FN1M0VLQ15") group.long 0x34++0x03 line.long 0x00 "PUSHR_SLAVE,DSPI2 PUSH TX FIFO Register" sif cpuis("MK?0D*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK30DX256VLL7*")||cpuis("MKL82*")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK60DN512VMC10R") hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" endif endif endif newline width 16. sif cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10") rgroup.long 0x38++0x03 line.long 0x00 "POPR,DSPI2 POP RX FIFO Register" else hgroup.long 0x38++0x03 hide.long 0x00 "POPR,DSPI2 POP RX FIFO Register" in endif if ((per.l(ad:0x400ac000)&0x80000000)==0x80000000) rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI2 Transmit FIFO Register 0" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI2 Transmit FIFO Register 1" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI2 Transmit FIFO Register 2" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI2 Transmit FIFO Register 3" hexmask.long.word 0x00 16.--31. 1. " TXCMD ,Transmit command" hexmask.long.word 0x00 0.--15. 1. " TXDATA ,Transmit data" else sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long 0x3C++0x03 line.long 0x00 "TXFR0,DSPI2 Transmit FIFO Register 0" rgroup.long 0x40++0x03 line.long 0x00 "TXFR1,DSPI2 Transmit FIFO Register 1" rgroup.long 0x44++0x03 line.long 0x00 "TXFR2,DSPI2 Transmit FIFO Register 2" rgroup.long 0x48++0x03 line.long 0x00 "TXFR3,DSPI2 Transmit FIFO Register 3" elif !cpuis("MK8?FN256V*") hgroup.long 0x3C++0x03 hide.long 0x00 "TXFR0,DSPI2 Transmit FIFO Register 0" in hgroup.long 0x40++0x03 hide.long 0x00 "TXFR1,DSPI2 Transmit FIFO Register 1" in hgroup.long 0x44++0x03 hide.long 0x00 "TXFR2,DSPI2 Transmit FIFO Register 2" in hgroup.long 0x48++0x03 hide.long 0x00 "TXFR3,DSPI2 Transmit FIFO Register 3" in endif endif sif cpuis("MK8?FN256V*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DX256VLL7*")||cpuis("MK70*")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512VMC10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R")||cpuis("MK63FN1M0VLQ12R")||cpuis("MK65FN2M0VMI18R")||cpuis("KK65FN2M0CAC18R")||cpuis("MK66FN2M0VLQ18R") rgroup.long (0x7C+0x0)++0x03 line.long 0x00 "RXFR0,DSPI2 Receive FIFO Register 0" rgroup.long (0x7C+0x4)++0x03 line.long 0x00 "RXFR1,DSPI2 Receive FIFO Register 1" rgroup.long (0x7C+0x8)++0x03 line.long 0x00 "RXFR2,DSPI2 Receive FIFO Register 2" rgroup.long (0x7C+0xC)++0x03 line.long 0x00 "RXFR3,DSPI2 Receive FIFO Register 3" else hgroup.long 0x0++0x03 "DSPI2 Rx FIFO Registers" hide.long 0x00 "RXFR0,DSPI2 Receive FIFO Register 0" in hgroup.long 0x4++0x03 "DSPI2 Rx FIFO Registers" hide.long 0x00 "RXFR1,DSPI2 Receive FIFO Register 1" in hgroup.long 0x8++0x03 "DSPI2 Rx FIFO Registers" hide.long 0x00 "RXFR2,DSPI2 Receive FIFO Register 2" in hgroup.long 0xC++0x03 "DSPI2 Rx FIFO Registers" hide.long 0x00 "RXFR3,DSPI2 Receive FIFO Register 3" in endif width 0x0B tree.end endif tree.end tree.open "I2C (Inter-Integrated Circuit)" tree "I2C0" base ad:0x40066000 width 6. group.byte 0x00++0x03 line.byte 0x00 "A1,IIC0 Address Register 1" hexmask.byte 0x00 1.--7. 0x02 " AD ,Slave address bits [7:1]" line.byte 0x01 "F,IIC0 Frequency Divider Register" bitfld.byte 0x01 6.--7. " MULT ,Multiplier factor" "1,2,4,?..." bitfld.byte 0x01 0.--5. " ICR ,Clock rate (I2C baud rate/SDA hold time/SCL start hold time/SCL stop hold time)" "20/7/6/11,22/7/7/12,24/8/8/13,26/8/9/14,28/9/10/15,30/9/11/16,34/10/13/18,40/10/16/21,28/7/10/15,32/7/12/17,36/9/14/19,40/9/16/21,44/11/18/23,48/11/20/25,56/13/24/29,68/13/30/35,48/9/18/25,56/9/22/29,64/13/26/33,72/13/30/37,80/17/34/41,88/17/38/45,104/21/46/53,128/21/58/65,80/9/38/41,96/9/46/49,112/17/54/57,128/17/62/65,144/25/70/73,160/25/78/81,192/33/94/97,240/33/118/121,160/17/78/81,192/17/94/97,224/33/110/113,256/33/126/129,288/49/142/145,320/49/158/161,384/65/190/193,480/65/238/241,320/33/158/161,384/33/190/193,448/65/222/225,512/65/254/257,576/97/286/289,640/97/318/321,768/129/382/385,960/129/478/481,640/65/318/321,768/65/382/385,896/129/446/449,1024/129/510/513,1152/193/574/577,1280/193/638/641,1536/257/766/769,1920/257/958/961,1280/129/638/641,1536/129/766/769,1792/257/894/897,2048/257/1022/1025,2304/385/1150/1153,2560/385/1278/1281,3072/513/1534/1537,3840/513/1918/1921" line.byte 0x02 "C1,IIC0 Control Register 1" bitfld.byte 0x02 7. " IICEN ,IIC0 enable" "Disabled,Enabled" bitfld.byte 0x02 6. " IICIE ,IIC0 interrupt enable" "Disabled,Enabled" bitfld.byte 0x02 5. " MST ,Master mode select" "Slave,Master" bitfld.byte 0x02 4. " TX ,Transmit mode select" "Receive,Transmit" newline bitfld.byte 0x02 3. " TXAK ,Transmit acknowledge enable" "Disabled,Enabled" bitfld.byte 0x02 2. " RSTA ,Repeat START" "No effect,Start" bitfld.byte 0x02 1. " WUEN ,Wakeup enable" "Disabled,Enabled" bitfld.byte 0x02 0. " DMAEN ,DMA enable" "Disabled,Enabled" line.byte 0x03 "S,IIC0 Status Register" rbitfld.byte 0x03 7. " TCF ,Transfer complete flag" "Not completed,Completed" bitfld.byte 0x03 6. " IAAS ,Addressed as a slave" "Not addressed,Addressed" rbitfld.byte 0x03 5. " BUSY ,Bus busy" "Idle,Busy" eventfld.byte 0x03 4. " ARBL ,Arbitration lost" "Not lost,Lost" newline bitfld.byte 0x03 3. " RAM ,Range address match" "Not matched,Matched" rbitfld.byte 0x03 2. " SRW ,Slave read/write" "Write,Read" eventfld.byte 0x03 1. " IICIF ,Interrupt flag" "No interrupt,Interrupt" rbitfld.byte 0x03 0. " RXAK ,Receive acknowledge" "Acknowledged,Not acknowledged" newline hgroup.byte 0x04++0x00 hide.byte 0x00 "D,IIC0 Data I/O Register" in if ((per.b(ad:0x40066000+0x05)&0x40)==0x40) group.byte 0x05++0x00 line.byte 0x00 "C2,IIC0 Control Register 2" bitfld.byte 0x00 7. " GCAEN ,Enables general call address" "Disabled,Enabled" bitfld.byte 0x00 6. " ADEXT ,Controls the number of bits used for the slave address" "7-bit,10-bit" bitfld.byte 0x00 5. " HDRS ,Controls the drive capability of the I2C pads" "Normal,High" bitfld.byte 0x00 4. " SBRC ,Slave baud rate control" "Master baud rate,Independent" newline bitfld.byte 0x00 3. " RMEN ,Controls slave address matching for addresses between the values of the A1 and RA registers" "Disabled,Enabled" bitfld.byte 0x00 0.--2. " AD[10:8] ,Slave address bits [10:8]" "000,001,010,011,100,101,110,111" else group.byte 0x05++0x00 line.byte 0x00 "C2,IIC0 Control Register 2" bitfld.byte 0x00 7. " GCAEN ,Enables general call address" "Disabled,Enabled" bitfld.byte 0x00 6. " ADEXT ,Controls the number of bits used for the slave address" "7-bit,10-bit" bitfld.byte 0x00 5. " HDRS ,Controls the drive capability of the I2C pads" "Normal,High" bitfld.byte 0x00 4. " SBRC ,Slave baud rate control. Enables independent slave mode baud rate at maximum frequency" "Master's,Independent" newline bitfld.byte 0x00 3. " RMEN ,Controls slave address matching for addresses between the values of the A1 and RA registers" "Disabled,Enabled" endif group.byte 0x06++0x05 line.byte 0x00 "FLT,IIC0 Programmable Input Glitch Filter Register" sif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 0.--4. " FLT ,IIC0 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else sif cpuis("MK21F*")||cpuis("MK22F*")||cpuis("MK02*")||cpuis("MK6*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 7. " SHEN ,Stop hold enable" "Disabled,Enabled" eventfld.byte 0x00 6. " STOPF ,IIC0 bus stop detect flag" "Not detected,Detected" bitfld.byte 0x00 5. " SSIE ,I2C bus stop or start interrupt enable" "Disabled,Enabled" eventfld.byte 0x00 4. " STARTF ,I2C bus start detect flag" "Not started,Started" newline bitfld.byte 0x00 0.--3. " FLT ,IIC0 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 0.--4. " FLT ,IIC0 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif endif line.byte 0x01 "RA,IIC0 Range Address Register" hexmask.byte 0x01 1.--7. 0x02 " RAD ,Range slave address" line.byte 0x02 "SMB,IIC0 SMBus Control and Status Register" bitfld.byte 0x02 7. " FACK ,Fast NACK/ACK enable" "NACK/ACK on following,ACK/NACK by TXAK" bitfld.byte 0x02 6. " ALERTEN ,SMBus alert response address enable" "Disabled,Enabled" bitfld.byte 0x02 5. " SIICAEN ,Second IIC0 address enable" "Disabled,Enabled" bitfld.byte 0x02 4. " TCKSEL ,Timeout counter clock select" "Clock / 64,Clock" newline eventfld.byte 0x02 3. " SLTF ,SCL low timeout flag" "Not occurred,Occurred" rbitfld.byte 0x02 2. " SHTF1 ,SCL high timeout flag 1" "Not occurred,Occurred" eventfld.byte 0x02 1. " SHTF2 ,SCL high timeout flag 2" "Not occurred,Occurred" bitfld.byte 0x02 0. " SHTF2IE ,SHTF2 interrupt enable" "Disabled,Enabled" line.byte 0x03 "A2,IIC0 Address Register 2" hexmask.byte 0x03 1.--7. 0x02 " SAD ,SMBus address" line.byte 0x04 "SLTH,IIC0 SCL Low Timeout High Register" line.byte 0x05 "SLTL,IIC0 SCL Low Timeout Low Register" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x0C++0x00 line.byte 0x00 "S2,IIC0 Status Register 2" eventfld.byte 0x00 1. " ERROR ,Read or write errors with the Tx and Rx buffers" "No error,Error" rbitfld.byte 0x00 0. " EMPTY ,Tx or Rx buffer is empty" "Not empty,Empty" endif width 0x0B tree.end tree "I2C1" base ad:0x40067000 width 6. group.byte 0x00++0x03 line.byte 0x00 "A1,IIC1 Address Register 1" hexmask.byte 0x00 1.--7. 0x02 " AD ,Slave address bits [7:1]" line.byte 0x01 "F,IIC1 Frequency Divider Register" bitfld.byte 0x01 6.--7. " MULT ,Multiplier factor" "1,2,4,?..." bitfld.byte 0x01 0.--5. " ICR ,Clock rate (I2C baud rate/SDA hold time/SCL start hold time/SCL stop hold time)" "20/7/6/11,22/7/7/12,24/8/8/13,26/8/9/14,28/9/10/15,30/9/11/16,34/10/13/18,40/10/16/21,28/7/10/15,32/7/12/17,36/9/14/19,40/9/16/21,44/11/18/23,48/11/20/25,56/13/24/29,68/13/30/35,48/9/18/25,56/9/22/29,64/13/26/33,72/13/30/37,80/17/34/41,88/17/38/45,104/21/46/53,128/21/58/65,80/9/38/41,96/9/46/49,112/17/54/57,128/17/62/65,144/25/70/73,160/25/78/81,192/33/94/97,240/33/118/121,160/17/78/81,192/17/94/97,224/33/110/113,256/33/126/129,288/49/142/145,320/49/158/161,384/65/190/193,480/65/238/241,320/33/158/161,384/33/190/193,448/65/222/225,512/65/254/257,576/97/286/289,640/97/318/321,768/129/382/385,960/129/478/481,640/65/318/321,768/65/382/385,896/129/446/449,1024/129/510/513,1152/193/574/577,1280/193/638/641,1536/257/766/769,1920/257/958/961,1280/129/638/641,1536/129/766/769,1792/257/894/897,2048/257/1022/1025,2304/385/1150/1153,2560/385/1278/1281,3072/513/1534/1537,3840/513/1918/1921" line.byte 0x02 "C1,IIC1 Control Register 1" bitfld.byte 0x02 7. " IICEN ,IIC1 enable" "Disabled,Enabled" bitfld.byte 0x02 6. " IICIE ,IIC1 interrupt enable" "Disabled,Enabled" bitfld.byte 0x02 5. " MST ,Master mode select" "Slave,Master" bitfld.byte 0x02 4. " TX ,Transmit mode select" "Receive,Transmit" newline bitfld.byte 0x02 3. " TXAK ,Transmit acknowledge enable" "Disabled,Enabled" bitfld.byte 0x02 2. " RSTA ,Repeat START" "No effect,Start" bitfld.byte 0x02 1. " WUEN ,Wakeup enable" "Disabled,Enabled" bitfld.byte 0x02 0. " DMAEN ,DMA enable" "Disabled,Enabled" line.byte 0x03 "S,IIC1 Status Register" rbitfld.byte 0x03 7. " TCF ,Transfer complete flag" "Not completed,Completed" bitfld.byte 0x03 6. " IAAS ,Addressed as a slave" "Not addressed,Addressed" rbitfld.byte 0x03 5. " BUSY ,Bus busy" "Idle,Busy" eventfld.byte 0x03 4. " ARBL ,Arbitration lost" "Not lost,Lost" newline bitfld.byte 0x03 3. " RAM ,Range address match" "Not matched,Matched" rbitfld.byte 0x03 2. " SRW ,Slave read/write" "Write,Read" eventfld.byte 0x03 1. " IICIF ,Interrupt flag" "No interrupt,Interrupt" rbitfld.byte 0x03 0. " RXAK ,Receive acknowledge" "Acknowledged,Not acknowledged" newline hgroup.byte 0x04++0x00 hide.byte 0x00 "D,IIC1 Data I/O Register" in if ((per.b(ad:0x40067000+0x05)&0x40)==0x40) group.byte 0x05++0x00 line.byte 0x00 "C2,IIC1 Control Register 2" bitfld.byte 0x00 7. " GCAEN ,Enables general call address" "Disabled,Enabled" bitfld.byte 0x00 6. " ADEXT ,Controls the number of bits used for the slave address" "7-bit,10-bit" bitfld.byte 0x00 5. " HDRS ,Controls the drive capability of the I2C pads" "Normal,High" bitfld.byte 0x00 4. " SBRC ,Slave baud rate control" "Master baud rate,Independent" newline bitfld.byte 0x00 3. " RMEN ,Controls slave address matching for addresses between the values of the A1 and RA registers" "Disabled,Enabled" bitfld.byte 0x00 0.--2. " AD[10:8] ,Slave address bits [10:8]" "000,001,010,011,100,101,110,111" else group.byte 0x05++0x00 line.byte 0x00 "C2,IIC1 Control Register 2" bitfld.byte 0x00 7. " GCAEN ,Enables general call address" "Disabled,Enabled" bitfld.byte 0x00 6. " ADEXT ,Controls the number of bits used for the slave address" "7-bit,10-bit" bitfld.byte 0x00 5. " HDRS ,Controls the drive capability of the I2C pads" "Normal,High" bitfld.byte 0x00 4. " SBRC ,Slave baud rate control. Enables independent slave mode baud rate at maximum frequency" "Master's,Independent" newline bitfld.byte 0x00 3. " RMEN ,Controls slave address matching for addresses between the values of the A1 and RA registers" "Disabled,Enabled" endif group.byte 0x06++0x05 line.byte 0x00 "FLT,IIC1 Programmable Input Glitch Filter Register" sif cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") bitfld.byte 0x00 0.--4. " FLT ,IIC1 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" else sif cpuis("MK21F*")||cpuis("MK22F*")||cpuis("MK02*")||cpuis("MK6*")||cpuis("MK24FN*")||cpuis("MK26FN*")||cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("KK22FN256CAP12R")||cpuis("KK22FN512CBP12R")||cpuis("KK22FN128CAH12R")||cpuis("KK22FN256CAH12R")||cpuis("KK26FN2M0CAC18R")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15")||cpuis("KK65FN2M0CAC18R") bitfld.byte 0x00 7. " SHEN ,Stop hold enable" "Disabled,Enabled" eventfld.byte 0x00 6. " STOPF ,IIC1 bus stop detect flag" "Not detected,Detected" bitfld.byte 0x00 5. " SSIE ,I2C bus stop or start interrupt enable" "Disabled,Enabled" eventfld.byte 0x00 4. " STARTF ,I2C bus start detect flag" "Not started,Started" newline bitfld.byte 0x00 0.--3. " FLT ,IIC1 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else bitfld.byte 0x00 0.--4. " FLT ,IIC1 programmable filter factor" "No filter,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif endif line.byte 0x01 "RA,IIC1 Range Address Register" hexmask.byte 0x01 1.--7. 0x02 " RAD ,Range slave address" line.byte 0x02 "SMB,IIC1 SMBus Control and Status Register" bitfld.byte 0x02 7. " FACK ,Fast NACK/ACK enable" "NACK/ACK on following,ACK/NACK by TXAK" bitfld.byte 0x02 6. " ALERTEN ,SMBus alert response address enable" "Disabled,Enabled" bitfld.byte 0x02 5. " SIICAEN ,Second IIC1 address enable" "Disabled,Enabled" bitfld.byte 0x02 4. " TCKSEL ,Timeout counter clock select" "Clock / 64,Clock" newline eventfld.byte 0x02 3. " SLTF ,SCL low timeout flag" "Not occurred,Occurred" rbitfld.byte 0x02 2. " SHTF1 ,SCL high timeout flag 1" "Not occurred,Occurred" eventfld.byte 0x02 1. " SHTF2 ,SCL high timeout flag 2" "Not occurred,Occurred" bitfld.byte 0x02 0. " SHTF2IE ,SHTF2 interrupt enable" "Disabled,Enabled" line.byte 0x03 "A2,IIC1 Address Register 2" hexmask.byte 0x03 1.--7. 0x02 " SAD ,SMBus address" line.byte 0x04 "SLTH,IIC1 SCL Low Timeout High Register" line.byte 0x05 "SLTL,IIC1 SCL Low Timeout Low Register" sif cpuis("MK84FN2M0CAU15R")||cpuis("MK8?FN256V*")||cpuis("MK27FN2M0VMI15")||cpuis("KK28FN2M0CAU15R")||cpuis("MK28FN2M0CAU15R")||cpuis("MK28FN2M0VMI15") group.byte 0x0C++0x00 line.byte 0x00 "S2,IIC1 Status Register 2" eventfld.byte 0x00 1. " ERROR ,Read or write errors with the Tx and Rx buffers" "No error,Error" rbitfld.byte 0x00 0. " EMPTY ,Tx or Rx buffer is empty" "Not empty,Empty" endif width 0x0B tree.end tree.end tree.open "UART (Universal asynchronous receiver/transmitter)" tree "UART 0" base ad:0x4006A000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 0 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART0_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART0_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART0_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART0_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART0_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART0_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006A000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x4006A000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006A000+0x0A)&0x20)==0x00))||(((per.b(ad:0x4006A000+0x02)&0x12)==0x10)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006A000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006A000+0x02)&0x12)==0x12)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006A000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006A000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006A000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006A000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART0_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART0_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART0_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART0_MA1,UART Match Address Register 1" line.byte 0x01 "UART0_MA2,UART Match Address Register 2" line.byte 0x02 "UART0_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART0_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART0_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART0_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART0_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 0 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006A000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART0_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART0_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART0_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART0_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART0_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006A000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART0_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART0_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART0_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART0_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006A000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART0_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART0_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART0_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART0_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. tree "UART 0 ISO7816 Registers" group.byte 0x18++0x02 line.byte 0x00 "UART0_C7816,UART 7816 Control Register" bitfld.byte 0x00 4. " ONACK ,Generate NACK on overflow" "Not generated,Generated" bitfld.byte 0x00 3. " ANACK ,Generate NACK on error" "Not generated,Generated" bitfld.byte 0x00 2. " INIT ,Detect initial character" "Not detected,Detected" textline " " bitfld.byte 0x00 1. " TTYPE ,Transfer type" "0 per the ISO-7816,1 per the ISO-7816" bitfld.byte 0x00 0. " ISO_7816E ,ISO-7816 functionality enabled" "Disabled,Enabled" line.byte 0x01 "UART0_IE7816,UART 7816 Interrupt Enable Register" bitfld.byte 0x01 7. " WTE ,Wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 6. " CWTE ,Character wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 5. " BWTE ,Block wait timer interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x01 4. " INITDE ,Initial character detected interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 2. " GTVE ,Guard timer violated interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 1. " TXTE ,Transmit threshold exceeded interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x01 0. " RXTE ,Receive threshold exceeded interrupt enable" "Disabled,Enabled" line.byte 0x02 "UART0_IS7816,UART 7816 Interrupt Status Register" eventfld.byte 0x02 7. " WT ,Wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 6. " CWT ,Character wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 5. " BWT ,Block wait timer interrupt" "No interrupt,Interrupt" textline " " eventfld.byte 0x02 4. " INITD ,Initial character detected interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 2. " GTV ,Guard timer violated interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 1. " TXT ,Transmit threshold exceeded interrupt" "No interrupt,Interrupt" textline " " eventfld.byte 0x02 0. " RXT ,Receive threshold exceeded interrupt" "No interrupt,Interrupt" if ((per.b(ad:0x4006A000+0x18)&0x02)==0x00) sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006A000+0x18)&0x01)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T0,UART 7816 Wait Parameter Register" else rgroup.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T0,UART 7816 Wait Parameter Register" endif else group.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T0,UART 7816 Wait Parameter Register" endif else sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006A000+0x18)&0x01)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else rgroup.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else group.byte 0x1B++0x00 line.byte 0x00 "UART0_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006A000+0x18)&0x01)==0x00) group.byte 0x1C++0x01 line.byte 0x00 "UART0_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART0_WF7816,UART 7816 Wait FD Register" else rgroup.byte 0x1C++0x01 line.byte 0x00 "UART0_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART0_WF7816,UART 7816 Wait FD Register" endif else group.byte 0x1C++0x01 line.byte 0x00 "UART0_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART0_WF7816,UART 7816 Wait FD Register" endif group.byte 0x1E++0x00 line.byte 0x00 "UART0_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x00 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if ((per.b(ad:0x4006A000+0x18)&0x02)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART0_TL7816,UART 7816 Transmit Length Register" else group.byte 0x1F++0x00 line.byte 0x00 "UART0_TL7816,UART 7816 Transmit Length Register" endif tree.end width 20. sif !cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10")&&!cpuis("MK53DX256ZCMD10")&&!cpuis("MK50DX256ZCLL10")&&!cpuis("MK50DN512ZCLL10")&&!cpuis("MK52DN512ZCLQ10")&&!cpuis("MK52DN512ZCMD10")&&!cpuis("MK51DN256ZCLQ10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK51DN512ZCMD10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCLL10")&&!cpuis("MK51DN512ZCLL10")&&!cpuis("MK50DN512ZCLQ10")&&!cpuis("MK50DN512ZCMD10")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10") sif cpuis("MK?0D*")||cpuis("MK5*")||cpuis("MK6*")||cpuis("MK70*") tree "UART 0 CEA709.1-B Registers" sif !cpuis("MK?0DN*AB10") group.byte 0x21++0x8 line.byte 0x00 "UART0_C6,UART CEA709.1-B Control Register 6" bitfld.byte 0x00 7. " EN709 ,Enable CEA709.1-B feature" "Disabled,Enabled" bitfld.byte 0x00 6. " TX709 ,Enable CEA709.1-B transmission" "Disabled,Enabled" textline " " bitfld.byte 0x00 5. " CE ,Collision enable" "Disabled,Enabled" bitfld.byte 0x00 4. " CP ,Collision signal polarity" "Active low,Active high" line.byte 0x01 "UART0_PCTH,UART CEA709.1-B Packet Cycle Time Counter High Register" line.byte 0x02 "UART0_PCTL,UART CEA709.1-B Packet Cycle Time Counter Low Register" sif !cpuis("MK?0D*10")&&!cpuis("MK5*10") line.byte 0x03 "UART0_B1T,UART CEA709.1-B Beta1 Timer Register" else line.byte 0x03 "UART0_IE0,UART CEA709.1-B Interrupt Enable Register 0" bitfld.byte 0x03 2. " RPLOFIE ,Receive packer length overflow interrupt enable" "Disabled,Enabled" bitfld.byte 0x03 1. " CTXDIE ,Collision during transmission of byte sync or later packet Interrupt Enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 0. " CPTXIE ,Collision during preamble transmission Interrupt Enable" "Disabled,Enabled" endif line.byte 0x04 "UART0_SDTH,UART CEA709.1-B Secondary Delay Timer High Register" line.byte 0x05 "UART0_SDTL,UART CEA709.1-B Secondary Delay Timer Low Register" line.byte 0x06 "UART0_PRE,UART CEA709.1-B Preamble Register" line.byte 0x07 "UART0_TPL,UART CEA709.1-B Transmit Packet Length Register" line.byte 0x08 "UART0_IE,UART CEA709.1-B Interrupt Enable Register" sif cpuis("MK?0D*10")||cpuis("MK5*10")||cpuis("MK60DN512VMC10R") bitfld.byte 0x08 7. " PEIE ,Preamble error interrupt enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x08 6. " WBEIE ,Wbase expired interrupt enable" "Disabled,Enabled" bitfld.byte 0x08 5. " ISDIE ,Initial sync detection interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x08 4. " PRXIE ,Packet received interrupt enable" "Disabled,Enabled" bitfld.byte 0x08 3. " PTXIE ,Packet transmitted interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x08 2. " PCTEIE ,Packet cycle timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x08 1. " PSIE ,Preamble start interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x08 0. " TXFIE ,Transmission fail interrupt enable" "Disabled,Enabled" group.byte 0x2A++0x02 line.byte 0x00 "UART0_WB,UART CEA709.1-B WBASE Register" line.byte 0x01 "UART0_S3,UART CEA709.1-B Status Register" eventfld.byte 0x01 7. " PEF ,Preamble error flag" "No error,Error" eventfld.byte 0x01 6. " WBEF ,Wbase expired flag" "Not expired,Expired" textline " " rbitfld.byte 0x01 5. " ISD ,Initial sync detection enable" "Not detected,Detected" eventfld.byte 0x01 4. " PRXF ,Packet received flag" "Not received,Received" textline " " eventfld.byte 0x01 3. " PTXF ,Packet transmitted flag" "Not completed,Completed" eventfld.byte 0x01 2. " PCTEF ,Packet cycle timer expired flag" "Not expired,Expired" textline " " eventfld.byte 0x01 1. " PSF ,Preamble start flag" "Not detected,Detected" eventfld.byte 0x01 0. " TXFF ,Transmission fail flag" "Not failed,Failed" line.byte 0x02 "UART0_S4,UART CEA709.1-B Status Register" sif cpuis("MK?0D*10")||cpuis("MK5*10") eventfld.byte 0x02 5. " LNF ,LON noise flag" "No noise,Noise detected" eventfld.byte 0x02 4. " RPLOF ,Received packet length overflow flag" "No overflow,Overflow" textline " " bitfld.byte 0x02 2.--3. " CDET ,Collision occurring during transmission" "No collision,Preamble,Byte sync or data,Line code violation" eventfld.byte 0x02 1. " TXDF ,Transmission delay flag" "Not delayed,Delayed" textline " " else rbitfld.byte 0x02 4. " INITF ,Initial synchronization fail flag" "Not failed,Failed" bitfld.byte 0x02 2.--3. " CDET ,Collision occurring during transmission" "No collision,Preamble,Byte sync or data,Line code violation" textline " " eventfld.byte 0x02 1. " ILCV ,Improper line code violation" "Proper,Not proper" textline " " endif eventfld.byte 0x02 0. " FE ,Framing error" "No error,Error" rgroup.byte 0x2D++0x01 line.byte 0x00 "UART0_RPL,UART CEA709.1-B Received Packet Length Register" line.byte 0x01 "UART0_RPREL,UART CEA709.1-B Received Preamble Length Register" group.byte 0x2F++0x01 line.byte 0x00 "UART0_CPW,UART CEA709.1-B Collision Pulse Width Register" sif cpuis("MK?0D*10")||cpuis("MK5*10") group.byte 0x30++0x08 line.byte 0x00 "UART0_RIDTH,UART CEA709.1-B Receive Indeterminate Time High Register" line.byte 0x01 "UART0_RIDTL,UART CEA709.1-B Receive Indeterminate Time Low Register" line.byte 0x02 "UART0_TIDTH,UART CEA709.1-B Transmit Indeterminate Time High Register" line.byte 0x03 "UART0_TIDTL,UART CEA709.1-B Transmit Indeterminate Time Low Register" line.byte 0x04 "UART0_RB1TH,UART CEA709.1-B Receive Beta1 Timer High" line.byte 0x05 "UART0_RB1TL,UART CEA709.1-B Receive Beta1 Timer Low" line.byte 0x06 "UART0_TB1TH,UART CEA709.1-B Transmit Beta1 Timer High" line.byte 0x07 "UART0_TB1TL,UART CEA709.1-B Transmit Beta1 Timer Low" line.byte 0x08 "UART0_PROG_REG,UART CEA709.1-B Programmable register" bitfld.byte 0x08 4.--7. " LCV_LEN ,Line code violation length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x08 0.--3. " MIN_DMC1 ,Minimum DMC-1s" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" rgroup.byte 0x39++0x00 line.byte 0x00 "UART0_STATE_REG,UART CEA709.1-B State register" bitfld.byte 0x00 3.--5. " TX_STATE ,LON TX State" "0,1,2,3,4,5,6,7" bitfld.byte 0x00 0.--2. " SM_STATE ,LON SM State" "0,1,2,3,4,5,6,7" else group.byte 0x30++0x01 line.byte 0x00 "UART0_RIDT,UART CEA709.1-B Receive Indeterminate Time Register" line.byte 0x01 "UART0_TIDT,UART CEA709.1-B Transmit Indeterminate Time Register" endif else group.byte 0x24++0x00 line.byte 0x00 "UART0_B1T,UART CEA709.1-B Beta1 Timer Register" group.byte 0x30++0x01 line.byte 0x00 "UART0_RIDT,UART CEA709.1-B Receive Indeterminate Time Register" line.byte 0x01 "UART0_TIDT,UART CEA709.1-B Transmit Indeterminate Time Register" endif tree.end endif endif elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 0 ISO7816 Registers" width 19. tree.end endif width 0x0B tree.end tree "UART 1" base ad:0x4006B000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 1 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART1_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART1_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART1_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART1_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART1_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART1_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006B000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x4006B000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006B000+0x0A)&0x20)==0x00))||(((per.b(ad:0x4006B000+0x02)&0x12)==0x10)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006B000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006B000+0x02)&0x12)==0x12)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006B000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006B000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006B000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006B000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART1_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART1_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART1_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART1_MA1,UART Match Address Register 1" line.byte 0x01 "UART1_MA2,UART Match Address Register 2" line.byte 0x02 "UART1_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART1_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART1_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART1_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART1_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 1 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006B000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART1_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART1_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART1_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART1_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART1_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006B000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART1_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART1_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART1_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART1_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006B000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART1_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART1_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART1_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART1_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 1 ISO7816 Registers" width 19. group.byte 0x18++0x02 line.byte 0x00 "UART1_C7816,UART 7816 Control Register" bitfld.byte 0x00 4. " ONACK ,Generate NACK on overflow" "Not generated,Generated" bitfld.byte 0x00 3. " ANACK ,Generate NACK on error" "Not generated,Generated" bitfld.byte 0x00 2. " INIT ,Detect initial character" "Not detected,Detected" textline " " bitfld.byte 0x00 1. " TTYPE ,Transfer type" "0 per the ISO-7816,1 per the ISO-7816" bitfld.byte 0x00 0. " ISO_7816E ,ISO-7816 functionality enabled" "Disabled,Enabled" line.byte 0x01 "UART1_IE7816,UART 7816 Interrupt Enable Register" bitfld.byte 0x01 7. " WTE ,Wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 6. " CWTE ,Character wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 5. " BWTE ,Block wait timer interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x01 4. " INITDE ,Initial character detected interrupt enable" "Disabled,Enabled" textline " " sif (cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) bitfld.byte 0x01 3. " ADTE ,ATR duration timer interrupt enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x01 2. " GTVE ,Guard timer violated interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 1. " TXTE ,Transmit threshold exceeded interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 0. " RXTE ,Receive threshold exceeded interrupt enable" "Disabled,Enabled" line.byte 0x02 "UART1_IS7816,UART 7816 Interrupt Status Register" eventfld.byte 0x02 7. " WT ,Wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 6. " CWT ,Character wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 5. " BWT ,Block wait timer interrupt" "No interrupt,Interrupt" textline " " eventfld.byte 0x02 4. " INITD ,Initial character detected interrupt" "No interrupt,Interrupt" textline " " sif (cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) eventfld.byte 0x02 3. " ADT ,ATR duration time interrupt" "No interrupt,Interrupt" textline " " endif eventfld.byte 0x02 2. " GTV ,Guard timer violated interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 1. " TXT ,Transmit threshold exceeded interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 0. " RXT ,Receive threshold exceeded interrupt" "No interrupt,Interrupt" sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*") if (((per.b(ad:0x4006B000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006B000+0x18))&0x02)==0x00) rgroup.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T0,UART 7816 Wait Parameter Register" else rgroup.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else if (((per.b(ad:0x4006B000+0x18))&0x02)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T0,UART 7816 Wait Parameter Register" else group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif endif elif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006B000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006B000+0x18))&0x02)==0x00) hgroup.byte 0x1B++0x00 hide.byte 0x00 "UART1_WP7816,UART 7816 Wait Parameter Register" in else group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816,UART 7816 Wait Parameter Register" endif else if (((per.b(ad:0x4006B000+0x18))&0x02)==0x00) hgroup.byte 0x1B++0x00 hide.byte 0x00 "UART1_WP7816,UART 7816 Wait Parameter Register" in else group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816,UART 7816 Wait Parameter Register" endif endif else if (((per.b(ad:0x4006B000+0x18))&0x02)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T0,UART 7816 Wait Parameter Register" else group.byte 0x1B++0x00 line.byte 0x00 "UART1_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif endif sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006B000+0x18)&0x01)==0x01)) rgroup.byte 0x1C++0x02 line.byte 0x00 "UART1_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART1_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART1_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else group.byte 0x1C++0x02 line.byte 0x00 "UART1_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART1_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART1_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif if (((per.b(ad:0x4006B000+0x03)&0x08)==0x08)) if (((per.b(ad:0x4006B000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" else rgroup.byte 0x1F++0x00 line.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" endif else if (((per.b(ad:0x4006B000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" else group.byte 0x1F++0x00 line.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" endif endif else group.byte 0x1C++0x02 line.byte 0x00 "UART1_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART1_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART1_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if (((per.b(ad:0x4006B000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" else group.byte 0x1F++0x00 line.byte 0x00 "UART1_TL7816,UART 7816 Transmit Length Register" endif endif textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006B000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006B000+0x18))&0x2)==0x00) rgroup.byte 0x3A++0x03 line.byte 0x00 "UART1_AP7816A_T0,UART 7816 ATR Duration Timer Register A" line.byte 0x01 "UART1_AP7816B_T0,UART 7816 ATR Duration Timer Register B" line.byte 0x02 "UART1_WP7816A_T0,UART 7816 Wait Parameter Register A" hexmask.byte 0x02 0.--7. 1. " WI_H ,Wait time integer high" line.byte 0x03 "UART1_WP7816B_T0,UART 7816 Wait Parameter Register B" hexmask.byte 0x03 0.--7. 1. " WI_L ,Wait time integer low" hgroup.byte 0x3E++0x00 hide.byte 0x00 "UART1_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" in hgroup.byte 0x3F++0x00 hide.byte 0x00 "UART1_WGP7816_T1,UART 7816 Wait Parameter Register C" in else hgroup.byte 0x3A++0x00 hide.byte 0x00 "UART1_AP7816A_T0,UART 7816 ATR Duration Timer Register A" in hgroup.byte 0x3B++0x00 hide.byte 0x00 "UART1_AP7816B_T0,UART 7816 ATR Duration Timer Register B" in rgroup.byte 0x3C++0x03 line.byte 0x00 "UART1_WP7816A_T1,UART 7816 Wait Parameter Register A" hexmask.byte 0x00 0.--7. 1. " BWI_H ,Block wait time integer high" line.byte 0x01 "UART1_WP7816B_T1,UART 7816 Wait Parameter Register B" hexmask.byte 0x01 0.--7. 1. " BWI_L ,Block wait time integer low" line.byte 0x02 "UART1_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" bitfld.byte 0x02 4.--7. " CWI1 ,Character wait time integer 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " BGI ,Block guard time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" line.byte 0x03 "UART1_WP7816C_T1,UART 7816 Wait Parameter Register C" bitfld.byte 0x03 0.--4. " CWI2 ,Character wait time integer 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif else if (((per.b(ad:0x4006B000+0x18))&0x2)==0x00) group.byte 0x3A++0x03 line.byte 0x00 "UART1_AP7816A_T0,UART 7816 ATR Duration Timer Register A" line.byte 0x01 "UART1_AP7816B_T0,UART 7816 ATR Duration Timer Register B" line.byte 0x02 "UART1_WP7816A_T0,UART 7816 Wait Parameter Register A" hexmask.byte 0x02 0.--7. 1. " WI_H ,Wait time integer high" line.byte 0x03 "UART1_WP7816B_T0,UART 7816 Wait Parameter Register B" hexmask.byte 0x03 0.--7. 1. " WI_L ,Wait time integer low" hgroup.byte 0x3E++0x00 hide.byte 0x00 "UART1_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" in hgroup.byte 0x3F++0x00 hide.byte 0x00 "UART1_WGP7816_T1,UART 7816 Wait Parameter Register C" in else hgroup.byte 0x3A++0x00 hide.byte 0x00 "UART1_AP7816A_T0,UART 7816 ATR Duration Timer Register A" in hgroup.byte 0x3B++0x00 hide.byte 0x00 "UART1_AP7816B_T0,UART 7816 ATR Duration Timer Register B" in group.byte 0x3C++0x03 line.byte 0x00 "UART1_WP7816A_T1,UART 7816 Wait Parameter Register A" hexmask.byte 0x00 0.--7. 1. " BWI_H ,Block wait time integer high" line.byte 0x01 "UART1_WP7816B_T1,UART 7816 Wait Parameter Register B" hexmask.byte 0x01 0.--7. 1. " BWI_L ,Block wait time integer low" line.byte 0x02 "UART1_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" bitfld.byte 0x02 4.--7. " CWI1 ,Character wait time integer 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " BGI ,Block guard time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" line.byte 0x03 "UART1_WP7816C_T1,UART 7816 Wait Parameter Register C" bitfld.byte 0x03 0.--4. " CWI2 ,Character wait time integer 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif endif endif tree.end endif width 0x0B tree.end tree "UART 2" base ad:0x4006C000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 2 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART2_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART2_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART2_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART2_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART2_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART2_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006c000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x4006c000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006c000+0x0A)&0x20)==0x00))||(((per.b(ad:0x4006c000+0x02)&0x12)==0x10)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006c000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006c000+0x02)&0x12)==0x12)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006c000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006c000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006c000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006c000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART2_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART2_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART2_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART2_MA1,UART Match Address Register 1" line.byte 0x01 "UART2_MA2,UART Match Address Register 2" line.byte 0x02 "UART2_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART2_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART2_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART2_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART2_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 2 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006c000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART2_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART2_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART2_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART2_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART2_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006c000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART2_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART2_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART2_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART2_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006c000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART2_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART2_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART2_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART2_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 2 ISO7816 Registers" width 19. tree.end endif width 0x0B tree.end sif !cpuis("MK5?D*CLH7") tree "UART 3" base ad:0x4006D000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 3 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART3_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART3_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART3_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART3_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART3_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART3_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x4006d000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x4006d000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006d000+0x0A)&0x20)==0x00))||(((per.b(ad:0x4006d000+0x02)&0x12)==0x10)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006d000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006d000+0x02)&0x12)==0x12)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x00)&&((per.b(ad:0x4006d000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006d000+0x02)&0x10)==0x00)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x4006d000+0x02)&0x10)==0x10)&&((per.b(ad:0x4006d000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART3_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART3_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART3_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART3_MA1,UART Match Address Register 1" line.byte 0x01 "UART3_MA2,UART Match Address Register 2" line.byte 0x02 "UART3_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART3_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART3_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART3_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART3_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 3 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006d000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART3_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART3_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART3_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART3_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART3_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006d000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART3_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART3_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART3_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART3_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x4006d000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART3_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART3_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART3_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART3_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 3 ISO7816 Registers" width 19. group.byte 0x18++0x02 line.byte 0x00 "UART3_C7816,UART 7816 Control Register" bitfld.byte 0x00 4. " ONACK ,Generate NACK on overflow" "Not generated,Generated" bitfld.byte 0x00 3. " ANACK ,Generate NACK on error" "Not generated,Generated" bitfld.byte 0x00 2. " INIT ,Detect initial character" "Not detected,Detected" textline " " bitfld.byte 0x00 1. " TTYPE ,Transfer type" "0 per the ISO-7816,1 per the ISO-7816" bitfld.byte 0x00 0. " ISO_7816E ,ISO-7816 functionality enabled" "Disabled,Enabled" line.byte 0x01 "UART3_IE7816,UART 7816 Interrupt Enable Register" bitfld.byte 0x01 7. " WTE ,Wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 6. " CWTE ,Character wait timer interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 5. " BWTE ,Block wait timer interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x01 4. " INITDE ,Initial character detected interrupt enable" "Disabled,Enabled" textline " " sif (cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) bitfld.byte 0x01 3. " ADTE ,ATR duration timer interrupt enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x01 2. " GTVE ,Guard timer violated interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 1. " TXTE ,Transmit threshold exceeded interrupt enable" "Disabled,Enabled" bitfld.byte 0x01 0. " RXTE ,Receive threshold exceeded interrupt enable" "Disabled,Enabled" line.byte 0x02 "UART3_IS7816,UART 7816 Interrupt Status Register" eventfld.byte 0x02 7. " WT ,Wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 6. " CWT ,Character wait timer interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 5. " BWT ,Block wait timer interrupt" "No interrupt,Interrupt" textline " " eventfld.byte 0x02 4. " INITD ,Initial character detected interrupt" "No interrupt,Interrupt" textline " " sif (cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) eventfld.byte 0x02 3. " ADT ,ATR duration time interrupt" "No interrupt,Interrupt" textline " " endif eventfld.byte 0x02 2. " GTV ,Guard timer violated interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 1. " TXT ,Transmit threshold exceeded interrupt" "No interrupt,Interrupt" eventfld.byte 0x02 0. " RXT ,Receive threshold exceeded interrupt" "No interrupt,Interrupt" sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*") if (((per.b(ad:0x4006d000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006d000+0x18))&0x02)==0x00) rgroup.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T0,UART 7816 Wait Parameter Register" else rgroup.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif else if (((per.b(ad:0x4006d000+0x18))&0x02)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T0,UART 7816 Wait Parameter Register" else group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif endif elif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006d000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006d000+0x18))&0x02)==0x00) hgroup.byte 0x1B++0x00 hide.byte 0x00 "UART3_WP7816,UART 7816 Wait Parameter Register" in else group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816,UART 7816 Wait Parameter Register" endif else if (((per.b(ad:0x4006d000+0x18))&0x02)==0x00) hgroup.byte 0x1B++0x00 hide.byte 0x00 "UART3_WP7816,UART 7816 Wait Parameter Register" in else group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816,UART 7816 Wait Parameter Register" endif endif else if (((per.b(ad:0x4006d000+0x18))&0x02)==0x00) group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T0,UART 7816 Wait Parameter Register" else group.byte 0x1B++0x00 line.byte 0x00 "UART3_WP7816T1,UART 7816 Wait Parameter Register" bitfld.byte 0x00 4.--7. " CWI ,Character wait time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x00 0.--3. " BWI ,Block wait timer integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif endif sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006d000+0x18)&0x01)==0x01)) rgroup.byte 0x1C++0x02 line.byte 0x00 "UART3_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART3_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART3_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" else group.byte 0x1C++0x02 line.byte 0x00 "UART3_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART3_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART3_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" endif if (((per.b(ad:0x4006d000+0x03)&0x08)==0x08)) if (((per.b(ad:0x4006d000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" else rgroup.byte 0x1F++0x00 line.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" endif else if (((per.b(ad:0x4006d000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" else group.byte 0x1F++0x00 line.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" endif endif else group.byte 0x1C++0x02 line.byte 0x00 "UART3_WN7816,UART 7816 Wait N Register" line.byte 0x01 "UART3_WF7816,UART 7816 Wait FD Register" line.byte 0x02 "UART3_ET7816,UART 7816 Error Threshold Register" bitfld.byte 0x02 4.--7. " TXTHRESHOLD ,Transmit NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " RXTHRESHOLD ,Receive NACK threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" if (((per.b(ad:0x4006d000+0x18))&0x2)==0x00) hgroup.byte 0x1F++0x00 hide.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" else group.byte 0x1F++0x00 line.byte 0x00 "UART3_TL7816,UART 7816 Transmit Length Register" endif endif textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") if (((per.b(ad:0x4006d000+0x18)&0x01)==0x01)) if (((per.b(ad:0x4006d000+0x18))&0x2)==0x00) rgroup.byte 0x3A++0x03 line.byte 0x00 "UART3_AP7816A_T0,UART 7816 ATR Duration Timer Register A" line.byte 0x01 "UART3_AP7816B_T0,UART 7816 ATR Duration Timer Register B" line.byte 0x02 "UART3_WP7816A_T0,UART 7816 Wait Parameter Register A" hexmask.byte 0x02 0.--7. 1. " WI_H ,Wait time integer high" line.byte 0x03 "UART3_WP7816B_T0,UART 7816 Wait Parameter Register B" hexmask.byte 0x03 0.--7. 1. " WI_L ,Wait time integer low" hgroup.byte 0x3E++0x00 hide.byte 0x00 "UART3_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" in hgroup.byte 0x3F++0x00 hide.byte 0x00 "UART3_WGP7816_T1,UART 7816 Wait Parameter Register C" in else hgroup.byte 0x3A++0x00 hide.byte 0x00 "UART3_AP7816A_T0,UART 7816 ATR Duration Timer Register A" in hgroup.byte 0x3B++0x00 hide.byte 0x00 "UART3_AP7816B_T0,UART 7816 ATR Duration Timer Register B" in rgroup.byte 0x3C++0x03 line.byte 0x00 "UART3_WP7816A_T1,UART 7816 Wait Parameter Register A" hexmask.byte 0x00 0.--7. 1. " BWI_H ,Block wait time integer high" line.byte 0x01 "UART3_WP7816B_T1,UART 7816 Wait Parameter Register B" hexmask.byte 0x01 0.--7. 1. " BWI_L ,Block wait time integer low" line.byte 0x02 "UART3_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" bitfld.byte 0x02 4.--7. " CWI1 ,Character wait time integer 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " BGI ,Block guard time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" line.byte 0x03 "UART3_WP7816C_T1,UART 7816 Wait Parameter Register C" bitfld.byte 0x03 0.--4. " CWI2 ,Character wait time integer 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif else if (((per.b(ad:0x4006d000+0x18))&0x2)==0x00) group.byte 0x3A++0x03 line.byte 0x00 "UART3_AP7816A_T0,UART 7816 ATR Duration Timer Register A" line.byte 0x01 "UART3_AP7816B_T0,UART 7816 ATR Duration Timer Register B" line.byte 0x02 "UART3_WP7816A_T0,UART 7816 Wait Parameter Register A" hexmask.byte 0x02 0.--7. 1. " WI_H ,Wait time integer high" line.byte 0x03 "UART3_WP7816B_T0,UART 7816 Wait Parameter Register B" hexmask.byte 0x03 0.--7. 1. " WI_L ,Wait time integer low" hgroup.byte 0x3E++0x00 hide.byte 0x00 "UART3_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" in hgroup.byte 0x3F++0x00 hide.byte 0x00 "UART3_WGP7816_T1,UART 7816 Wait Parameter Register C" in else hgroup.byte 0x3A++0x00 hide.byte 0x00 "UART3_AP7816A_T0,UART 7816 ATR Duration Timer Register A" in hgroup.byte 0x3B++0x00 hide.byte 0x00 "UART3_AP7816B_T0,UART 7816 ATR Duration Timer Register B" in group.byte 0x3C++0x03 line.byte 0x00 "UART3_WP7816A_T1,UART 7816 Wait Parameter Register A" hexmask.byte 0x00 0.--7. 1. " BWI_H ,Block wait time integer high" line.byte 0x01 "UART3_WP7816B_T1,UART 7816 Wait Parameter Register B" hexmask.byte 0x01 0.--7. 1. " BWI_L ,Block wait time integer low" line.byte 0x02 "UART3_WGP7816_T1,UART 7816 Wait and Guard Parameter Register" bitfld.byte 0x02 4.--7. " CWI1 ,Character wait time integer 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.byte 0x02 0.--3. " BGI ,Block guard time integer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" line.byte 0x03 "UART3_WP7816C_T1,UART 7816 Wait Parameter Register C" bitfld.byte 0x03 0.--4. " CWI2 ,Character wait time integer 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" endif endif endif tree.end endif width 0x0B tree.end sif (!cpuis("MK5*CLK*")&&!cpuis("MK50D*CMB10")&&!cpuis("MK51D*")&&!cpuis("MK52D*"))||(cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")) tree "UART 4" base ad:0x400EA000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 4 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART4_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART4_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART4_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART4_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART4_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART4_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x400ea000+0x02)&0x10)==0x00)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x400ea000+0x02)&0x10)==0x10)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x00)&&((per.b(ad:0x400ea000+0x0A)&0x20)==0x00))||(((per.b(ad:0x400ea000+0x02)&0x12)==0x10)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x00)&&((per.b(ad:0x400ea000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400ea000+0x02)&0x12)==0x12)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x00)&&((per.b(ad:0x400ea000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400ea000+0x02)&0x10)==0x00)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400ea000+0x02)&0x10)==0x10)&&((per.b(ad:0x400ea000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART4_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART4_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART4_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART4_MA1,UART Match Address Register 1" line.byte 0x01 "UART4_MA2,UART Match Address Register 2" line.byte 0x02 "UART4_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART4_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART4_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART4_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART4_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 4 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400ea000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART4_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART4_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART4_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART4_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART4_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400ea000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART4_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART4_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART4_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART4_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400ea000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART4_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART4_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART4_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART4_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 4 ISO7816 Registers" width 19. tree.end endif width 0x0B tree.end sif (!cpuis("MK5*CLL*")&&!cpuis("MK50D*CMC7"))||(cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN512ZCLL10")) tree "UART 5" base ad:0x400EB000 width 16. sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree "UART 5 Standard Features Registers" endif group.byte 0x00++0x03 line.byte 0x00 "UART5_BDH,UART Baud Rate Register High" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 7. " LBKDIE ,LIN break detect interrupt or DMA request enable" "Disabled,Enabled" textline " " endif bitfld.byte 0x00 6. " RXEDGIE ,RxD Input active edge interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0.--4. " SBR ,UART baud rate bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" line.byte 0x01 "UART5_BDL,UART Baud Rate Register Low" line.byte 0x02 "UART5_C1,UART Control Register 1" bitfld.byte 0x02 7. " LOOPS ,Loop mode select" "Not selected,Selected" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") textline " " bitfld.byte 0x02 6. " UARTSWAI ,UART stops in wait mode" "Not stopped,Stopped" endif textline " " bitfld.byte 0x02 5. " RSRC ,Receiver source select" "Internal loop-back mode,Single-wire UART" bitfld.byte 0x02 4. " M ,9-bit or 8-bit mode select" "8 bit mode,9 bit mode" bitfld.byte 0x02 3. " WAKE ,Receiver wakeup method select" "Idle-line,Address-mark" textline " " bitfld.byte 0x02 2. " ILT ,Idle line type select" "After start bit,After stop bit" bitfld.byte 0x02 1. " PE ,Parity enable" "Disabled,Enabled" bitfld.byte 0x02 0. " PT ,Parity type" "Even,Odd" line.byte 0x03 "UART5_C2,UART Control Register 2" bitfld.byte 0x03 7. " TIE ,Transmitter interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 6. " TCIE ,Transmission complete interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 5. " RIE ,Receiver full interrupt or DMA transfer enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 4. " ILIE ,Idle line interrupt or DMA transfer enable" "Disabled,Enabled" bitfld.byte 0x03 3. " TE ,Transmitter enable" "Disabled,Enabled" bitfld.byte 0x03 2. " RE ,Receiver enable" "Disabled,Enabled" textline " " bitfld.byte 0x03 1. " RWU ,Receiver wakeup control" "Normal,Wake-Up" bitfld.byte 0x03 0. " SBK ,Send break" "Normal,Break" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.byte 0x04++0x00 hide.byte 0x00 "UART5_S1,UART Status Register 1" in else rgroup.byte 0x04++0x00 line.byte 0x00 "UART5_S1,UART Status Register 1" bitfld.byte 0x00 7. " TDRE ,Transmit data register empty flag" "Not occurred,Occurred" bitfld.byte 0x00 6. " TC ,Transmit complete flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " RDRF ,Receive data register full flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 4. " IDLE ,Idle line flag" "Not occurred,Occurred" bitfld.byte 0x00 3. " OR ,Receiver overrun flag" "Not occurred,Occurred" bitfld.byte 0x00 2. " NF ,Noise flag" "Not occurred,Occurred" textline " " bitfld.byte 0x00 1. " FE ,Framing error flag" "Not occurred,Occurred" bitfld.byte 0x00 0. " PF ,Parity error flag" "Not occurred,Occurred" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if ((per.b(ad:0x400eb000+0x02)&0x10)==0x00)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x00) group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif (((per.b(ad:0x400eb000+0x02)&0x10)==0x10)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x00)&&((per.b(ad:0x400eb000+0x0A)&0x20)==0x00))||(((per.b(ad:0x400eb000+0x02)&0x12)==0x10)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x00)&&((per.b(ad:0x400eb000+0x0A)&0x20)==0x20)) group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "11 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400eb000+0x02)&0x12)==0x12)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x00)&&((per.b(ad:0x400eb000+0x0A)&0x20)==0x20) group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "12 bits,?..." textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "12 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400eb000+0x02)&0x10)==0x00)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",13 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10 bits,11 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" elif ((per.b(ad:0x400eb000+0x02)&0x10)==0x10)&&((per.b(ad:0x400eb000+0x05)&0x04)==0x04) group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" textline " " bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" ",14 bits" textline " " bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "11 bits,12 bits" rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif else group.byte 0x05++0x00 line.byte 0x00 "UART5_S2,UART Status Register 2" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") eventfld.byte 0x00 7. " LBKDIF ,LIN break detect interrupt flag" "Not occurred,Occurred" textline " " endif textline " " eventfld.byte 0x00 6. " RXEDGIF ,RxD pin active edge interrupt flag" "Not occurred,Occurred" bitfld.byte 0x00 5. " MSBF ,Most significant bit first" "LSB first,MSB first" bitfld.byte 0x00 4. " RXINV ,Receive data inversion" "Not inverted,Inverted" textline " " bitfld.byte 0x00 3. " RWUID ,Receive wakeup idle detect" "Not detected,Detected" bitfld.byte 0x00 2. " BRK13 ,Break transmit character length" "10/11/12 bit long,13/14 bit long" textline " " sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") bitfld.byte 0x00 1. " LBKDE ,LIN break detection enable" "10/11/12 bit times,11/12 bit times" textline " " endif rbitfld.byte 0x00 0. " RAF ,Receiver active flag" "Idle,Active" endif group.byte 0x06++0x00 line.byte 0x00 "UART5_C3,UART Control Register 3" rbitfld.byte 0x00 7. " R8 ,Received bit 8" "No RX,RX" bitfld.byte 0x00 6. " T8 ,Transmit bit 8" "No TX,TX" bitfld.byte 0x00 5. " TXDIR ,Transmitter pin data direction in single-wire mode" "Input,Output" textline " " bitfld.byte 0x00 4. " TXINV ,Transmit data inversion" "Not inverted,Inverted" bitfld.byte 0x00 3. " ORIE ,Overrun error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 2. " NEIE ,Noise error interrupt enable" "Disabled,Enabled" textline " " bitfld.byte 0x00 1. " FEIE ,Framing error interrupt enable" "Disabled,Enabled" bitfld.byte 0x00 0. " PEIE ,Parity error interrupt enable" "Disabled,Enabled" hgroup.byte 0x07++0x00 hide.byte 0x00 "UART5_D,UART Data Register" in group.byte 0x08++0x03 line.byte 0x00 "UART5_MA1,UART Match Address Register 1" line.byte 0x01 "UART5_MA2,UART Match Address Register 2" line.byte 0x02 "UART5_C4,UART Control Register 4" bitfld.byte 0x02 7. " MAEN1 ,Match address mode enable 1" "Disabled,Enabled" bitfld.byte 0x02 6. " MAEN2 ,Match address mode enable 2" "Disabled,Enabled" bitfld.byte 0x02 5. " M10 ,10-bit mode select" "Not selected,Selected" textline " " bitfld.byte 0x02 0.--4. " BRFA ,Baud rate fine adjust" "0,1/32,2/32,3/32,4/32,5/32,6/32,7/32,8/32,9/32,10/32,11/32,12/32,13/32,14/32,15/32,16/32,17/32,18/32,19/32,20/32,21/32,22/32,23/32,24/32,25/32,26/32,27/32,28/32,29/32,30/32,31/32" line.byte 0x03 "UART5_C5,UART Control Register 5" bitfld.byte 0x03 7. " TDMAS ,Transmitter DMA select" "Interrupt service,DMA transfer" bitfld.byte 0x03 5. " RDMAS ,Receiver full DMA select" "Interrupt service,DMA transfer" textline " " sif cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7") bitfld.byte 0x03 4. " ILDMAS ,Idle line DMA select" "Interrupt service,DMA transfer" endif rgroup.byte 0x0C++0x00 line.byte 0x00 "UART5_ED,UART Extended Data Register" bitfld.byte 0x00 7. " NOISY ,The current received dataword contained in D and C3[R8] was received with noise" "Without noise,With noise" bitfld.byte 0x00 6. " PARITYE ,The current received dataword contained in D and C3[R8] was received with a parity error" "Without parity error,With parity error" group.byte 0x0D++0x01 line.byte 0x00 "UART5_MODEM,UART Modem Register" bitfld.byte 0x00 3. " RXRTSE ,Receiver request-to-send enable (Num of char in RCV data reg FIFO>=RWFIFO(RXWATER)/Num of char in RCV data reg FIFO<=RWFIFO(RXWATER))" "No effect,Deasserted/Asserted" bitfld.byte 0x00 2. " TXRTSPOL ,Transmitter request-to-send polarity" "Active low,Active high" bitfld.byte 0x00 1. " TXRTSE ,Transmitter request-to-send enable (char placed in empty FIFO/after all characters placed to FIFO)" "No effect,Asserted/Deasserted" textline " " bitfld.byte 0x00 0. " TXCTSE ,Transmitter clear-to-send enable" "No effect,Enabled" sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) line.byte 0x01 "UART5_IR,UART Infrared Register" bitfld.byte 0x01 2. " IREN ,Infrared enable" "Disabled,Enabled" bitfld.byte 0x01 0.--1. " TNP ,Transmitter narrow pulse" "3/16,1/16,1/32,1/4" endif sif !(cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")) tree.end tree "UART 5 FIFO Registers" else textline " " endif width 17. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400eb000+0x03))&0x0C)==0x00) group.byte 0x10++0x00 line.byte 0x00 "UART5_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." else rgroup.byte 0x10++0x00 line.byte 0x00 "UART5_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif else group.byte 0x10++0x00 line.byte 0x00 "UART5_PFIFO,UART FIFO Parameters" bitfld.byte 0x00 7. " TXFE ,Transmit FIFO enable" "Disabled,Enabled" rbitfld.byte 0x00 4.--6. " TXFIFOSIZE ,Transmit FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." bitfld.byte 0x00 3. " RXFE ,Receive FIFO enable" "Disabled,Enabled" textline " " rbitfld.byte 0x00 0.--2. " RXFIFOSIZE ,Receive FIFO buffer depth" "1 dataword,4 datawords,8 datawords,16 datawords,32 datawords,64 datawords,128 datawords,?..." endif group.byte 0x11++0x01 line.byte 0x00 "UART5_CFIFO,UART FIFO Control Register" bitfld.byte 0x00 7. " TXFLUSH ,Transmit FIFO/Buffer flush" "Not flushed,Flushed" bitfld.byte 0x00 6. " RXFLUSH ,Receive FIFO/Buffer flush" "Not flushed,Flushed" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif sif (cpuis("MK70*")) bitfld.byte 0x00 2. " RXOFE ,Receive FIFO overflow interrupt enable" "Not generated,Generated" textline " " endif bitfld.byte 0x00 1. " TXOFE ,Transmit FIFO overflow interrupt enable" "Not generated,Generated" bitfld.byte 0x00 0. " RXUFE ,Receive FIFO underflow interrupt enable" "Not generated,Generated" line.byte 0x01 "UART5_SFIFO,UART FIFO Status Register" rbitfld.byte 0x01 7. " TXEMPT ,Transmit buffer/FIFO empty" "Not empty,Empty" rbitfld.byte 0x01 6. " RXEMPT ,Receive buffer/FIFO empty" "Not empty,Empty" textline " " sif !cpuis("MK??F*")&&!cpuis("MK30DN512ZVLK10")&&!cpuis("MK30D????ZVLQ*")&&!cpuis("MK60DX256ZVMC10")&&!cpuis("MK60DN512ZVMC10")&&!cpuis("MK60DN256ZVLQ10")&&!cpuis("MK60DN512ZVLQ10")&&!cpuis("MK60DN512ZVMD10")&&!cpuis("MK60DX256ZVLQ10")&&!cpuis("MK60DX256ZVMD10")&&!cpuis("MK60DN512ZVLQ10R")&&!cpuis("MK60DX256ZVLL10")&&!cpuis("MK60FN1M0VLQ15") eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif sif (cpuis("MK70*")) eventfld.byte 0x01 2. " RXOF ,Receiver buffer overflow flag" "No overflow,Overflow" textline " " endif eventfld.byte 0x01 1. " TXOF ,Transmitter buffer overflow flag" "No overflow,Overflow" eventfld.byte 0x01 0. " RXUF ,Receiver buffer underflow flag" "No overflew,Overflow" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400eb000+0x03))&0x08)==0x00) group.byte 0x13++0x00 line.byte 0x00 "UART5_TWFIFO,UART FIFO Transmit Watermark" else rgroup.byte 0x13++0x00 line.byte 0x00 "UART5_TWFIFO,UART FIFO Transmit Watermark" endif else group.byte 0x13++0x00 line.byte 0x00 "UART5_TWFIFO,UART FIFO Transmit Watermark" endif rgroup.byte 0x14++0x00 line.byte 0x00 "UART5_TCFIFO,UART FIFO Transmit Count" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.b(ad:0x400eb000+0x03))&0x04)==0x00) group.byte 0x15++0x00 line.byte 0x00 "UART5_RWFIFO,UART FIFO Receive Watermark" else rgroup.byte 0x15++0x00 line.byte 0x00 "UART5_RWFIFO,UART FIFO Receive Watermark" endif else group.byte 0x15++0x00 line.byte 0x00 "UART5_RWFIFO,UART FIFO Receive Watermark" endif rgroup.byte 0x16++0x00 line.byte 0x00 "UART5_RCFIFO,UART FIFO Receive Count" sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") tree.end endif sif !cpuis("MKM33Z128CLL5")&&!cpuis("MKM14Z128ACHH5*")&&!cpuis("MKM14Z64ACHH5")&&!cpuis("MKM33Z128ACLH5*")&&!cpuis("MKM33Z64ACLH5*")&&!cpuis("MKM33Z64ACLL5*")&&!cpuis("MKM33Z128ACLL5")&&!cpuis("MKM34Z128ACLL5*")&&!cpuis("MKM33Z64CLL5*")&&!cpuis("MKM14Z128CHH5*")&&!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")&&!cpuis("MKM33Z64CLL5")&&!cpuis("MKM34Z128CLL5")&&!cpuis("MKM33Z128CLH5")&&!cpuis("MKM33Z64CLH5")&&!cpuis("MKM14Z128CHH5")&&!cpuis("MKM14Z64CHH5") width 20. elif (cpuis("MKM33Z128CLL5")||cpuis("MKM33Z64CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z128CLH5")||cpuis("MKM33Z64CLH5")||cpuis("MKM14Z128CHH5")||cpuis("MKM14Z64CHH5")||cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) tree "UART 5 ISO7816 Registers" width 19. tree.end endif width 0x0B tree.end endif endif endif tree.end sif cpuis("MK5*10") tree "SDHC (Secured digital host controller)" base ad:0x400B1000 width 12. group.long 0x00++0x0F line.long 0x00 "DSADDR,DMA System Address Register" sif !cpuis("K32W0?2S1M*") hexmask.long 0x00 2.--31. 0x04 " DSADDR ,DMA system address" endif line.long 0x04 "BLKATTR,Block Attributes Register" hexmask.long.word 0x04 16.--31. 1. " BLKCNT ,Blocks count for current transfer" hexmask.long.word 0x04 0.--12. 1. " BLKSIZE ,Transfer block size" line.long 0x08 "CMDARG,Command Argument Register" line.long 0x0C "XFERTYP,Transfer Type Register" bitfld.long 0x0C 24.--29. " CMDINX ,Command index" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63" bitfld.long 0x0C 22.--23. " CMDTYP ,Command type" "Normal,Suspend,Resume,Abort" bitfld.long 0x0C 21. " DPSEL ,Data present select" "Not present,Present" newline bitfld.long 0x0C 20. " CICEN ,Command index check enable" "Disabled,Enabled" bitfld.long 0x0C 19. " CCCEN ,Command crc check enable" "Disabled,Enabled" bitfld.long 0x0C 16.--17. " RSPTYP ,Response type select" "No response,Response length 136,Response length 48,Response length 48/check busy" sif !cpuis("K32W0?2S1M*") newline bitfld.long 0x0C 5. " MSBSEL ,Multi/Single block select" "Single,Multi" bitfld.long 0x0C 4. " DTDSEL ,Data transfer direction select" "Write,Read" bitfld.long 0x0C 2. " AC12EN ,Auto CMD12 enable" "Disabled,Enabled" newline bitfld.long 0x0C 1. " BCEN ,Block count enable" "Disabled,Enabled" bitfld.long 0x0C 0. " DMAEN ,DMA enable" "Disabled,Enabled" endif rgroup.long 0x10++0x03 line.long 0x00 "CMDRSP0,Command Response 0" rgroup.long 0x14++0x03 line.long 0x00 "CMDRSP1,Command Response 1" rgroup.long 0x18++0x03 line.long 0x00 "CMDRSP2,Command Response 2" rgroup.long 0x1C++0x03 line.long 0x00 "CMDRSP3,Command Response 3" group.long 0x20++0x03 line.long 0x00 "DATPORT,Buffer Data Port Register" rgroup.long 0x24++0x03 line.long 0x00 "PRSSTAT,Present State Register" bitfld.long 0x00 31. " DLSL[7] ,Data 7 line signal level" "Low,High" bitfld.long 0x00 30. " [6] ,Data 6 line signal level" "Low,High" bitfld.long 0x00 29. " [5] ,Data 5 line signal level" "Low,High" newline bitfld.long 0x00 28. " [4] ,Data 4 line signal level" "Low,High" bitfld.long 0x00 27. " [3] ,Data 3 line signal level" "Low,High" bitfld.long 0x00 26. " [2] ,Data 2 line signal level" "Low,High" newline bitfld.long 0x00 25. " [1] ,Data 1 line signal level" "Low,High" bitfld.long 0x00 24. " [0] ,Data 0 line signal level" "Low,High" bitfld.long 0x00 23. " CLSL ,CMD line signal level" "Low,High" newline sif cpuis("K32W0?2S1M*") bitfld.long 0x00 19. " WPSPL ,Write protect switch pin level" "Disabled,Enabled" bitfld.long 0x00 18. " CDPL ,Card detect pin level" "Not detected,Detected" newline endif bitfld.long 0x00 16. " CINS ,Card inserted" "Not inserted,Inserted" bitfld.long 0x00 11. " BREN ,Buffer read enable" "Disabled,Enabled" bitfld.long 0x00 10. " BWEN ,Buffer write enable" "Disabled,Enabled" newline bitfld.long 0x00 9. " RTA ,Read transfer active" "Not active,Active" bitfld.long 0x00 8. " WTA ,Write transfer active" "Not active,Active" bitfld.long 0x00 7. " SDOFF ,SD clock gated off internally" "Active,Gated off" newline bitfld.long 0x00 6. " PEROFF ,Ipg_perclk gated off internally" "Active,Gated off" bitfld.long 0x00 5. " HCKOFF ,Hclk gated off internally" "Active,Gated off" bitfld.long 0x00 4. " IPGOFF ,Lpg_clk gated off internally" "Active,Gated off" newline bitfld.long 0x00 3. " SDSTB ,SD clock stable" "Not stable,Stable" bitfld.long 0x00 2. " DLA ,Data line active" "Not active,Active" bitfld.long 0x00 1. " CDIHB ,Command inhibit (DAT)" "Not generated,Generated" newline bitfld.long 0x00 0. " CIHB ,Command inhibit (CMD)" "Not generated,Generated" group.long 0x28++0x13 line.long 0x00 "PROCTL,Protocol Control Register" sif cpuis("K32W0?2S1M*") bitfld.long 0x00 29. " BURST_LEN_EN ,BURST length enable for INCR" "Disabled,Enabled" bitfld.long 0x00 28. " BURST_LEN_EN ,BURST length enable for INCR4 / INCR8 / INCR16" "Disabled,Enable" bitfld.long 0x00 27. " BURST_LEN_EN ,BURST length enable for INCR4-WRAP / INCR8-WRAP / INCR16-WRAP" "Disabled,Enabled" endif bitfld.long 0x00 26. " WECRM ,Wakeup event enable on SD card removal" "Disabled,Enabled" bitfld.long 0x00 25. " WECINS ,Wakeup event enable on SD card insertion" "Disabled,Enabled" bitfld.long 0x00 24. " WECINT ,Wakeup event enable on card interrupt" "Disabled,Enabled" newline bitfld.long 0x00 19. " IABG ,Interrupt at block gap" "Disabled,Enabled" bitfld.long 0x00 18. " RWCTL ,Read wait control" "Disabled,Enabled" bitfld.long 0x00 17. " CREQ ,Continue request" "No effect,Restart" newline bitfld.long 0x00 16. " SABGREQ ,Stop at block gap request" "Transfer,Stopped" bitfld.long 0x00 8.--9. " DMAS ,DMA select" "No DMA/Simple DMA,ADMA1,ADMA2,?..." bitfld.long 0x00 7. " CDSS ,Card detect signal selection" "Level,Test" newline bitfld.long 0x00 6. " CDTL ,Card detect test level" "Low,High" bitfld.long 0x00 4.--5. " EMODE ,Endian mode" "Big endian,Half word big endian,Little endian,?..." bitfld.long 0x00 3. " D3CD ,DAT3 as card detection pin" "Not act,Act" newline bitfld.long 0x00 1.--2. " DTW ,Data transfer width" "1-bit,4-bit,8-bit,?..." bitfld.long 0x00 0. " LCTL ,LED control" "Off,On" line.long 0x04 "SYSCTL,System Control Register" bitfld.long 0x04 27. " INITA ,Initialization active" "Not active,Active" bitfld.long 0x04 26. " RSTD ,Software reset for data line" "No reset,Reset" bitfld.long 0x04 25. " RSTC ,Software reset for cmd line" "No reset,Reset" newline bitfld.long 0x04 24. " RSTA ,Software reset for all" "No reset,Reset" bitfld.long 0x04 16.--19. " DTOCV ,Data timeout counter value" "SDCLK x (2^13),SDCLK x (2^14),SDCLK x (2^15),SDCLK x (2^16),SDCLK x (2^17),SDCLK x (2^18),SDCLK x (2^19),SDCLK x (2^20),SDCLK x (2^21),SDCLK x (2^22),SDCLK x (2^23),SDCLK x (2^24),SDCLK x (2^25),SDCLK x (2^26),SDCLK x (2^27),?..." hexmask.long.byte 0x04 8.--15. 1. " SDCLKFS ,SDCLK frequency select" newline bitfld.long 0x04 4.--7. " DVS ,Divisor" "/1,/2,/3,/4,/5,/6,/7,/8,/9,/10,/11,/12,/13,/14,/15,/16" sif !cpuis("K32W0?2S1M*") newline bitfld.long 0x04 3. " SDCLKEN ,SD clock enable" "Disabled,Enabled" bitfld.long 0x04 2. " PEREN ,Peripheral clock enable" "Disabled,Enabled" bitfld.long 0x04 1. " HCKEN ,System clock enable" "Disabled,Enabled" newline bitfld.long 0x04 0. " IPGEN ,IPG clock enable" "Disabled,Enabled" endif line.long 0x08 "IRQSTAT,Interrupt Status Register" eventfld.long 0x08 28. " DMAE ,DMA error" "No error,Error" eventfld.long 0x08 24. " AC12E ,Auto CMD12 error" "No error,Error" eventfld.long 0x08 22. " DEBE ,Data end bit error" "No error,Error" newline eventfld.long 0x08 21. " DCE ,Data CRC error" "No error,Error" eventfld.long 0x08 20. " DTOE ,Data timeout error" "No error,Error" eventfld.long 0x08 19. " CIE ,Command index error" "No error,Error" newline eventfld.long 0x08 18. " CEBE ,Command end bit error" "No error,Error" eventfld.long 0x08 17. " CCE ,Command CRC error" "No error,Error" eventfld.long 0x08 16. " CTOE ,Command timeout error" "No error,Error" newline eventfld.long 0x08 8. " CINT ,Card interrupt" "No interrupt,Interrupt" eventfld.long 0x08 7. " CRM ,Card removal" "Not removed,Removed" eventfld.long 0x08 6. " CINS ,Card insertion" "Not inserted,Inserted" newline eventfld.long 0x08 5. " BRR ,Buffer read ready" "Not ready,Ready" eventfld.long 0x08 4. " BWR ,Buffer write ready" "Not ready,Ready" eventfld.long 0x08 3. " DINT ,DMA interrupt" "No interrupt,Interrupt" newline eventfld.long 0x08 2. " BGE ,Block gap event" "Not stopped,Stopped" eventfld.long 0x08 1. " TC ,Transfer complete" "Not completed,Completed" eventfld.long 0x08 0. " CC ,Command complete" "Not completed,Completed" line.long 0x0C "IRQSTATEN,Interrupt Status Enable Register" bitfld.long 0x0C 28. " DMAESEN ,DMA error status enable" "Disabled,Enabled" bitfld.long 0x0C 24. " AC12ESEN ,Auto CMD12 error status enable" "Disabled,Enabled" bitfld.long 0x0C 22. " DEBESEN ,Data end bit error status enable" "Disabled,Enabled" newline bitfld.long 0x0C 21. " DCESEN ,Data CRC error status enable" "Disabled,Enabled" bitfld.long 0x0C 20. " DTOESEN ,Data timeout error status enable" "Disabled,Enabled" bitfld.long 0x0C 19. " CIESEN ,Command index error status enable" "Disabled,Enabled" newline bitfld.long 0x0C 18. " CEBESEN ,Command end bit error status enable" "Disabled,Enabled" bitfld.long 0x0C 17. " CCESEN ,Command CRC error status enable" "Disabled,Enabled" bitfld.long 0x0C 16. " CTOESEN ,Command timeout error status enable" "Disabled,Enabled" newline bitfld.long 0x0C 8. " CINTSEN ,Card interrupt status enable" "Disabled,Enabled" bitfld.long 0x0C 7. " CRMSEN ,Card removal status enable" "Disabled,Enabled" bitfld.long 0x0C 6. " CINSEN ,Card insertion status enable" "Disabled,Enabled" newline bitfld.long 0x0C 5. " BRRSEN ,Buffer read ready status enable" "Disabled,Enabled" bitfld.long 0x0C 4. " BWRSEN ,Buffer write ready status enable" "Disabled,Enabled" bitfld.long 0x0C 3. " DINTSEN ,DMA interrupt status enable" "Disabled,Enabled" newline bitfld.long 0x0C 2. " BGESEN ,Block gap event status enable" "Disabled,Enabled" bitfld.long 0x0C 1. " TCSEN ,Transfer complete status enable" "Disabled,Enabled" bitfld.long 0x0C 0. " CCSEN ,Command complete status enable" "Disabled,Enabled" line.long 0x10 "IRQSIGEN,Interrupt Signal Enable Register" bitfld.long 0x10 28. " DMAEIEN ,DMA error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 24. " AC12EIEN ,Auto CMD12 error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 22. " DEBEIEN ,Data end bit error interrupt enable" "Disabled,Enabled" newline bitfld.long 0x10 21. " DCEIEN ,Data CRC error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 20. " DTOEIEN ,Data timeout error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 19. " CIEIEN ,Command index error interrupt enable" "Disabled,Enabled" newline bitfld.long 0x10 18. " CEBEIEN ,Command end bit error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 17. " CCEIEN ,Command CRC error interrupt enable" "Disabled,Enabled" bitfld.long 0x10 16. " CTOEIEN ,Command timeout error interrupt enable" "Disabled,Enabled" newline bitfld.long 0x10 8. " CINTIEN ,Card interrupt enable" "Disabled,Enabled" bitfld.long 0x10 7. " CRMIEN ,Card removal interrupt enable" "Disabled,Enabled" bitfld.long 0x10 6. " CINSIEN ,Card insertion interrupt enable" "Disabled,Enabled" newline bitfld.long 0x10 5. " BRRIEN ,Buffer read ready interrupt enable" "Disabled,Enabled" bitfld.long 0x10 4. " BWRIEN ,Buffer write ready interrupt enable" "Disabled,Enabled" bitfld.long 0x10 3. " DINTIEN ,DMA interrupt enable" "Disabled,Enabled" newline bitfld.long 0x10 2. " BGEIEN ,Block gap event interrupt enable" "Disabled,Enabled" bitfld.long 0x10 1. " TCIEN ,Transfer complete interrupt enable" "Disabled,Enabled" bitfld.long 0x10 0. " CCIEN ,Command complete interrupt enable" "Disabled,Enabled" if ((per.l(ad:0x400B1000+0x30)&0x1000000)==0x00) hgroup.long 0x3C++0x03 hide.long 0x00 "AC12ERR,Auto CMD12 Error Status Register" else rgroup.long 0x3C++0x03 line.long 0x00 "AC12ERR,Auto CMD12 Error Status Register" bitfld.long 0x00 7. " CNIBAC12E ,Command not issued by auto CMD12 error" "No error,Not issued" bitfld.long 0x00 4. " AC12IE ,Auto CMD12 index error" "No error,Error" bitfld.long 0x00 3. " AC12CE ,Auto CMD12 CRC error" "No error,Error" newline bitfld.long 0x00 2. " AC12EBE ,Auto CMD12 end bit error" "No error,Error" bitfld.long 0x00 1. " AC12TOE ,Auto CMD12 timeout error" "No error,Error" bitfld.long 0x00 0. " AC12NE ,Auto CMD12 not executed" "Executed,Not executed" endif rgroup.long 0x40++0x03 line.long 0x00 "HTCAPBLT,Host Controller Capabilities" sif cpuis("MK?0F*")||cpuis("MK?0D*10")||cpuis("MK20DN512*AB10R")||cpuis("MK5*10")||cpuis("MK6*")||cpuis("MK7*")||cpuis("MK20DX256VLQ10R")||cpuis("MK20DX256VLK10R")||cpuis("K32W0?2S1M*")||cpuis("MK10DN512ZVLL10")||cpuis("MK10DN512ZVLL10R")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DX256ZVLQ10")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK10DX256ZVMD10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DX256VLL7*")||cpuis("MK40DN512ZVLL10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK20DN512VLK10R")||cpuis("KK20DN512ZCAB10R")||cpuis("KK60FN1M0VLQ15")||cpuis("KK60DN512ZCAB10R") sif !cpuis("MK8?FN256V*")&&!cpuis("MK63FN1M0VLQ12R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("KK65FN2M0CAC18R")&&!cpuis("MK66FN2M0VLQ18R") bitfld.long 0x00 26. " VS18 ,Voltage support 1.8 V" "Not supported,Supported" bitfld.long 0x00 25. " VS30 ,Voltage support 3.0 V" "Not supported,Supported" newline endif endif bitfld.long 0x00 24. " VS33 ,Voltage support 3.3 V" "Not supported,Supported" bitfld.long 0x00 23. " SRS ,Suspend/Resume support" "Not supported,Supported" bitfld.long 0x00 22. " DMAS ,DMA support" "Not supported,Supported" newline bitfld.long 0x00 21. " HSS ,High speed support" "Not supported,Supported" bitfld.long 0x00 20. " ADMAS ,ADMA support" "Not supported,Supported" bitfld.long 0x00 16.--18. " MBL ,Max block length" "512 bytes,1024 bytes,2048 bytes,4096 bytes,?..." group.long 0x44++0x03 line.long 0x00 "WML,Watermark Level Register" sif cpuis("MK63FN1M0VLQ12R")||cpuis("K32W0?2S1M*") bitfld.long 0x00 24.--28. " WRBRSTLEN ,Write Burst Length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,?..." endif newline hexmask.long.byte 0x00 16.--23. 1. " WRWML ,Write watermark level" sif cpuis("MK63FN1M0VLQ12R")||cpuis("K32W0?2S1M*") bitfld.long 0x00 8.--12. " RDBRSTLEN ,Read burst length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,?..." endif newline hexmask.long.byte 0x00 0.--7. 1. " RDWML ,Read watermark level" sif cpuis("K32W0?2S1M*") group.long 0x48++0x03 line.long 0x00 "MIX_CTRL,Mixer Control Register" bitfld.long 0x00 7. " AC23EN ,Auto CMD23 enable" "Disabled,Enabled" bitfld.long 0x00 6. " NIBBLE_POS ,Nibble position indication" "Low,High" bitfld.long 0x00 5. " MSBSEL ,Multi/Single block select" "Single,Multi" newline bitfld.long 0x00 4. " DTDSEL ,Data transfer direction select" "Write,Read" bitfld.long 0x00 3. " DDR_EN ,Dual data rate mode selection enable" "Disabled,Enabled" bitfld.long 0x00 2. " AC12EN ,Auto CMD12 enable" "Disabled,Enabled" newline bitfld.long 0x00 1. " BCEN ,Block count enable" "Disabled,Enabled" bitfld.long 0x00 0. " DMAEN ,DMA enable" "Disabled,Enabled" endif wgroup.long 0x50++0x03 line.long 0x00 "FEVT,Force Event Register" bitfld.long 0x00 31. " CINT ,Force event card interrupt" "No effect,Force" bitfld.long 0x00 28. " DMAE ,Force event DMA error" "No effect,Force" bitfld.long 0x00 24. " AC12E ,Force event auto command 12 error" "No effect,Force" newline bitfld.long 0x00 22. " DEBE ,Force event data end bit error" "No effect,Force" bitfld.long 0x00 21. " DCE ,Force event data crc error" "No effect,Force" bitfld.long 0x00 20. " DTOE ,Force event data time out error" "No effect,Force" newline bitfld.long 0x00 19. " CIE ,Force event command index error" "No effect,Force" bitfld.long 0x00 18. " CEBE ,Force event command end bit error" "No effect,Force" bitfld.long 0x00 17. " CCE ,Force event command crc error" "No effect,Force" newline bitfld.long 0x00 16. " CTOE ,Force event command time out error" "No effect,Force" bitfld.long 0x00 7. " CNIBAC12E ,Force event command not executed by auto command 12 error" "No effect,Force" bitfld.long 0x00 4. " AC12IE ,Force event auto command 12 index error" "No effect,Force" newline bitfld.long 0x00 3. " AC12EBE ,Force event auto command 12 end bit error" "No effect,Force" bitfld.long 0x00 2. " AC12CE ,Force event auto command 12 crc error" "No effect,Force" bitfld.long 0x00 1. " AC12TOE ,Force event auto command 12 time out error" "No effect,Force" newline bitfld.long 0x00 0. " AC12NE ,Force event auto command 12 not executed" "No effect,Force" rgroup.long 0x54++0x03 line.long 0x00 "ADMAES,ADMA Error Status Register" bitfld.long 0x00 3. " ADMADCE ,ADMA descriptor error" "No error,Error" bitfld.long 0x00 2. " ADMALME ,ADMA length mismatch error" "No error,Error" bitfld.long 0x00 0.--1. " ADMAES ,ADMA error state" "ST_STOP,ST_FDS,ST_CADR,ST_TFR" group.long 0x58++0x03 line.long 0x00 "ADSADDR,ADMA System Address Register" hexmask.long 0x00 2.--31. 0x04 " ADSADDR ,ADMA system address" group.long 0xC0++0x07 line.long 0x00 "VENDOR,Vendor Specific Register" sif cpuis("K32W0?2S1M*") bitfld.long 0x00 31. " CMD_BYTE_EN ,Byte access enable" "Disabled,Enabled" bitfld.long 0x00 15. " CRC_CHK_DIS ,CRC check disable" "Enabled,Disabled" bitfld.long 0x00 8. " FRC_SDCLK_ON ,Force CLK output active" "Not forced,Forced" newline bitfld.long 0x00 3. " AC12_WR_CHKBUSY_EN ,Check busy enable after auto CMD12 for write data packet" "Not checked,Checked" bitfld.long 0x00 2. " CONFLICT_CHK_EN ,Conflict check enable" "Disabled,Enabled" bitfld.long 0x00 1. " VSELECT ,Voltage selection" "3.0V,1.8V" newline else hexmask.long.byte 0x00 16.--23. 1. " INTSTVAL ,Internal state value" bitfld.long 0x00 1. " EXBLKNU ,Exact block number block read enable" "Disabled,Enabled" sif !cpuis("MK65*")&&!cpuis("MK66*")&&!cpuis("MK26FN*")&&!cpuis("MK84FN2M0CAU15R")&&!cpuis("MK8?FN256V*")&&!cpuis("KK28FN2M0CAU15R")&&!cpuis("MK28FN2M0CAU15R")&&!cpuis("MK28FN2M0VMI15")&&!cpuis("KK26FN2M0CAC18R")&&!cpuis("MK27FN2M0VMI15")&&!cpuis("MK66FN2M0VLQ18R")&&!cpuis("KK65FN2M0CAC18R") newline bitfld.long 0x00 0. " EXTDMAEN ,External DMA request enable" "Disabled,Enabled" endif endif line.long 0x04 "MMCBOOT,MMC Boot Register" hexmask.long.word 0x04 16.--31. 1. " BOOTBLKCNT ,Boot block counter" newline sif cpuis("K32W0?2S1M*") bitfld.long 0x04 8. " DISABLE_TIME_OUT ,Disable time out" "Enabled,Disabled" newline endif bitfld.long 0x04 7. " AUTOSABGEN ,Auto stop at boost gap enable" "Disabled,Enabled" bitfld.long 0x04 6. " BOOTEN ,Fast boot mode enable" "Disabled,Enabled" bitfld.long 0x04 5. " BOOTMODE ,Boot ACK mode select" "Normal,Alternative" newline bitfld.long 0x04 4. " BOOTACK ,Boot ACK mode select" "No ACK,ACK" newline sif cpuis("K32W0?2S1M*") bitfld.long 0x04 0.--3. " DTOCVACK ,Boot ACK time out counter value" "2^14,2^15,2^16,2^17,2^18,2^19,2^20,2^21,,,,,,,2^28,2^29" else bitfld.long 0x04 0.--3. " DTOCVACK ,Boot ACK time out counter value" "2^8,2^9,2^10,2^11,2^12,2^13,2^14,2^15,2^16,2^17,2^18,2^19,2^20,2^21,2^22,?..." endif sif cpuis("K32W0?2S1M*") group.long 0xC8++0x03 line.long 0x00 "VEND_SPEC2,Vendor Specific 2 Register" bitfld.long 0x00 14. " AHB_RST ,AHB BUS reset" "No reset,Reset" bitfld.long 0x00 12. " ACMD23_ARGU2_EN ,Argument2 register enable for ACMD23" "Disabled,Enabled" bitfld.long 0x00 3. " CARD_INT_D3_TEST ,Card interrupt detection test" "Check when DATA3 is high,Ignore DATA3 status" else rgroup.long 0xFC++0x03 line.long 0x00 "HOSTVER,Host Controller Version" hexmask.long.byte 0x00 8.--15. 1. " VVN ,Vendor version number" hexmask.long.byte 0x00 0.--7. 1. " SVN ,Specification version number" endif width 0x0B tree.end endif tree "I2S0/SAI0" base ad:0x4002F000 width 19. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") rgroup.long 0x00++0x07 line.long 0x00 "TX0,I2S Transmit Data Register 0" line.long 0x04 "TX1,I2S Transmit Data Register 1" hgroup.long 0x08++0x03 hide.long 0x00 "RX0,I2S Receive Data Register 0" in hgroup.long 0x0C++0x03 hide.long 0x00 "RX1,I2S Receive Data Register 1" in else group.long 0x00++0x0F line.long 0x00 "TX0,I2S Transmit Data Register 0" line.long 0x04 "TX1,I2S Transmit Data Register 1" line.long 0x08 "RX0,I2S Receive Data Register 0" line.long 0x0C "RX1,I2S Receive Data Register 1" endif sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.l(ad:0x4002F000+0x10))&0x06)==0x02) group.long 0x10++0x03 line.long 0x00 "CR,I2S Control Register" bitfld.long 0x00 12. " SYNCTXFS ,Safe window for CR[TE]" "Not latched,Latched" bitfld.long 0x00 11. " RFRCLKDIS ,Receive frame clock disable" "No,Yes" rbitfld.long 0x00 10. " TFRCLKDIS ,Transmit frame clock disable" "No,Yes" textline " " bitfld.long 0x00 9. " CLKIST ,Clock idle state" "Low,High" bitfld.long 0x00 8. " TCHEN ,Two-channel operation enable" "Disabled,Enabled" bitfld.long 0x00 7. " SYSCLKEN ,System clock (oversampling clock) enable" "Disabled,Enabled" textline " " bitfld.long 0x00 5.--6. " I2SMODE ,I2S mode select" "Normal,I2S Master,I2S Slave,Normal" bitfld.long 0x00 4. " SYN ,Synchronous mode" "Not selected,Selected" bitfld.long 0x00 3. " NET ,Network mode" "Not selected,Selected" textline " " bitfld.long 0x00 2. " RE ,Receive enable" "Disabled,Enabled" bitfld.long 0x00 1. " TE ,Transmit enable" "Disabled,Enabled" bitfld.long 0x00 0. " I2SEN ,I2S enable" "Disabled,Enabled" elif (((per.l(ad:0x4002F000+0x10))&0x06)==0x04) group.long 0x10++0x03 line.long 0x00 "CR,I2S Control Register" bitfld.long 0x00 12. " SYNCTXFS ,Safe window for CR[TE]" "Not latched,Latched" rbitfld.long 0x00 11. " RFRCLKDIS ,Receive frame clock disable" "No,Yes" bitfld.long 0x00 10. " TFRCLKDIS ,Transmit frame clock disable" "No,Yes" textline " " bitfld.long 0x00 9. " CLKIST ,Clock idle state" "Low,High" bitfld.long 0x00 8. " TCHEN ,Two-channel operation enable" "Disabled,Enabled" bitfld.long 0x00 7. " SYSCLKEN ,System clock (oversampling clock) enable" "Disabled,Enabled" textline " " bitfld.long 0x00 5.--6. " I2SMODE ,I2S mode select" "Normal,I2S Master,I2S Slave,Normal" bitfld.long 0x00 4. " SYN ,Synchronous mode" "Not selected,Selected" bitfld.long 0x00 3. " NET ,Network mode" "Not selected,Selected" textline " " bitfld.long 0x00 2. " RE ,Receive enable" "Disabled,Enabled" bitfld.long 0x00 1. " TE ,Transmit enable" "Disabled,Enabled" bitfld.long 0x00 0. " I2SEN ,I2S enable" "Disabled,Enabled" elif (((per.l(ad:0x4002F000+0x10))&0x06)==0x06) group.long 0x10++0x03 line.long 0x00 "CR,I2S Control Register" bitfld.long 0x00 12. " SYNCTXFS ,Safe window for CR[TE]" "Not latched,Latched" rbitfld.long 0x00 11. " RFRCLKDIS ,Receive frame clock disable" "No,Yes" rbitfld.long 0x00 10. " TFRCLKDIS ,Transmit frame clock disable" "No,Yes" textline " " bitfld.long 0x00 9. " CLKIST ,Clock idle state" "Low,High" bitfld.long 0x00 8. " TCHEN ,Two-channel operation enable" "Disabled,Enabled" bitfld.long 0x00 7. " SYSCLKEN ,System clock (oversampling clock) enable" "Disabled,Enabled" textline " " bitfld.long 0x00 5.--6. " I2SMODE ,I2S mode select" "Normal,I2S Master,I2S Slave,Normal" bitfld.long 0x00 4. " SYN ,Synchronous mode" "Not selected,Selected" bitfld.long 0x00 3. " NET ,Network mode" "Not selected,Selected" textline " " bitfld.long 0x00 2. " RE ,Receive enable" "Disabled,Enabled" bitfld.long 0x00 1. " TE ,Transmit enable" "Disabled,Enabled" bitfld.long 0x00 0. " I2SEN ,I2S enable" "Disabled,Enabled" else group.long 0x10++0x03 line.long 0x00 "CR,I2S Control Register" bitfld.long 0x00 12. " SYNCTXFS ,Safe window for CR[TE]" "Not latched,Latched" bitfld.long 0x00 11. " RFRCLKDIS ,Receive frame clock disable" "No,Yes" bitfld.long 0x00 10. " TFRCLKDIS ,Transmit frame clock disable" "No,Yes" textline " " bitfld.long 0x00 9. " CLKIST ,Clock idle state" "Low,High" bitfld.long 0x00 8. " TCHEN ,Two-channel operation enable" "Disabled,Enabled" bitfld.long 0x00 7. " SYSCLKEN ,System clock (oversampling clock) enable" "Disabled,Enabled" textline " " bitfld.long 0x00 5.--6. " I2SMODE ,I2S mode select" "Normal,I2S Master,I2S Slave,Normal" bitfld.long 0x00 4. " SYN ,Synchronous mode" "Not selected,Selected" bitfld.long 0x00 3. " NET ,Network mode" "Not selected,Selected" textline " " bitfld.long 0x00 2. " RE ,Receive enable" "Disabled,Enabled" bitfld.long 0x00 1. " TE ,Transmit enable" "Disabled,Enabled" bitfld.long 0x00 0. " I2SEN ,I2S enable" "Disabled,Enabled" endif if (((per.l(ad:0x4002F000+0x14))&0x30)==(0x10||0x20||0x30)) hgroup.long 0x14++0x03 hide.long 0x00 "ISR,I2S Interrupt Status Register" in else group.long 0x14++0x03 line.long 0x00 "ISR,I2S Interrupt Status Register" bitfld.long 0x00 24. " RFRC ,Receive frame complete" "Not completed,Completed" bitfld.long 0x00 23. " TRFC ,Transmit frame complete" "Not completed,Completed" rbitfld.long 0x00 18. " CMDAU ,Command address register updated" "Not updated,Updated" textline " " rbitfld.long 0x00 17. " CMDDU ,Command data register updated" "Not updated,Updated" rbitfld.long 0x00 16. " RXT ,Receive tag updated" "Not updated,Updated" rbitfld.long 0x00 15. " RDR1 ,Receive data ready 1" "Not ready,Ready" textline " " rbitfld.long 0x00 14. " RDR0 ,Receive data ready 0" "Not ready,Ready" rbitfld.long 0x00 13. " TDE1 ,Transmit data register empty 1" "Not empty,Empty" rbitfld.long 0x00 12. " TDE0 ,Transmit data register empty 0" "Not empty,Empty" textline " " eventfld.long 0x00 11. " ROE1 ,Receiver overrun error 1" "No error,Error" eventfld.long 0x00 10. " ROE0 ,Receiver overrun error 0" "No error,Error" eventfld.long 0x00 9. " TUE1 ,Transmitter underrun error 1" "No error,Error" textline " " eventfld.long 0x00 8. " TUE0 ,Transmitter underrun error 0" "No error,Error" rbitfld.long 0x00 7. " TFS ,Transmit frame sync" "No sync,Sync" rbitfld.long 0x00 6. " RFS ,Receive frame sync" "No sync,Sync" textline " " rbitfld.long 0x00 5. " TLS ,Transmit last time slot" "Not last,Last" rbitfld.long 0x00 4. " RLS ,Receive last time slot" "Not last,Last" rbitfld.long 0x00 3. " RFF1 ,Receive FIFO full 1" "Not full,Full" textline " " rbitfld.long 0x00 2. " RFF0 ,Receive FIFO full 0" "Not full,Full" rbitfld.long 0x00 1. " TFE1 ,Transmit FIFO empty 1" "Not empty,Empty" rbitfld.long 0x00 0. " TFE0 ,Transmit FIFO empty 0" "Not empty,Empty" endif else group.long 0x10++0x07 line.long 0x00 "CR,I2S Control Register" bitfld.long 0x00 12. " SYNCTXFS ,Safe window for CR[TE]" "Not latched,Latched" bitfld.long 0x00 11. " RFRCLKDIS ,Receive frame clock disable" "No,Yes" bitfld.long 0x00 10. " TFRCLKDIS ,Transmit frame clock disable" "No,Yes" textline " " bitfld.long 0x00 9. " CLKIST ,Clock idle state" "Low,High" bitfld.long 0x00 8. " TCHEN ,Two-channel operation enable" "Disabled,Enabled" bitfld.long 0x00 7. " SYSCLKEN ,System clock (oversampling clock) enable" "Disabled,Enabled" textline " " bitfld.long 0x00 5.--6. " I2SMODE ,I2S mode select" "Normal,I2S Master,I2S Slave,Normal" bitfld.long 0x00 4. " SYN ,Synchronous mode" "Not selected,Selected" bitfld.long 0x00 3. " NET ,Network mode" "Not selected,Selected" textline " " bitfld.long 0x00 2. " RE ,Receive enable" "Disabled,Enabled" bitfld.long 0x00 1. " TE ,Transmit enable" "Disabled,Enabled" bitfld.long 0x00 0. " I2SEN ,I2S enable" "Disabled,Enabled" line.long 0x04 "ISR,I2S Interrupt Status Register" bitfld.long 0x04 24. " RFRC ,Receive frame complete" "Not completed,Completed" bitfld.long 0x04 23. " TRFC ,Transmit frame complete" "Not completed,Completed" rbitfld.long 0x04 18. " CMDAU ,Command address register updated" "Not updated,Updated" textline " " rbitfld.long 0x04 17. " CMDDU ,Command data register updated" "Not updated,Updated" rbitfld.long 0x04 16. " RXT ,Receive tag updated" "Not updated,Updated" rbitfld.long 0x04 15. " RDR1 ,Receive data ready 1" "Not ready,Ready" textline " " rbitfld.long 0x04 14. " RDR0 ,Receive data ready 0" "Not ready,Ready" rbitfld.long 0x04 13. " TDE1 ,Transmit data register empty 1" "Not empty,Empty" rbitfld.long 0x04 12. " TDE0 ,Transmit data register empty 0" "Not empty,Empty" textline " " eventfld.long 0x04 11. " ROE1 ,Receiver overrun error 1" "No error,Error" eventfld.long 0x04 10. " ROE0 ,Receiver overrun error 0" "No error,Error" eventfld.long 0x04 9. " TUE1 ,Transmitter underrun error 1" "No error,Error" textline " " eventfld.long 0x04 8. " TUE0 ,Transmitter underrun error 0" "No error,Error" rbitfld.long 0x04 7. " TFS ,Transmit frame sync" "No sync,Sync" rbitfld.long 0x04 6. " RFS ,Receive frame sync" "No sync,Sync" textline " " rbitfld.long 0x04 5. " TLS ,Transmit last time slot" "Not last,Last" rbitfld.long 0x04 4. " RLS ,Receive last time slot" "Not last,Last" rbitfld.long 0x04 3. " RFF1 ,Receive FIFO full 1" "Not full,Full" textline " " rbitfld.long 0x04 2. " RFF0 ,Receive FIFO full 0" "Not full,Full" rbitfld.long 0x04 1. " TFE1 ,Transmit FIFO empty 1" "Not empty,Empty" rbitfld.long 0x04 0. " TFE0 ,Transmit FIFO empty 0" "Not empty,Empty" endif group.long 0x18++0x03 line.long 0x00 "IER,I2S Interrupt Enable Register" bitfld.long 0x00 24. " RFRC_EN ,Receive frame complete enable bit" "Disabled,Enabled" bitfld.long 0x00 23. " TFRC_EN ,Transmit frame complete enable bit" "Disabled,Enabled" bitfld.long 0x00 22. " RDMAE ,Receive DMA enable" "Disabled,Enabled" textline " " bitfld.long 0x00 21. " RIE ,Receive interrupt enable" "Disabled,Enabled" bitfld.long 0x00 20. " TDMAE ,Transmit DMA enable" "Disabled,Enabled" bitfld.long 0x00 19. " TIE ,Transmit interrupt enable" "Disabled,Enabled" textline " " bitfld.long 0x00 18. " CMDAUEN ,Command address register updated enable bit" "Disabled,Enabled" bitfld.long 0x00 17. " CMDDUEN ,Command data register updated enable bit" "Disabled,Enabled" bitfld.long 0x00 16. " RXTEN ,Receive tag updated enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 15. " RDR1EN ,Receive data ready 1 enable bit" "Disabled,Enabled" bitfld.long 0x00 14. " RDR0EN ,Receive data ready 0 enable bit" "Disabled,Enabled" bitfld.long 0x00 13. " TDE1EN ,Transmit data register empty 1 enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 12. " TDE0EN ,Transmit data register empty 0 enable bit" "Disabled,Enabled" bitfld.long 0x00 11. " ROE1EN ,Receiver overrun error 1 enable bit" "Disabled,Enabled" bitfld.long 0x00 10. " ROE0EN ,Receiver overrun error 0 enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 9. " TUE1EN ,Transmitter underrun error 1 enable bit" "Disabled,Enabled" bitfld.long 0x00 8. " TUE0EN ,Transmitter underrun error 1 enable bit" "Disabled,Enabled" bitfld.long 0x00 7. " TFSEN ,Transmit frame sync enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFSEN ,Receive frame sync enable bit" "Disabled,Enabled" bitfld.long 0x00 5. " TLSEN ,Transmit last time slot enable bit" "Disabled,Enabled" bitfld.long 0x00 4. " RLSEN ,Receive last time slot enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 3. " RFF1EN ,Receive FIFO full 1 enable bit" "Disabled,Enabled" bitfld.long 0x00 2. " RFF0EN ,Receive FIFO full 0 enable bit" "Disabled,Enabled" bitfld.long 0x00 1. " TFE1EN ,Transmit FIFO empty 1 enable bit" "Disabled,Enabled" textline " " bitfld.long 0x00 0. " TFE0EN ,Transmit FIFO empty 0 enable bit" "Disabled,Enabled" textline " " sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.l(ad:0x4002F000+0x24))&0x1E000)==(0xE000||0x10000||0x12000||0x14000||0x16000)) if (((per.l(ad:0x4002F000+0x1C))&0x10)==0x00) group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" "Respect to bit 31 (MSB aligned),?..." bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "First bit,One bit before" else group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif elif (((per.l(ad:0x4002F000+0x24))&0x1E000)==(0x6000||0x8000||0xA000)) if (((per.l(ad:0x4002F000+0x1C))&0x10)==0x00) group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" "Respect to bit 15 (MSB aligned),?..." bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" else group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif else if (((per.l(ad:0x4002F000+0x1C))&0x10)==0x00) group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" "MSB aligned,?..." bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" else group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif endif if (((per.l(ad:0x4002F000+0x28))&0x1E000)==(0xE000||0x10000||0x12000||0x14000||0x16000)) if (((per.l(ad:0x4002F000+0x20))&0x10)==0x00) group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" "Respect to bit 31 (MSB aligned),?..." textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" else group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif elif (((per.l(ad:0x4002F000+0x28))&0x1E000)==(0x6000||0x8000||0xA000)) if (((per.l(ad:0x4002F000+0x20))&0x10)==0x00) group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" "Respect to bit 15 (MSB aligned),?..." textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" else group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif else if (((per.l(ad:0x4002F000+0x20))&0x10)==0x00) group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" "MSB aligned,?..." textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" else group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 (shifting data direction)" ",Respect to bit 0 (LSB aligned)" textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif endif else group.long 0x1C++0x03 line.long 0x00 "TCR,I2S Transmit Configuration Register" bitfld.long 0x00 9. " TXBIT0 ,Transmit bit 0 - shifting with respect to bit 31/15 (MSB aligned) or with respect to bit 0 (LSB aligned)" "MSB,LSB" bitfld.long 0x00 8. " TFEN1 ,Transmit FIFO enable 1" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " TFEN0 ,Transmit FIFO enable 0" "Disabled,Enabled" bitfld.long 0x00 6. " TFDIR ,Transmit frame direction" "External,Internal" textline " " bitfld.long 0x00 5. " TXDIR ,Transmit clock direction" "External,Internal" bitfld.long 0x00 4. " TSHFD ,Transmit shift direction" "MSB first,LSB first" textline " " bitfld.long 0x00 3. " TSCKP ,Transmit clock polarity" "Rising edge,Falling edge" bitfld.long 0x00 2. " TFSI ,Transmit frame sync invert" "Active low,Active high" textline " " bitfld.long 0x00 1. " TFSL ,Transmit frame sync length" "One word,One clock" bitfld.long 0x00 0. " TEFS ,Transmit early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" group.long 0x20++0x03 line.long 0x00 "RCR,I2S Receive Configuration Register" bitfld.long 0x00 10. " RXEXT ,Receive data extension" "Off,On" bitfld.long 0x00 9. " RXBIT0 ,Receive bit 0 - shifting with respect to bit 31/15 (MSB aligned) or with respect to bit 0 (LSB aligned)" "MSB,LSB" textline " " bitfld.long 0x00 8. " RFEN1 ,Receive FIFO enable 1" "Disabled,Enabled" bitfld.long 0x00 7. " RFEN0 ,Receive FIFO enable 0" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " RFDIR ,Receive frame direction" "External,Internal" bitfld.long 0x00 5. " RXDIR ,Receive clock direction" "External,Internal" textline " " bitfld.long 0x00 4. " RSHFD ,Receive shift direction" "MSB first,LSB first" bitfld.long 0x00 3. " RSCKP ,Receive clock polarity" "Falling edge,Rising edge" textline " " bitfld.long 0x00 2. " RFSI ,Receive frame sync invert" "Active high,Active low" bitfld.long 0x00 1. " RFSL ,Receive frame sync length" "One-word long,One-clock-bit" textline " " bitfld.long 0x00 0. " REFS ,Receive early frame sync" "As the first bit is transmitted,One bit before the data is transmitted" endif textline " " if ((per.l(ad:0x4002F000+0x10)&0x8)==0x00) group.long 0x24++0x07 line.long 0x00 "TCCR,I2S Transmit Clock Control Register" bitfld.long 0x00 18. " DIV2 ,Divide by 2" "Bypassed,/2" bitfld.long 0x00 17. " PSR ,Prescaler range" "Bypassed,/8" bitfld.long 0x00 13.--16. " WL ,Word length control" ",,,8,10,12,,16,18,20,22,24,?..." textline " " bitfld.long 0x00 8.--12. " DC ,Frame rate divider control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" hexmask.long.byte 0x00 0.--7. 1. " PM ,Prescaler modulus select" line.long 0x04 "RCCR,I2S Receive Clock Control Register" bitfld.long 0x04 18. " DIV2 ,Divide by 2" "Bypassed,/2" bitfld.long 0x04 17. " PSR ,Prescaler range" "Bypassed,/8" bitfld.long 0x04 13.--16. " WL ,Word Length control" ",,,8,10,12,,16,18,20,22,24,?..." textline " " bitfld.long 0x04 8.--12. " DC ,Frame rate divider control" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" hexmask.long.byte 0x04 0.--7. 1. " PM ,Prescaler modulus select" else group.long 0x24++0x07 line.long 0x00 "TCCR,I2S Transmit Clock Control Register" bitfld.long 0x00 18. " DIV2 ,Divide by 2" "Bypassed,/2" bitfld.long 0x00 17. " PSR ,Prescaler range" "Bypassed,/8" bitfld.long 0x00 13.--16. " WL ,Word length control" ",,,8,10,12,,16,18,20,22,24,?..." textline " " bitfld.long 0x00 8.--12. " DC ,Frame rate divider control" ",2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" hexmask.long.byte 0x00 0.--7. 1. " PM ,Prescaler modulus select" line.long 0x04 "RCCR,I2S Receive Clock Control Register" bitfld.long 0x04 18. " DIV2 ,Divide by 2" "Bypassed,/2" bitfld.long 0x04 17. " PSR ,Prescaler range" "Bypassed,/8" bitfld.long 0x04 13.--16. " WL ,Word length control" ",,,8,10,12,,16,18,20,22,24,?..." textline " " bitfld.long 0x04 8.--12. " DC ,Frame rate divider control" ",2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32" hexmask.long.byte 0x04 0.--7. 1. " PM ,Prescaler modulus select" endif group.long 0x2C++0x03 line.long 0x00 "FCSR,I2S FIFO Control/Status Register" bitfld.long 0x00 28.--31. " RFCNT1 ,Receive FIFO counter1 " "0 data word,1 data word,2 data word,3 data word,4 data word,5 data word,6 data word,7 data word,8 data word,9 data word,10 data word,11 data word,12 data word,13 data word,14 data word,15 data word" bitfld.long 0x00 24.--27. " TFCNT1 ,Transmit FIFO counter 1" "0 data word,1 data word,2 data word,3 data word,4 data word,5 data word,6 data word,7 data word,8 data word,9 data word,10 data word,11 data word,12 data word,13 data word,14 data word,15 data word" bitfld.long 0x00 20.--23. " RFWM1 ,Receive FIFO full watermark 1" ",1-15 words,2-15 words,3-15 words,4-15 words,5-15 words,6-15 words,7-15 words,8-15 words,9-15 words,10-15 words,11-15 words,12-15 words,13-15 words,14-15 words,15 words" textline " " bitfld.long 0x00 16.--19. " TFWM1 ,Transmit FIFO empty watermark 1" ",TxFIFO <= 14 data,TxFIFO <= 13 data,TxFIFO <= 12 data,TxFIFO <= 11 data,TxFIFO <= 10 data,TxFIFO <= 9 data,TxFIFO <= 8 data,TxFIFO <= 7 data,TxFIFO <= 6 data,TxFIFO <= 5 data,TxFIFO <= 4 data,TxFIFO <= 3 data,TxFIFO <= 2 data,TxFIFO <= 1 data,TxFIFO <= 0 data" textline " " bitfld.long 0x00 12.--15. " RFCNT0 ,Receive FIFO counter 0 " "0 data word,1 data word,2 data word,3 data word,4 data word,5 data word,6 data word,7 data word,8 data word,9 data word,10 data word,11 data word,12 data word,13 data word,14 data word,15 data word" bitfld.long 0x00 8.--11. " TFCNT0 ,Transmit FIFO counter 0" "0 data word,1 data word,2 data word,3 data word,4 data word,5 data word,6 data word,7 data word,8 data word,9 data word,10 data word,11 data word,12 data word,13 data word,14 data word,15 data word" textline " " bitfld.long 0x00 4.--7. " RFWM0 ,Receive FIFO Full watermark 0" ",1-15 words,2-15 words,3-15 words,4-15 words,5-15 words,6-15 words,7-15 words,8-15 words,9-15 words,10-15 words,11-15 words,12-15 words,13-15 words,14-15 words,15 words" bitfld.long 0x00 0.--3. " TFWM0 ,Transmit FIFO Empty watermark 0" ",TxFIFO <= 14 data,TxFIFO <= 13 data,TxFIFO <= 12 data,TxFIFO <= 11 data,TxFIFO <= 10 data,TxFIFO <= 9 data,TxFIFO <= 8 data,TxFIFO <= 7 data,TxFIFO <= 6 data,TxFIFO <= 5 data,TxFIFO <= 4 data,TxFIFO <= 3 data,TxFIFO <= 2 data,TxFIFO <= 1 data,TxFIFO <= 0 data" group.long 0x38++0x03 line.long 0x00 "ACNT,I2S AC97 Control Register" bitfld.long 0x00 5.--10. " FRDIV ,Frame rate divider" "48 kHz,47 kHz,46 kHz,45 kHz,44 kHz,43 kHz,42 kHz,41 kHz,40 kHz,39 kHz,38 kHz,37 kHz,36 kHz,35 kHz,34 kHz,33 kHz,32 kHz,31 kHz,30 kHz,29 kHz,28 kHz,27 kHz,26 kHz,25 kHz,24 kHz,23 kHz,22 kHz,21 kHz,20 kHz,19 kHz,18 kHz,17 kHz,16 kHz,15 kHz,14 kHz,13 kHz,12 kHz,11 kHz,10 kHz,9 kHz,8 kHz,7 kHz,6 kHz,5 kHz,4 kHz,3 kHz,2 kHz,1 kHz,?..." bitfld.long 0x00 4. " WR ,Write command" "Disabled,Enabled" bitfld.long 0x00 3. " RD ,Read command" "Disabled,Enabled" textline " " bitfld.long 0x00 2. " TIF ,Tag in FIFO" "ATAG,ATAG and Rx FIFO 0" bitfld.long 0x00 1. " FV ,Fixed/variable operation" "Fixed,Variable" bitfld.long 0x00 0. " AC97EN ,AC97 mode enable" "Disabled,Enabled" sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") hgroup.long 0x3C++0x03 hide.long 0x00 "ACADD,I2S AC97 Command Address Register" in hgroup.long 0x40++0x03 hide.long 0x00 "ACDAT,I2S AC97 Tag Register" in hgroup.long 0x44++0x03 hide.long 0x00 "ATAG,I2S AC97 Tag Register" in else group.long 0x3C++0x13 line.long 0x00 "ACADD,I2S AC97 Command Address Register" hexmask.long.tbyte 0x00 0.--18. 0x01 " ACADD ,AC97 command address" line.long 0x04 "ACDAT,I2S AC97 Tag Register" hexmask.long.tbyte 0x04 0.--19. 1. " ACDAT ,AC97 command data" line.long 0x08 "ATAG,I2S AC97 Tag Register" hexmask.long.word 0x08 0.--15. 1. " ATAG ,AC97 tag value" sif cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x4002F000+0x10))&0x60)==0x40) hgroup.long 0x48++0x07 hide.long 0x00 "TMSK,I2S Transmit Time Slot Mask Register" hide.long 0x04 "RMSK,I2S Receive Time Slot Mask Register" else group.long 0x48++0x07 line.long 0x00 "TMSK,I2S Transmit Time Slot Mask Register" bitfld.long 0x00 31. " TMSK[31] ,Transmit mask [31]" "Valid,Masked" bitfld.long 0x00 30. " [30] ,Transmit mask [30]" "Valid,Masked" bitfld.long 0x00 29. " [29] ,Transmit mask [29]" "Valid,Masked" textline " " bitfld.long 0x00 28. " [28] ,Transmit mask [28]" "Valid,Masked" bitfld.long 0x00 27. " [27] ,Transmit mask [27]" "Valid,Masked" bitfld.long 0x00 26. " [26] ,Transmit mask [26]" "Valid,Masked" textline " " bitfld.long 0x00 25. " [25] ,Transmit mask [25]" "Valid,Masked" bitfld.long 0x00 24. " [24] ,Transmit mask [24]" "Valid,Masked" bitfld.long 0x00 23. " [23] ,Transmit mask [23]" "Valid,Masked" textline " " bitfld.long 0x00 22. " [22] ,Transmit mask [22]" "Valid,Masked" bitfld.long 0x00 21. " [21] ,Transmit mask [21]" "Valid,Masked" bitfld.long 0x00 20. " [20] ,Transmit mask [20]" "Valid,Masked" textline " " bitfld.long 0x00 19. " [19] ,Transmit mask [19]" "Valid,Masked" bitfld.long 0x00 18. " [18] ,Transmit mask [18]" "Valid,Masked" bitfld.long 0x00 17. " [17] ,Transmit mask [17]" "Valid,Masked" textline " " bitfld.long 0x00 16. " [16] ,Transmit mask [16]" "Valid,Masked" bitfld.long 0x00 15. " [15] ,Transmit mask [15]" "Valid,Masked" bitfld.long 0x00 14. " [14] ,Transmit mask [14]" "Valid,Masked" textline " " bitfld.long 0x00 13. " [13] ,Transmit mask [13]" "Valid,Masked" bitfld.long 0x00 12. " [12] ,Transmit mask [12]" "Valid,Masked" bitfld.long 0x00 11. " [11] ,Transmit mask [11]" "Valid,Masked" textline " " bitfld.long 0x00 10. " [10] ,Transmit mask [10]" "Valid,Masked" bitfld.long 0x00 9. " [9] ,Transmit mask [9]" "Valid,Masked" bitfld.long 0x00 8. " [8] ,Transmit mask [8]" "Valid,Masked" textline " " bitfld.long 0x00 7. " [7] ,Transmit mask [7]" "Valid,Masked" bitfld.long 0x00 6. " [6] ,Transmit mask [6]" "Valid,Masked" bitfld.long 0x00 5. " [5] ,Transmit mask [5]" "Valid,Masked" textline " " bitfld.long 0x00 4. " [4] ,Transmit mask [4]" "Valid,Masked" bitfld.long 0x00 3. " [3] ,Transmit mask [3]" "Valid,Masked" bitfld.long 0x00 2. " [2] ,Transmit mask [2]" "Valid,Masked" textline " " bitfld.long 0x00 1. " [1] ,Transmit mask [1]" "Valid,Masked" bitfld.long 0x00 0. " [0] ,Transmit mask [0]" "Valid,Masked" line.long 0x04 "RMSK,I2S Receive Time Slot Mask Register" bitfld.long 0x04 31. " RMSK[31] ,Receiver mask [31]" "Valid,Masked" bitfld.long 0x04 30. " [30] ,Receiver mask [30]" "Valid,Masked" bitfld.long 0x04 29. " [29] ,Receiver mask [29]" "Valid,Masked" textline " " bitfld.long 0x04 28. " [28] ,Receiver mask [28]" "Valid,Masked" bitfld.long 0x04 27. " [27] ,Receiver mask [27]" "Valid,Masked" bitfld.long 0x04 26. " [26] ,Receiver mask [26]" "Valid,Masked" textline " " bitfld.long 0x04 25. " [25] ,Receiver mask [25]" "Valid,Masked" bitfld.long 0x04 24. " [24] ,Receiver mask [24]" "Valid,Masked" bitfld.long 0x04 23. " [23] ,Receiver mask [23]" "Valid,Masked" textline " " bitfld.long 0x04 22. " [22] ,Receiver mask [22]" "Valid,Masked" bitfld.long 0x04 21. " [21] ,Receiver mask [21]" "Valid,Masked" bitfld.long 0x04 20. " [20] ,Receiver mask [20]" "Valid,Masked" textline " " bitfld.long 0x04 19. " [19] ,Receiver mask [19]" "Valid,Masked" bitfld.long 0x04 18. " [18] ,Receiver mask [18]" "Valid,Masked" bitfld.long 0x04 17. " [17] ,Receiver mask [17]" "Valid,Masked" textline " " bitfld.long 0x04 16. " [16] ,Receiver mask [16]" "Valid,Masked" bitfld.long 0x04 15. " [15] ,Receiver mask [15]" "Valid,Masked" bitfld.long 0x04 14. " [14] ,Receiver mask [14]" "Valid,Masked" textline " " bitfld.long 0x04 13. " [13] ,Receiver mask [13]" "Valid,Masked" bitfld.long 0x04 12. " [12] ,Receiver mask [12]" "Valid,Masked" bitfld.long 0x04 11. " [11] ,Receiver mask [11]" "Valid,Masked" textline " " bitfld.long 0x04 10. " [10] ,Receiver mask [10]" "Valid,Masked" bitfld.long 0x04 9. " [9] ,Receiver mask [9]" "Valid,Masked" bitfld.long 0x04 8. " [8] ,Receiver mask [8]" "Valid,Masked" textline " " bitfld.long 0x04 7. " [7] ,Receiver mask [7]" "Valid,Masked" bitfld.long 0x04 6. " [6] ,Receiver mask [6]" "Valid,Masked" bitfld.long 0x04 5. " [5] ,Receiver mask [5]" "Valid,Masked" textline " " bitfld.long 0x04 4. " [4] ,Receiver mask [4]" "Valid,Masked" bitfld.long 0x04 3. " [3] ,Receiver mask [3]" "Valid,Masked" bitfld.long 0x04 2. " [2] ,Receiver mask [2]" "Valid,Masked" textline " " bitfld.long 0x04 1. " [1] ,Receiver mask [1]" "Valid,Masked" bitfld.long 0x04 0. " [0] ,Receiver mask [0]" "Valid,Masked" endif else group.long 0x48++0x07 line.long 0x00 "TMSK,I2S Transmit Time Slot Mask Register" line.long 0x04 "RMSK,I2S Receive Time Slot Mask Register" endif endif textline " " sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R") group.long 0x50++0x03 line.long 0x00 "ACCST_SET/CLR,I2S AC97 Channel Status Register" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " ACCST[10] ,AC97 channel 10 status" "Disabled,Enabled" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [9] ,AC97 channel 9 status" "Disabled,Enabled" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [8] ,AC97 channel 8 status" "Disabled,Enabled" textline " " setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [7] ,AC97 channel 7 status" "Disabled,Enabled" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [6] ,AC97 channel 6 status" "Disabled,Enabled" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [5] ,AC97 channel 5 status" "Disabled,Enabled" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [4] ,AC97 channel 4 status" "Disabled,Enabled" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [3] ,AC97 channel 3 status" "Disabled,Enabled" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [2] ,AC97 channel 2 status" "Disabled,Enabled" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [1] ,AC97 channel 1 status" "Disabled,Enabled" elif cpuis("MK60DX256ZVLL10") group.long 0x50++0x03 line.long 0x00 "ACCST,I2S AC97 Channel Status Register" rbitfld.long 0x00 9. " ACCST[9] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 8. " [8] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 7. " [7] ,AC97 channel enable" "Disabled,Enabled" textline " " rbitfld.long 0x00 6. " [6] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 5. " [5] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 4. " [4] ,AC97 channel enable" "Disabled,Enabled" textline " " rbitfld.long 0x00 3. " [3] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 2. " [2] ,AC97 channel enable" "Disabled,Enabled" rbitfld.long 0x00 1. " [1] ,AC97 channel enable" "Disabled,Enabled" textline " " rbitfld.long 0x00 0. " [0] ,AC97 channel enable" "Disabled,Enabled" else group.long 0x50++0x03 line.long 0x00 "ACCST_SET/CLR,I2S AC97 Channel Status Register" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " ACCST[9] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,AC97 channel enable" "Disabled,Enabled" textline " " setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,AC97 channel enable" "Disabled,Enabled" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,AC97 channel enable" "Disabled,Enabled" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,AC97 channel enable" "Disabled,Enabled" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,AC97 channel enable" "Disabled,Enabled" endif sif cpuis("KK20DN512ZCAB10R")||cpuis("MK20DN512ZVLL10")||cpuis("MK20DX256ZVLL10")||cpuis("MK20DN512ZVLQ10")||cpuis("MK20DN512ZVLQ10R")||cpuis("MK20DN512ZVMD10")||cpuis("MK20DX128ZVLQ10")||cpuis("MK20DX256ZVLQ10")||cpuis("MK20DX256ZVLQ10R")||cpuis("MK20DX256ZVMD10")||cpuis("MK20DN512ZVLK10")||cpuis("MK20DX256ZVLK10")||cpuis("MK20DN512ZVMC10")||cpuis("MK20DN512ZVMC10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10") wgroup.long 0x54++0x07 line.long 0x00 "ACCEN,I2S AC97 Channel enable Register" bitfld.long 0x00 9. " ACCEN[10] ,AC97 channel 10 enable" "No,Yes" bitfld.long 0x00 8. " [9] ,AC97 channel 9 enable" "No,Yes" bitfld.long 0x00 7. " [8] ,AC97 channel 8 enable" "No,Yes" textline " " bitfld.long 0x00 6. " [7] ,AC97 channel 7 enable" "No,Yes" bitfld.long 0x00 5. " [6] ,AC97 channel 6 enable" "No,Yes" bitfld.long 0x00 4. " [5] ,AC97 channel 5 enable" "No,Yes" textline " " bitfld.long 0x00 3. " [4] ,AC97 channel 4 enable" "No,Yes" bitfld.long 0x00 2. " [3] ,AC97 channel 3 enable" "No,Yes" bitfld.long 0x00 1. " [2] ,AC97 2 channel enable" "No,Yes" textline " " bitfld.long 0x00 0. " [1] ,AC97 channel 1 enable" "No,Yes" line.long 0x04 "ACCDIS,I2S AC97 Channel Enable Register" bitfld.long 0x04 9. " ACCDIS[10] ,AC97 channel 10 disable" "No,Yes" bitfld.long 0x04 8. " [9] ,AC97 channel 9 disable" "No,Yes" bitfld.long 0x04 7. " [8] ,AC97 channel 8 disable" "No,Yes" textline " " bitfld.long 0x04 6. " [7] ,AC97 channel 7 disable" "No,Yes" bitfld.long 0x04 5. " [6] ,AC97 channel 6 disable" "No,Yes" bitfld.long 0x04 4. " [5] ,AC97 channel 5 disable" "No,Yes" textline " " bitfld.long 0x04 3. " [4] ,AC97 channel 4 disable" "No,Yes" bitfld.long 0x04 2. " [3] ,AC97 channel 3 disable" "No,Yes" bitfld.long 0x04 1. " [2] ,AC97 channel 2 disable" "No,Yes" textline " " bitfld.long 0x04 0. " [1] ,AC97 channel 1 disable" "No,Yes" endif width 0x0B tree.end tree.end tree.open "Human-Machine Interfaces" tree.open "GPIO (GPIO Controller)" tree "GPIO_A" base ad:0x400FF000 width 20. sif (cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10") group.long 0x00++0x03 line.long 0x00 "GPIOA_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 29. 0x04 29. 0x08 29. " PDO[29] ,Port data output" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " PDO[15] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 14. 0x04 14. 0x08 14. " PDO[14] ,Port data output" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " PDO[13] ,Port data output" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " PDO[12] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOA_PTOR,Port Toggle Output Register" bitfld.long 0x00 29. " PTTO[29] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 15. " PTTO[15] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOA_PDIR,Port Data Input Register" bitfld.long 0x00 29. " PDI[29] ,Port data input" "Low,High" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" textline " " bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 15. " PDI[15] ,Port data input" "Low,High" textline " " bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" textline " " bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOA_PDDR,Port Data Direction Register" bitfld.long 0x00 29. " PDD[29] ,Port data direction" "Input,Output" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 15. " PDD[15] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10") group.long 0x00++0x03 line.long 0x00 "GPIOA_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 29. 0x04 29. 0x08 29. " PDO[29] ,Port data output pin 29" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " [15] ,Port data output pin 15" "Low,High" textline " " setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOA_PTOR,Port Toggle Output Register" bitfld.long 0x00 29. " PTTO[29] ,Port toggle output pin 29" "Not toggled,Toggled" bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 15. " [15] ,Port toggle output pin 15" "Not toggled,Toggled" textline " " bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOA_PDIR,Port Data Input Register" bitfld.long 0x00 29. " PDI[29] ,Port data input pin 29" "Low,High" bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" textline " " bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 15. " [15] ,Port data input pin 15" "Low,High" textline " " bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" textline " " bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" textline " " bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOA_PDDR,Port Data Direction Register" bitfld.long 0x00 29. " PDD[29] ,Port data direction pin 29" "Input,Output" bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" textline " " bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 15. " [15] ,Port data direction pin 15" "Input,Output" textline " " bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" textline " " bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" textline " " bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOA_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 29. 0x04 29. 0x08 29. " PDO[29] ,Port data output pin 29" "Low,High" setclrfld.long 0x00 28. 0x04 28. 0x08 28. " [28] ,Port data output pin 28" "Low,High" setclrfld.long 0x00 27. 0x04 27. 0x08 27. " [27] ,Port data output pin 27" "Low,High" textline " " setclrfld.long 0x00 26. 0x04 26. 0x08 26. " [26] ,Port data output pin 26" "Low,High" setclrfld.long 0x00 25. 0x04 25. 0x08 25. " [25] ,Port data output pin 25" "Low,High" setclrfld.long 0x00 24. 0x04 24. 0x08 24. " [24] ,Port data output pin 24" "Low,High" textline " " setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " [15] ,Port data output pin 15" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" textline " " setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOA_PTOR,Port Toggle Output Register" bitfld.long 0x00 29. " PTTO[29] ,Port toggle output pin 29" "Not toggled,Toggled" bitfld.long 0x00 28. " [28] ,Port toggle output pin 28" "Not toggled,Toggled" bitfld.long 0x00 27. " [27] ,Port toggle output pin 27" "Not toggled,Toggled" textline " " bitfld.long 0x00 26. " [26] ,Port toggle output pin 26" "Not toggled,Toggled" bitfld.long 0x00 25. " [25] ,Port toggle output pin 25" "Not toggled,Toggled" bitfld.long 0x00 24. " [24] ,Port toggle output pin 24" "Not toggled,Toggled" textline " " bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 15. " [15] ,Port toggle output pin 15" "Not toggled,Toggled" bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" textline " " bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOA_PDIR,Port Data Input Register" bitfld.long 0x00 29. " PDI[29] ,Port data input pin 29" "Low,High" bitfld.long 0x00 28. " [28] ,Port data input pin 28" "Low,High" bitfld.long 0x00 27. " [27] ,Port data input pin 27" "Low,High" textline " " bitfld.long 0x00 26. " [26] ,Port data input pin 26" "Low,High" bitfld.long 0x00 25. " [25] ,Port data input pin 25" "Low,High" bitfld.long 0x00 24. " [24] ,Port data input pin 24" "Low,High" textline " " bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" textline " " bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 15. " [15] ,Port data input pin 15" "Low,High" bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" textline " " bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOA_PDDR,Port Data Direction Register" bitfld.long 0x00 29. " PDD[29] ,Port data direction pin 29" "Input,Output" bitfld.long 0x00 28. " [28] ,Port data direction pin 28" "Input,Output" bitfld.long 0x00 27. " [27] ,Port data direction pin 27" "Input,Output" textline " " bitfld.long 0x00 26. " [26] ,Port data direction pin 26" "Input,Output" bitfld.long 0x00 25. " [25] ,Port data direction pin 25" "Input,Output" bitfld.long 0x00 24. " [24] ,Port data direction pin 24" "Input,Output" textline " " bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" textline " " bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 15. " [15] ,Port data direction pin 15" "Input,Output" bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" textline " " bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK50DX128CLH7")||(cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10")||(cpu()=="MK51DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") group.long 0x00++0x03 line.long 0x00 "GPIOA_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOA_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOA_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" textline " " bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" textline " " bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOA_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOA_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " [15] ,Port data output pin 15" "Low,High" textline " " setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOA_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" bitfld.long 0x00 15. " [15] ,Port toggle output pin 15" "Not toggled,Toggled" textline " " bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOA_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" bitfld.long 0x00 15. " [15] ,Port data input pin 15" "Low,High" textline " " bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOA_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" bitfld.long 0x00 15. " [15] ,Port data direction pin 15" "Input,Output" textline " " bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK53DX256ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK50DN512ZCMD10") group.long 0x00++0x03 line.long 0x00 "PDOR,Port Data Output Register" bitfld.long 0x00 31. " PDO[31] ,Port data output" "Low,High" bitfld.long 0x00 30. " PDO[30] ,Port data output" "Low,High" bitfld.long 0x00 29. " PDO[29] ,Port data output" "Low,High" textline " " bitfld.long 0x00 28. " PDO[28] ,Port data output" "Low,High" bitfld.long 0x00 27. " PDO[27] ,Port data output" "Low,High" bitfld.long 0x00 26. " PDO[26] ,Port data output" "Low,High" textline " " bitfld.long 0x00 25. " PDO[25] ,Port data output" "Low,High" bitfld.long 0x00 24. " PDO[24] ,Port data output" "Low,High" bitfld.long 0x00 23. " PDO[23] ,Port data output" "Low,High" textline " " bitfld.long 0x00 22. " PDO[22] ,Port data output" "Low,High" bitfld.long 0x00 21. " PDO[21] ,Port data output" "Low,High" bitfld.long 0x00 20. " PDO[20] ,Port data output" "Low,High" textline " " bitfld.long 0x00 19. " PDO[19] ,Port data output" "Low,High" bitfld.long 0x00 18. " PDO[18] ,Port data output" "Low,High" bitfld.long 0x00 17. " PDO[17] ,Port data output" "Low,High" textline " " bitfld.long 0x00 16. " PDO[16] ,Port data output" "Low,High" bitfld.long 0x00 15. " PDO[15] ,Port data output" "Low,High" bitfld.long 0x00 14. " PDO[14] ,Port data output" "Low,High" textline " " bitfld.long 0x00 13. " PDO[13] ,Port data output" "Low,High" bitfld.long 0x00 12. " PDO[12] ,Port data output" "Low,High" bitfld.long 0x00 11. " PDO[11] ,Port data output" "Low,High" textline " " bitfld.long 0x00 10. " PDO[10] ,Port data output" "Low,High" bitfld.long 0x00 9. " PDO[9] ,Port data output" "Low,High" bitfld.long 0x00 8. " PDO[8] ,Port data output" "Low,High" textline " " bitfld.long 0x00 7. " PDO[7] ,Port data output" "Low,High" bitfld.long 0x00 6. " PDO[6] ,Port data output" "Low,High" bitfld.long 0x00 5. " PDO[5] ,Port data output" "Low,High" textline " " bitfld.long 0x00 4. " PDO[4] ,Port data output" "Low,High" bitfld.long 0x00 3. " PDO[3] ,Port data output" "Low,High" bitfld.long 0x00 2. " PDO[2] ,Port data output" "Low,High" textline " " bitfld.long 0x00 1. " PDO[1] ,Port data output" "Low,High" bitfld.long 0x00 0. " PDO[0] ,Port data output" "Low,High" wgroup.long (0x00+0x04)++0x0B line.long 0x00 "PSOR,Port Set Output Register" bitfld.long 0x00 31. " PTSO[31] ,Port set output" "No effect,Set" bitfld.long 0x00 30. " PTSO[30] ,Port set output" "No effect,Set" bitfld.long 0x00 29. " PTSO[29] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 28. " PTSO[28] ,Port set output" "No effect,Set" bitfld.long 0x00 27. " PTSO[27] ,Port set output" "No effect,Set" bitfld.long 0x00 26. " PTSO[26] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 25. " PTSO[25] ,Port set output" "No effect,Set" bitfld.long 0x00 24. " PTSO[24] ,Port set output" "No effect,Set" bitfld.long 0x00 23. " PTSO[23] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 22. " PTSO[22] ,Port set output" "No effect,Set" bitfld.long 0x00 21. " PTSO[21] ,Port set output" "No effect,Set" bitfld.long 0x00 20. " PTSO[20] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 19. " PTSO[19] ,Port set output" "No effect,Set" bitfld.long 0x00 18. " PTSO[18] ,Port set output" "No effect,Set" bitfld.long 0x00 17. " PTSO[17] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 16. " PTSO[16] ,Port set output" "No effect,Set" bitfld.long 0x00 15. " PTSO[15] ,Port set output" "No effect,Set" bitfld.long 0x00 14. " PTSO[14] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 13. " PTSO[13] ,Port set output" "No effect,Set" bitfld.long 0x00 12. " PTSO[12] ,Port set output" "No effect,Set" bitfld.long 0x00 11. " PTSO[11] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 10. " PTSO[10] ,Port set output" "No effect,Set" bitfld.long 0x00 9. " PTSO[9] ,Port set output" "No effect,Set" bitfld.long 0x00 8. " PTSO[8] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 7. " PTSO[7] ,Port set output" "No effect,Set" bitfld.long 0x00 6. " PTSO[6] ,Port set output" "No effect,Set" bitfld.long 0x00 5. " PTSO[5] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 4. " PTSO[4] ,Port set output" "No effect,Set" bitfld.long 0x00 3. " PTSO[3] ,Port set output" "No effect,Set" bitfld.long 0x00 2. " PTSO[2] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 1. " PTSO[1] ,Port set output" "No effect,Set" bitfld.long 0x00 0. " PTSO[0] ,Port set output" "No effect,Set" line.long 0x04 "PCOR,Port Clear Output Register" bitfld.long 0x04 31. " PTCO[31] ,Port clear output" "No effect,Clear" bitfld.long 0x04 30. " PTCO[30] ,Port clear output" "No effect,Clear" bitfld.long 0x04 29. " PTCO[29] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 28. " PTCO[28] ,Port clear output" "No effect,Clear" bitfld.long 0x04 27. " PTCO[27] ,Port clear output" "No effect,Clear" bitfld.long 0x04 26. " PTCO[26] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 25. " PTCO[25] ,Port clear output" "No effect,Clear" bitfld.long 0x04 24. " PTCO[24] ,Port clear output" "No effect,Clear" bitfld.long 0x04 23. " PTCO[23] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 22. " PTCO[22] ,Port clear output" "No effect,Clear" bitfld.long 0x04 21. " PTCO[21] ,Port clear output" "No effect,Clear" bitfld.long 0x04 20. " PTCO[20] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 19. " PTCO[19] ,Port clear output" "No effect,Clear" bitfld.long 0x04 18. " PTCO[18] ,Port clear output" "No effect,Clear" bitfld.long 0x04 17. " PTCO[17] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 16. " PTCO[16] ,Port clear output" "No effect,Clear" bitfld.long 0x04 15. " PTCO[15] ,Port clear output" "No effect,Clear" bitfld.long 0x04 14. " PTCO[14] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 13. " PTCO[13] ,Port clear output" "No effect,Clear" bitfld.long 0x04 12. " PTCO[12] ,Port clear output" "No effect,Clear" bitfld.long 0x04 11. " PTCO[11] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 10. " PTCO[10] ,Port clear output" "No effect,Clear" bitfld.long 0x04 9. " PTCO[9] ,Port clear output" "No effect,Clear" bitfld.long 0x04 8. " PTCO[8] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 7. " PTCO[7] ,Port clear output" "No effect,Clear" bitfld.long 0x04 6. " PTCO[6] ,Port clear output" "No effect,Clear" bitfld.long 0x04 5. " PTCO[5] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 4. " PTCO[4] ,Port clear output" "No effect,Clear" bitfld.long 0x04 3. " PTCO[3] ,Port clear output" "No effect,Clear" bitfld.long 0x04 2. " PTCO[2] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 1. " PTCO[1] ,Port clear output" "No effect,Clear" bitfld.long 0x04 0. " PTCO[0] ,Port clear output" "No effect,Clear" line.long 0x08 "PTOR,Port Toggle Output Register" bitfld.long 0x08 31. " PTTO[31] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 30. " PTTO[30] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 29. " PTTO[29] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 28. " PTTO[28] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 27. " PTTO[27] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 26. " PTTO[26] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 25. " PTTO[25] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 24. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 23. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 22. " PTTO[22] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 21. " PTTO[21] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 20. " PTTO[20] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 15. " PTTO[15] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long (0x00+0x10)++0x03 line.long 0x00 "PDIR,Port Data Input Register" bitfld.long 0x00 31. " PDI[31] ,Port data input" "Low,High" bitfld.long 0x00 30. " PDI[30] ,Port data input" "Low,High" bitfld.long 0x00 29. " PDI[29] ,Port data input" "Low,High" textline " " bitfld.long 0x00 28. " PDI[28] ,Port data input" "Low,High" bitfld.long 0x00 27. " PDI[27] ,Port data input" "Low,High" bitfld.long 0x00 26. " PDI[26] ,Port data input" "Low,High" textline " " bitfld.long 0x00 25. " PDI[25] ,Port data input" "Low,High" bitfld.long 0x00 24. " PDI[24] ,Port data input" "Low,High" bitfld.long 0x00 23. " PDI[23] ,Port data input" "Low,High" textline " " bitfld.long 0x00 22. " PDI[22] ,Port data input" "Low,High" bitfld.long 0x00 21. " PDI[21] ,Port data input" "Low,High" bitfld.long 0x00 20. " PDI[20] ,Port data input" "Low,High" textline " " bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 15. " PDI[15] ,Port data input" "Low,High" bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" textline " " bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" textline " " bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" textline " " bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long (0x00+0x14)++0x03 line.long 0x00 "PDDR,Port Data Direction Register" bitfld.long 0x00 31. " PDD[31] ,Port data direction" "Input,Output" bitfld.long 0x00 30. " PDD[30] ,Port data direction" "Input,Output" bitfld.long 0x00 29. " PDD[29] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 28. " PDD[28] ,Port data direction" "Input,Output" bitfld.long 0x00 27. " PDD[27] ,Port data direction" "Input,Output" bitfld.long 0x00 26. " PDD[26] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 25. " PDD[25] ,Port data direction" "Input,Output" bitfld.long 0x00 24. " PDD[24] ,Port data direction" "Input,Output" bitfld.long 0x00 23. " PDD[23] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 22. " PDD[22] ,Port data direction" "Input,Output" bitfld.long 0x00 21. " PDD[21] ,Port data direction" "Input,Output" bitfld.long 0x00 20. " PDD[20] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 15. " PDD[15] ,Port data direction" "Input,Output" bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" endif width 0x0B tree.end tree "GPIO_B" base ad:0x400FF040 width 20. sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 23. 0x04 23. 0x08 23. " PDO[23] ,Port data output pin 23" "Low,High" setclrfld.long 0x00 22. 0x04 22. 0x08 22. " [22] ,Port data output pin 22" "Low,High" setclrfld.long 0x00 21. 0x04 21. 0x08 21. " [21] ,Port data output pin 21" "Low,High" textline " " setclrfld.long 0x00 20. 0x04 20. 0x08 20. " [20] ,Port data output pin 20" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 23. " PTTO[23] ,Port toggle output pin 23" "Not toggled,Toggled" bitfld.long 0x00 22. " [22] ,Port toggle output pin 22" "Not toggled,Toggled" bitfld.long 0x00 21. " [21] ,Port toggle output pin 21" "Not toggled,Toggled" textline " " bitfld.long 0x00 20. " [20] ,Port toggle output pin 20" "Not toggled,Toggled" bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 23. " PDI[23] ,Port data input pin 23" "Low,High" bitfld.long 0x00 22. " [22] ,Port data input pin 22" "Low,High" bitfld.long 0x00 21. " [21] ,Port data input pin 21" "Low,High" textline " " bitfld.long 0x00 20. " [20] ,Port data input pin 20" "Low,High" bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" textline " " bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 23. " PDD[23] ,Port data direction pin 23" "Input,Output" bitfld.long 0x00 22. " [22] ,Port data direction pin 22" "Input,Output" bitfld.long 0x00 21. " [21] ,Port data direction pin 21" "Input,Output" textline " " bitfld.long 0x00 20. " [20] ,Port data direction pin 20" "Input,Output" bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" textline " " bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 23. 0x04 23. 0x08 23. " PDO[23] ,Port data output pin 23" "Low,High" setclrfld.long 0x00 22. 0x04 22. 0x08 22. " [22] ,Port data output pin 22" "Low,High" setclrfld.long 0x00 21. 0x04 21. 0x08 21. " [21] ,Port data output pin 21" "Low,High" textline " " setclrfld.long 0x00 20. 0x04 20. 0x08 20. " [20] ,Port data output pin 20" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 23. " PTTO[23] ,Port toggle output pin 23" "Not toggled,Toggled" bitfld.long 0x00 22. " [22] ,Port toggle output pin 22" "Not toggled,Toggled" bitfld.long 0x00 21. " [21] ,Port toggle output pin 21" "Not toggled,Toggled" textline " " bitfld.long 0x00 20. " [20] ,Port toggle output pin 20" "Not toggled,Toggled" bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 11. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 23. " PDI[23] ,Port data input pin 23" "Low,High" bitfld.long 0x00 22. " [22] ,Port data input pin 22" "Low,High" bitfld.long 0x00 21. " [21] ,Port data input pin 21" "Low,High" textline " " bitfld.long 0x00 20. " [20] ,Port data input pin 20" "Low,High" bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" textline " " bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" textline " " bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 23. " PDD[23] ,Port data direction pin 23" "Input,Output" bitfld.long 0x00 22. " [22] ,Port data direction pin 22" "Input,Output" bitfld.long 0x00 21. " [21] ,Port data direction pin 21" "Input,Output" textline " " bitfld.long 0x00 20. " [20] ,Port data direction pin 20" "Input,Output" bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" textline " " bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" textline " " bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" textline " " bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" textline " " bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 23. 0x04 23. 0x08 23. " PDO[23] ,Port data output pin 23" "Low,High" setclrfld.long 0x00 22. 0x04 22. 0x08 22. " [22] ,Port data output pin 22" "Low,High" setclrfld.long 0x00 21. 0x04 21. 0x08 21. " [21] ,Port data output pin 21" "Low,High" textline " " setclrfld.long 0x00 20. 0x04 20. 0x08 20. " [20] ,Port data output pin 20" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 23. " PTTO[23] ,Port toggle output pin 23" "Not toggled,Toggled" bitfld.long 0x00 22. " [22] ,Port toggle output pin 22" "Not toggled,Toggled" bitfld.long 0x00 21. " [21] ,Port toggle output pin 21" "Not toggled,Toggled" textline " " bitfld.long 0x00 20. " [20] ,Port toggle output pin 20" "Not toggled,Toggled" bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 23. " PDI[23] ,Port data input pin 23" "Low,High" bitfld.long 0x00 22. " [22] ,Port data input pin 22" "Low,High" bitfld.long 0x00 21. " [21] ,Port data input pin 21" "Low,High" textline " " bitfld.long 0x00 20. " [20] ,Port data input pin 20" "Low,High" bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" textline " " bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" textline " " bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 23. " PDD[23] ,Port data direction pin 23" "Input,Output" bitfld.long 0x00 22. " [22] ,Port data direction pin 22" "Input,Output" bitfld.long 0x00 21. " [21] ,Port data direction pin 21" "Input,Output" textline " " bitfld.long 0x00 20. " [20] ,Port data direction pin 20" "Input,Output" bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" textline " " bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" textline " " bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 9. 0x04 9. 0x08 9. " PDO[9] ,Port data output" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " PDO[8] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" textline " " bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" textline " " bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif cpuis("MK51DN512ZCLL10")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL7") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 23. 0x04 23. 0x08 23. " PDO[23] ,Port data output pin 23" "Low,High" setclrfld.long 0x00 22. 0x04 22. 0x08 22. " [22] ,Port data output pin 22" "Low,High" setclrfld.long 0x00 21. 0x04 21. 0x08 21. " [21] ,Port data output pin 21" "Low,High" textline " " setclrfld.long 0x00 20. 0x04 20. 0x08 20. " [20] ,Port data output pin 20" "Low,High" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " [19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" textline " " setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 23. " PTTO[23] ,Port toggle output pin 23" "Not toggled,Toggled" bitfld.long 0x00 22. " [22] ,Port toggle output pin 22" "Not toggled,Toggled" bitfld.long 0x00 21. " [21] ,Port toggle output pin 21" "Not toggled,Toggled" textline " " bitfld.long 0x00 20. " [20] ,Port toggle output pin 20" "Not toggled,Toggled" bitfld.long 0x00 19. " [19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" textline " " bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 23. " PDI[23] ,Port data input pin 23" "Low,High" bitfld.long 0x00 22. " [22] ,Port data input pin 22" "Low,High" bitfld.long 0x00 21. " [21] ,Port data input pin 21" "Low,High" textline " " bitfld.long 0x00 20. " [20] ,Port data input pin 20" "Low,High" bitfld.long 0x00 19. " [19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" textline " " bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 23. " PDD[23] ,Port data direction pin 23" "Input,Output" bitfld.long 0x00 22. " [22] ,Port data direction pin 22" "Input,Output" bitfld.long 0x00 21. " [21] ,Port data direction pin 21" "Input,Output" textline " " bitfld.long 0x00 20. " [20] ,Port data direction pin 20" "Input,Output" bitfld.long 0x00 19. " [19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" textline " " bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK51DX128CLH7")||(cpu()=="MK50DX128CLH7") group.long 0x00++0x03 line.long 0x00 "GPIOB_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOB_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOB_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOB_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif (cpu()=="MK53DX256ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK50DN512ZCMD10") group.long 0x00++0x03 line.long 0x00 "PDOR,Port Data Output Register" bitfld.long 0x00 31. " PDO[31] ,Port data output" "Low,High" bitfld.long 0x00 30. " PDO[30] ,Port data output" "Low,High" bitfld.long 0x00 29. " PDO[29] ,Port data output" "Low,High" textline " " bitfld.long 0x00 28. " PDO[28] ,Port data output" "Low,High" bitfld.long 0x00 27. " PDO[27] ,Port data output" "Low,High" bitfld.long 0x00 26. " PDO[26] ,Port data output" "Low,High" textline " " bitfld.long 0x00 25. " PDO[25] ,Port data output" "Low,High" bitfld.long 0x00 24. " PDO[24] ,Port data output" "Low,High" bitfld.long 0x00 23. " PDO[23] ,Port data output" "Low,High" textline " " bitfld.long 0x00 22. " PDO[22] ,Port data output" "Low,High" bitfld.long 0x00 21. " PDO[21] ,Port data output" "Low,High" bitfld.long 0x00 20. " PDO[20] ,Port data output" "Low,High" textline " " bitfld.long 0x00 19. " PDO[19] ,Port data output" "Low,High" bitfld.long 0x00 18. " PDO[18] ,Port data output" "Low,High" bitfld.long 0x00 17. " PDO[17] ,Port data output" "Low,High" textline " " bitfld.long 0x00 16. " PDO[16] ,Port data output" "Low,High" bitfld.long 0x00 15. " PDO[15] ,Port data output" "Low,High" bitfld.long 0x00 14. " PDO[14] ,Port data output" "Low,High" textline " " bitfld.long 0x00 13. " PDO[13] ,Port data output" "Low,High" bitfld.long 0x00 12. " PDO[12] ,Port data output" "Low,High" bitfld.long 0x00 11. " PDO[11] ,Port data output" "Low,High" textline " " bitfld.long 0x00 10. " PDO[10] ,Port data output" "Low,High" bitfld.long 0x00 9. " PDO[9] ,Port data output" "Low,High" bitfld.long 0x00 8. " PDO[8] ,Port data output" "Low,High" textline " " bitfld.long 0x00 7. " PDO[7] ,Port data output" "Low,High" bitfld.long 0x00 6. " PDO[6] ,Port data output" "Low,High" bitfld.long 0x00 5. " PDO[5] ,Port data output" "Low,High" textline " " bitfld.long 0x00 4. " PDO[4] ,Port data output" "Low,High" bitfld.long 0x00 3. " PDO[3] ,Port data output" "Low,High" bitfld.long 0x00 2. " PDO[2] ,Port data output" "Low,High" textline " " bitfld.long 0x00 1. " PDO[1] ,Port data output" "Low,High" bitfld.long 0x00 0. " PDO[0] ,Port data output" "Low,High" wgroup.long (0x00+0x04)++0x0B line.long 0x00 "PSOR,Port Set Output Register" bitfld.long 0x00 31. " PTSO[31] ,Port set output" "No effect,Set" bitfld.long 0x00 30. " PTSO[30] ,Port set output" "No effect,Set" bitfld.long 0x00 29. " PTSO[29] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 28. " PTSO[28] ,Port set output" "No effect,Set" bitfld.long 0x00 27. " PTSO[27] ,Port set output" "No effect,Set" bitfld.long 0x00 26. " PTSO[26] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 25. " PTSO[25] ,Port set output" "No effect,Set" bitfld.long 0x00 24. " PTSO[24] ,Port set output" "No effect,Set" bitfld.long 0x00 23. " PTSO[23] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 22. " PTSO[22] ,Port set output" "No effect,Set" bitfld.long 0x00 21. " PTSO[21] ,Port set output" "No effect,Set" bitfld.long 0x00 20. " PTSO[20] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 19. " PTSO[19] ,Port set output" "No effect,Set" bitfld.long 0x00 18. " PTSO[18] ,Port set output" "No effect,Set" bitfld.long 0x00 17. " PTSO[17] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 16. " PTSO[16] ,Port set output" "No effect,Set" bitfld.long 0x00 15. " PTSO[15] ,Port set output" "No effect,Set" bitfld.long 0x00 14. " PTSO[14] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 13. " PTSO[13] ,Port set output" "No effect,Set" bitfld.long 0x00 12. " PTSO[12] ,Port set output" "No effect,Set" bitfld.long 0x00 11. " PTSO[11] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 10. " PTSO[10] ,Port set output" "No effect,Set" bitfld.long 0x00 9. " PTSO[9] ,Port set output" "No effect,Set" bitfld.long 0x00 8. " PTSO[8] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 7. " PTSO[7] ,Port set output" "No effect,Set" bitfld.long 0x00 6. " PTSO[6] ,Port set output" "No effect,Set" bitfld.long 0x00 5. " PTSO[5] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 4. " PTSO[4] ,Port set output" "No effect,Set" bitfld.long 0x00 3. " PTSO[3] ,Port set output" "No effect,Set" bitfld.long 0x00 2. " PTSO[2] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 1. " PTSO[1] ,Port set output" "No effect,Set" bitfld.long 0x00 0. " PTSO[0] ,Port set output" "No effect,Set" line.long 0x04 "PCOR,Port Clear Output Register" bitfld.long 0x04 31. " PTCO[31] ,Port clear output" "No effect,Clear" bitfld.long 0x04 30. " PTCO[30] ,Port clear output" "No effect,Clear" bitfld.long 0x04 29. " PTCO[29] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 28. " PTCO[28] ,Port clear output" "No effect,Clear" bitfld.long 0x04 27. " PTCO[27] ,Port clear output" "No effect,Clear" bitfld.long 0x04 26. " PTCO[26] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 25. " PTCO[25] ,Port clear output" "No effect,Clear" bitfld.long 0x04 24. " PTCO[24] ,Port clear output" "No effect,Clear" bitfld.long 0x04 23. " PTCO[23] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 22. " PTCO[22] ,Port clear output" "No effect,Clear" bitfld.long 0x04 21. " PTCO[21] ,Port clear output" "No effect,Clear" bitfld.long 0x04 20. " PTCO[20] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 19. " PTCO[19] ,Port clear output" "No effect,Clear" bitfld.long 0x04 18. " PTCO[18] ,Port clear output" "No effect,Clear" bitfld.long 0x04 17. " PTCO[17] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 16. " PTCO[16] ,Port clear output" "No effect,Clear" bitfld.long 0x04 15. " PTCO[15] ,Port clear output" "No effect,Clear" bitfld.long 0x04 14. " PTCO[14] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 13. " PTCO[13] ,Port clear output" "No effect,Clear" bitfld.long 0x04 12. " PTCO[12] ,Port clear output" "No effect,Clear" bitfld.long 0x04 11. " PTCO[11] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 10. " PTCO[10] ,Port clear output" "No effect,Clear" bitfld.long 0x04 9. " PTCO[9] ,Port clear output" "No effect,Clear" bitfld.long 0x04 8. " PTCO[8] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 7. " PTCO[7] ,Port clear output" "No effect,Clear" bitfld.long 0x04 6. " PTCO[6] ,Port clear output" "No effect,Clear" bitfld.long 0x04 5. " PTCO[5] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 4. " PTCO[4] ,Port clear output" "No effect,Clear" bitfld.long 0x04 3. " PTCO[3] ,Port clear output" "No effect,Clear" bitfld.long 0x04 2. " PTCO[2] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 1. " PTCO[1] ,Port clear output" "No effect,Clear" bitfld.long 0x04 0. " PTCO[0] ,Port clear output" "No effect,Clear" line.long 0x08 "PTOR,Port Toggle Output Register" bitfld.long 0x08 31. " PTTO[31] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 30. " PTTO[30] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 29. " PTTO[29] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 28. " PTTO[28] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 27. " PTTO[27] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 26. " PTTO[26] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 25. " PTTO[25] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 24. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 23. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 22. " PTTO[22] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 21. " PTTO[21] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 20. " PTTO[20] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 15. " PTTO[15] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long (0x00+0x10)++0x03 line.long 0x00 "PDIR,Port Data Input Register" bitfld.long 0x00 31. " PDI[31] ,Port data input" "Low,High" bitfld.long 0x00 30. " PDI[30] ,Port data input" "Low,High" bitfld.long 0x00 29. " PDI[29] ,Port data input" "Low,High" textline " " bitfld.long 0x00 28. " PDI[28] ,Port data input" "Low,High" bitfld.long 0x00 27. " PDI[27] ,Port data input" "Low,High" bitfld.long 0x00 26. " PDI[26] ,Port data input" "Low,High" textline " " bitfld.long 0x00 25. " PDI[25] ,Port data input" "Low,High" bitfld.long 0x00 24. " PDI[24] ,Port data input" "Low,High" bitfld.long 0x00 23. " PDI[23] ,Port data input" "Low,High" textline " " bitfld.long 0x00 22. " PDI[22] ,Port data input" "Low,High" bitfld.long 0x00 21. " PDI[21] ,Port data input" "Low,High" bitfld.long 0x00 20. " PDI[20] ,Port data input" "Low,High" textline " " bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 15. " PDI[15] ,Port data input" "Low,High" bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" textline " " bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" textline " " bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" textline " " bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long (0x00+0x14)++0x03 line.long 0x00 "PDDR,Port Data Direction Register" bitfld.long 0x00 31. " PDD[31] ,Port data direction" "Input,Output" bitfld.long 0x00 30. " PDD[30] ,Port data direction" "Input,Output" bitfld.long 0x00 29. " PDD[29] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 28. " PDD[28] ,Port data direction" "Input,Output" bitfld.long 0x00 27. " PDD[27] ,Port data direction" "Input,Output" bitfld.long 0x00 26. " PDD[26] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 25. " PDD[25] ,Port data direction" "Input,Output" bitfld.long 0x00 24. " PDD[24] ,Port data direction" "Input,Output" bitfld.long 0x00 23. " PDD[23] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 22. " PDD[22] ,Port data direction" "Input,Output" bitfld.long 0x00 21. " PDD[21] ,Port data direction" "Input,Output" bitfld.long 0x00 20. " PDD[20] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 15. " PDD[15] ,Port data direction" "Input,Output" bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" endif width 0x0B tree.end tree "GPIO_C" base ad:0x400FF080 width 20. sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output pin 19" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " [18] ,Port data output pin 18" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " [15] ,Port data output pin 15" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" textline " " setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output pin 19" "Not toggled,Toggled" bitfld.long 0x00 18. " [18] ,Port toggle output pin 18" "Not toggled,Toggled" bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" bitfld.long 0x00 15. " [15] ,Port toggle output pin 15" "Not toggled,Toggled" bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" textline " " bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input pin 19" "Low,High" bitfld.long 0x00 18. " [18] ,Port data input pin 18" "Low,High" bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" textline " " bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" bitfld.long 0x00 15. " [15] ,Port data input pin 15" "Low,High" bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" textline " " bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction pin 19" "Input,Output" bitfld.long 0x00 18. " [18] ,Port data direction pin 18" "Input,Output" bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" textline " " bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" bitfld.long 0x00 15. " [15] ,Port data direction pin 15" "Input,Output" bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" textline " " bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output pin 18" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" textline " " setclrfld.long 0x00 15. 0x04 15. 0x08 15. " [15] ,Port data output pin 15" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" textline " " setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" textline " " setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" textline " " setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output pin 18" "Not toggled,Toggled" bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" textline " " bitfld.long 0x00 15. " [15] ,Port toggle output pin 15" "Not toggled,Toggled" bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" textline " " bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" textline " " bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" textline " " bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 18. " PDI[18] ,Port data input pin 18" "Low,High" bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" textline " " bitfld.long 0x00 15. " [15] ,Port data input pin 15" "Low,High" bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" textline " " bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" textline " " bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" textline " " bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" textline " " bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" textline " " bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 18. " PDD[18] ,Port data direction pin 18" "Input,Output" bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" textline " " bitfld.long 0x00 15. " [15] ,Port data direction pin 15" "Input,Output" bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" textline " " bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" textline " " bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" textline " " bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" textline " " bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" textline " " bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLK10") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " PDO[9] ,Port data output" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " PDO[8] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " PDO[7] ,Port data output" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " PDO[6] ,Port data output" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" textline " " bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" textline " " bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif (cpu()=="MK50DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLK10") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " PDO[9] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 8. 0x04 8. 0x08 8. " PDO[8] ,Port data output" "Low,High" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " PDO[7] ,Port data output" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " PDO[6] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" textline " " bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" textline " " bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" textline " " bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif (cpu()=="MK51DX128CLH7") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " PDO[7] ,Port data output" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " PDO[6] ,Port data output" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif cpuis("MK51DN512ZCLL10")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output pin 18" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " [17] ,Port data output pin 17" "Low,High" setclrfld.long 0x00 16. 0x04 16. 0x08 16. " [16] ,Port data output pin 16" "Low,High" textline " " setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" textline " " setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" textline " " setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output pin 18" "Not toggled,Toggled" bitfld.long 0x00 17. " [17] ,Port toggle output pin 17" "Not toggled,Toggled" bitfld.long 0x00 16. " [16] ,Port toggle output pin 16" "Not toggled,Toggled" textline " " bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" textline " " bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" textline " " bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 18. " PDI[18] ,Port data input pin 18" "Low,High" bitfld.long 0x00 17. " [17] ,Port data input pin 17" "Low,High" bitfld.long 0x00 16. " [16] ,Port data input pin 16" "Low,High" textline " " bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" textline " " bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" textline " " bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" textline " " bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 18. " PDD[18] ,Port data direction pin 18" "Input,Output" bitfld.long 0x00 17. " [17] ,Port data direction pin 17" "Input,Output" bitfld.long 0x00 16. " [16] ,Port data direction pin 16" "Input,Output" textline " " bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" textline " " bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" textline " " bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" textline " " bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7") group.long 0x00++0x03 line.long 0x00 "GPIOC_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 19. 0x04 19. 0x08 19. " PDO[19] ,Port data output" "Low,High" setclrfld.long 0x00 18. 0x04 18. 0x08 18. " PDO[18] ,Port data output" "Low,High" setclrfld.long 0x00 17. 0x04 17. 0x08 17. " PDO[17] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 16. 0x04 16. 0x08 16. " PDO[16] ,Port data output" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " PDO[14] ,Port data output" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " PDO[13] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 12. 0x04 12. 0x08 12. " PDO[12] ,Port data output" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " PDO[11] ,Port data output" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " PDO[10] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 9. 0x04 9. 0x08 9. " PDO[9] ,Port data output" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " PDO[8] ,Port data output" "Low,High" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " PDO[7] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 6. 0x04 6. 0x08 6. " PDO[6] ,Port data output" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " PDO[4] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " PDO[3] ,Port data output" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " PDO[2] ,Port data output" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " PDO[1] ,Port data output" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " PDO[0] ,Port data output" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOC_PTOR,Port Toggle Output Register" bitfld.long 0x00 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x00 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOC_PDIR,Port Data Input Register" bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" textline " " bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" textline " " bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" textline " " bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" textline " " bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" textline " " bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOC_PDDR,Port Data Direction Register" bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" elif (cpu()=="MK53DX256ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK50DN512ZCMD10") group.long 0x00++0x03 line.long 0x00 "PDOR,Port Data Output Register" bitfld.long 0x00 31. " PDO[31] ,Port data output" "Low,High" bitfld.long 0x00 30. " PDO[30] ,Port data output" "Low,High" bitfld.long 0x00 29. " PDO[29] ,Port data output" "Low,High" textline " " bitfld.long 0x00 28. " PDO[28] ,Port data output" "Low,High" bitfld.long 0x00 27. " PDO[27] ,Port data output" "Low,High" bitfld.long 0x00 26. " PDO[26] ,Port data output" "Low,High" textline " " bitfld.long 0x00 25. " PDO[25] ,Port data output" "Low,High" bitfld.long 0x00 24. " PDO[24] ,Port data output" "Low,High" bitfld.long 0x00 23. " PDO[23] ,Port data output" "Low,High" textline " " bitfld.long 0x00 22. " PDO[22] ,Port data output" "Low,High" bitfld.long 0x00 21. " PDO[21] ,Port data output" "Low,High" bitfld.long 0x00 20. " PDO[20] ,Port data output" "Low,High" textline " " bitfld.long 0x00 19. " PDO[19] ,Port data output" "Low,High" bitfld.long 0x00 18. " PDO[18] ,Port data output" "Low,High" bitfld.long 0x00 17. " PDO[17] ,Port data output" "Low,High" textline " " bitfld.long 0x00 16. " PDO[16] ,Port data output" "Low,High" bitfld.long 0x00 15. " PDO[15] ,Port data output" "Low,High" bitfld.long 0x00 14. " PDO[14] ,Port data output" "Low,High" textline " " bitfld.long 0x00 13. " PDO[13] ,Port data output" "Low,High" bitfld.long 0x00 12. " PDO[12] ,Port data output" "Low,High" bitfld.long 0x00 11. " PDO[11] ,Port data output" "Low,High" textline " " bitfld.long 0x00 10. " PDO[10] ,Port data output" "Low,High" bitfld.long 0x00 9. " PDO[9] ,Port data output" "Low,High" bitfld.long 0x00 8. " PDO[8] ,Port data output" "Low,High" textline " " bitfld.long 0x00 7. " PDO[7] ,Port data output" "Low,High" bitfld.long 0x00 6. " PDO[6] ,Port data output" "Low,High" bitfld.long 0x00 5. " PDO[5] ,Port data output" "Low,High" textline " " bitfld.long 0x00 4. " PDO[4] ,Port data output" "Low,High" bitfld.long 0x00 3. " PDO[3] ,Port data output" "Low,High" bitfld.long 0x00 2. " PDO[2] ,Port data output" "Low,High" textline " " bitfld.long 0x00 1. " PDO[1] ,Port data output" "Low,High" bitfld.long 0x00 0. " PDO[0] ,Port data output" "Low,High" wgroup.long (0x00+0x04)++0x0b line.long 0x00 "PSOR,Port Set Output Register" bitfld.long 0x00 31. " PTSO[31] ,Port set output" "No effect,Set" bitfld.long 0x00 30. " PTSO[30] ,Port set output" "No effect,Set" bitfld.long 0x00 29. " PTSO[29] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 28. " PTSO[28] ,Port set output" "No effect,Set" bitfld.long 0x00 27. " PTSO[27] ,Port set output" "No effect,Set" bitfld.long 0x00 26. " PTSO[26] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 25. " PTSO[25] ,Port set output" "No effect,Set" bitfld.long 0x00 24. " PTSO[24] ,Port set output" "No effect,Set" bitfld.long 0x00 23. " PTSO[23] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 22. " PTSO[22] ,Port set output" "No effect,Set" bitfld.long 0x00 21. " PTSO[21] ,Port set output" "No effect,Set" bitfld.long 0x00 20. " PTSO[20] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 19. " PTSO[19] ,Port set output" "No effect,Set" bitfld.long 0x00 18. " PTSO[18] ,Port set output" "No effect,Set" bitfld.long 0x00 17. " PTSO[17] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 16. " PTSO[16] ,Port set output" "No effect,Set" bitfld.long 0x00 15. " PTSO[15] ,Port set output" "No effect,Set" bitfld.long 0x00 14. " PTSO[14] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 13. " PTSO[13] ,Port set output" "No effect,Set" bitfld.long 0x00 12. " PTSO[12] ,Port set output" "No effect,Set" bitfld.long 0x00 11. " PTSO[11] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 10. " PTSO[10] ,Port set output" "No effect,Set" bitfld.long 0x00 9. " PTSO[9] ,Port set output" "No effect,Set" bitfld.long 0x00 8. " PTSO[8] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 7. " PTSO[7] ,Port set output" "No effect,Set" bitfld.long 0x00 6. " PTSO[6] ,Port set output" "No effect,Set" bitfld.long 0x00 5. " PTSO[5] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 4. " PTSO[4] ,Port set output" "No effect,Set" bitfld.long 0x00 3. " PTSO[3] ,Port set output" "No effect,Set" bitfld.long 0x00 2. " PTSO[2] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 1. " PTSO[1] ,Port set output" "No effect,Set" bitfld.long 0x00 0. " PTSO[0] ,Port set output" "No effect,Set" line.long 0x04 "PCOR,Port Clear Output Register" bitfld.long 0x04 31. " PTCO[31] ,Port clear output" "No effect,Clear" bitfld.long 0x04 30. " PTCO[30] ,Port clear output" "No effect,Clear" bitfld.long 0x04 29. " PTCO[29] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 28. " PTCO[28] ,Port clear output" "No effect,Clear" bitfld.long 0x04 27. " PTCO[27] ,Port clear output" "No effect,Clear" bitfld.long 0x04 26. " PTCO[26] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 25. " PTCO[25] ,Port clear output" "No effect,Clear" bitfld.long 0x04 24. " PTCO[24] ,Port clear output" "No effect,Clear" bitfld.long 0x04 23. " PTCO[23] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 22. " PTCO[22] ,Port clear output" "No effect,Clear" bitfld.long 0x04 21. " PTCO[21] ,Port clear output" "No effect,Clear" bitfld.long 0x04 20. " PTCO[20] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 19. " PTCO[19] ,Port clear output" "No effect,Clear" bitfld.long 0x04 18. " PTCO[18] ,Port clear output" "No effect,Clear" bitfld.long 0x04 17. " PTCO[17] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 16. " PTCO[16] ,Port clear output" "No effect,Clear" bitfld.long 0x04 15. " PTCO[15] ,Port clear output" "No effect,Clear" bitfld.long 0x04 14. " PTCO[14] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 13. " PTCO[13] ,Port clear output" "No effect,Clear" bitfld.long 0x04 12. " PTCO[12] ,Port clear output" "No effect,Clear" bitfld.long 0x04 11. " PTCO[11] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 10. " PTCO[10] ,Port clear output" "No effect,Clear" bitfld.long 0x04 9. " PTCO[9] ,Port clear output" "No effect,Clear" bitfld.long 0x04 8. " PTCO[8] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 7. " PTCO[7] ,Port clear output" "No effect,Clear" bitfld.long 0x04 6. " PTCO[6] ,Port clear output" "No effect,Clear" bitfld.long 0x04 5. " PTCO[5] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 4. " PTCO[4] ,Port clear output" "No effect,Clear" bitfld.long 0x04 3. " PTCO[3] ,Port clear output" "No effect,Clear" bitfld.long 0x04 2. " PTCO[2] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 1. " PTCO[1] ,Port clear output" "No effect,Clear" bitfld.long 0x04 0. " PTCO[0] ,Port clear output" "No effect,Clear" line.long 0x08 "PTOR,Port Toggle Output Register" bitfld.long 0x08 31. " PTTO[31] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 30. " PTTO[30] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 29. " PTTO[29] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 28. " PTTO[28] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 27. " PTTO[27] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 26. " PTTO[26] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 25. " PTTO[25] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 24. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 23. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 22. " PTTO[22] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 21. " PTTO[21] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 20. " PTTO[20] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 15. " PTTO[15] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long (0x00+0x10)++0x03 line.long 0x00 "PDIR,Port Data Input Register" bitfld.long 0x00 31. " PDI[31] ,Port data input" "Low,High" bitfld.long 0x00 30. " PDI[30] ,Port data input" "Low,High" bitfld.long 0x00 29. " PDI[29] ,Port data input" "Low,High" textline " " bitfld.long 0x00 28. " PDI[28] ,Port data input" "Low,High" bitfld.long 0x00 27. " PDI[27] ,Port data input" "Low,High" bitfld.long 0x00 26. " PDI[26] ,Port data input" "Low,High" textline " " bitfld.long 0x00 25. " PDI[25] ,Port data input" "Low,High" bitfld.long 0x00 24. " PDI[24] ,Port data input" "Low,High" bitfld.long 0x00 23. " PDI[23] ,Port data input" "Low,High" textline " " bitfld.long 0x00 22. " PDI[22] ,Port data input" "Low,High" bitfld.long 0x00 21. " PDI[21] ,Port data input" "Low,High" bitfld.long 0x00 20. " PDI[20] ,Port data input" "Low,High" textline " " bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 15. " PDI[15] ,Port data input" "Low,High" bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" textline " " bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" textline " " bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" textline " " bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long (0x00+0x14)++0x03 line.long 0x00 "PDDR,Port Data Direction Register" bitfld.long 0x00 31. " PDD[31] ,Port data direction" "Input,Output" bitfld.long 0x00 30. " PDD[30] ,Port data direction" "Input,Output" bitfld.long 0x00 29. " PDD[29] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 28. " PDD[28] ,Port data direction" "Input,Output" bitfld.long 0x00 27. " PDD[27] ,Port data direction" "Input,Output" bitfld.long 0x00 26. " PDD[26] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 25. " PDD[25] ,Port data direction" "Input,Output" bitfld.long 0x00 24. " PDD[24] ,Port data direction" "Input,Output" bitfld.long 0x00 23. " PDD[23] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 22. " PDD[22] ,Port data direction" "Input,Output" bitfld.long 0x00 21. " PDD[21] ,Port data direction" "Input,Output" bitfld.long 0x00 20. " PDD[20] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 15. " PDD[15] ,Port data direction" "Input,Output" bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" endif width 0x0B tree.end tree "GPIO_D" base ad:0x400FF0c0 width 20. sif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="4MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOD_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " PDO[15] ,Port data output pin 15" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" textline " " setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" textline " " setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" textline " " setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOD_PTOR,Port Toggle Output Register" bitfld.long 0x00 15. " PTTO[15] ,Port toggle output pin 15" "Not toggled,Toggled" bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" textline " " bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" textline " " bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" textline " " bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOD_PDIR,Port Data Input Register" bitfld.long 0x00 15. " PDI[15] ,Port data input pin 15" "Low,High" bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" textline " " bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" textline " " bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" textline " " bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" textline " " bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" textline " " bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOD_PDDR,Port Data Direction Register" bitfld.long 0x00 15. " PDD[15] ,Port data direction pin 15" "Input,Output" bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" textline " " bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" textline " " bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" textline " " bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" textline " " bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" textline " " bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||(cpu()=="MK50DX128CLH7")||(cpu()=="MK50DX128CLK7")||(cpu()=="MK50DX256CLK7")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLK10")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX128CLH7")||(cpu()=="MK51DX128CLK7")||(cpu()=="MK51DX256CLK7")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLK10")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOD_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 7. 0x04 7. 0x08 7. " PDO[7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOD_PTOR,Port Toggle Output Register" bitfld.long 0x00 7. " PTTO[7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOD_PDIR,Port Data Input Register" bitfld.long 0x00 7. " PDI[7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOD_PDDR,Port Data Direction Register" bitfld.long 0x00 7. " PDD[7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||(cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOD_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 15. 0x04 15. 0x08 15. " PDO[15] ,Port data output pin 15" "Low,High" setclrfld.long 0x00 14. 0x04 14. 0x08 14. " [14] ,Port data output pin 14" "Low,High" setclrfld.long 0x00 13. 0x04 13. 0x08 13. " [13] ,Port data output pin 13" "Low,High" textline " " setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOD_PTOR,Port Toggle Output Register" bitfld.long 0x00 15. " PTTO[15] ,Port toggle output pin 15" "Not toggled,Toggled" bitfld.long 0x00 14. " [14] ,Port toggle output pin 14" "Not toggled,Toggled" bitfld.long 0x00 13. " [13] ,Port toggle output pin 13" "Not toggled,Toggled" textline " " bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOD_PDIR,Port Data Input Register" bitfld.long 0x00 15. " PDI[15] ,Port data input pin 15" "Low,High" bitfld.long 0x00 14. " [14] ,Port data input pin 14" "Low,High" bitfld.long 0x00 13. " [13] ,Port data input pin 13" "Low,High" textline " " bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOD_PDDR,Port Data Direction Register" bitfld.long 0x00 15. " PDD[15] ,Port data direction pin 15" "Input,Output" bitfld.long 0x00 14. " [14] ,Port data direction pin 14" "Input,Output" bitfld.long 0x00 13. " [13] ,Port data direction pin 13" "Input,Output" textline " " bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" endif width 0x0B tree.end tree "GPIO_E" base ad:0x400FF100 width 20. sif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||(cpu()=="MK50DX256CLL7")||(cpu()=="MK50DX128CMC7")||(cpu()=="MK50DX256CMC7")||(cpu()=="MK50DX256CLL10")||(cpu()=="MK50DN512CLL10")||(cpu()=="MK51DX256CLL7")||(cpu()=="MK51DX128CMC7")||(cpu()=="MK51DX256CMC7")||(cpu()=="MK51DX256CLL10")||(cpu()=="MK51DN512CLL10") group.long 0x00++0x03 line.long 0x00 "GPIOE_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " PDO[5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" textline " " setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOE_PTOR,Port Toggle Output Register" bitfld.long 0x00 5. " PTTO[5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" textline " " bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOE_PDIR,Port Data Input Register" bitfld.long 0x00 5. " PDI[5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" textline " " bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOE_PDDR,Port Data Direction Register" bitfld.long 0x00 5. " PDD[5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" textline " " bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||(cpu()=="MK50DN512CLQ10")||(cpu()=="MK50DN512CMD10")||(cpu()=="MK50DX256CMD10")||(cpu()=="MK51DN256CLQ10")||(cpu()=="MK51DN256CMD10")||(cpu()=="MK51DN512CLQ10")||(cpu()=="MK51DN512CMD10")||(cpu()=="MK52DN512CLQ10")||(cpu()=="MK52DN512CMD10")||(cpu()=="MK53DN512CLQ10")||(cpu()=="MK53DN512CMD10")||(cpu()=="MK53DX256CLQ10")||(cpu()=="MK53DX256CMD10") group.long 0x00++0x03 line.long 0x00 "GPIOE_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 28. 0x04 28. 0x08 28. " PDO[28] ,Port data output pin 28" "Low,High" setclrfld.long 0x00 12. 0x04 12. 0x08 12. " [12] ,Port data output pin 12" "Low,High" setclrfld.long 0x00 11. 0x04 11. 0x08 11. " [11] ,Port data output pin 11" "Low,High" textline " " setclrfld.long 0x00 10. 0x04 10. 0x08 10. " [10] ,Port data output pin 10" "Low,High" setclrfld.long 0x00 9. 0x04 9. 0x08 9. " [9] ,Port data output pin 9" "Low,High" setclrfld.long 0x00 8. 0x04 8. 0x08 8. " [8] ,Port data output pin 8" "Low,High" textline " " setclrfld.long 0x00 7. 0x04 7. 0x08 7. " [7] ,Port data output pin 7" "Low,High" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " [6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" textline " " setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" textline " " setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOE_PTOR,Port Toggle Output Register" bitfld.long 0x00 28. " PTTO[28] ,Port toggle output pin 28" "Not toggled,Toggled" bitfld.long 0x00 12. " [12] ,Port toggle output pin 12" "Not toggled,Toggled" bitfld.long 0x00 11. " [11] ,Port toggle output pin 11" "Not toggled,Toggled" textline " " bitfld.long 0x00 10. " [10] ,Port toggle output pin 10" "Not toggled,Toggled" bitfld.long 0x00 9. " [9] ,Port toggle output pin 9" "Not toggled,Toggled" bitfld.long 0x00 8. " [8] ,Port toggle output pin 8" "Not toggled,Toggled" textline " " bitfld.long 0x00 7. " [7] ,Port toggle output pin 7" "Not toggled,Toggled" bitfld.long 0x00 6. " [6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" textline " " bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" textline " " bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOE_PDIR,Port Data Input Register" bitfld.long 0x00 28. " PDI[28] ,Port data input pin 28" "Low,High" bitfld.long 0x00 12. " [12] ,Port data input pin 12" "Low,High" bitfld.long 0x00 11. " [11] ,Port data input pin 11" "Low,High" textline " " bitfld.long 0x00 10. " [10] ,Port data input pin 10" "Low,High" bitfld.long 0x00 9. " [9] ,Port data input pin 9" "Low,High" bitfld.long 0x00 8. " [8] ,Port data input pin 8" "Low,High" textline " " bitfld.long 0x00 7. " [7] ,Port data input pin 7" "Low,High" bitfld.long 0x00 6. " [6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" textline " " bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" textline " " bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOE_PDDR,Port Data Direction Register" bitfld.long 0x00 28. " PDD[28] ,Port data direction pin 28" "Input,Output" bitfld.long 0x00 12. " [12] ,Port data direction pin 12" "Input,Output" bitfld.long 0x00 11. " [11] ,Port data direction pin 11" "Input,Output" textline " " bitfld.long 0x00 10. " [10] ,Port data direction pin 10" "Input,Output" bitfld.long 0x00 9. " [9] ,Port data direction pin 9" "Input,Output" bitfld.long 0x00 8. " [8] ,Port data direction pin 8" "Input,Output" textline " " bitfld.long 0x00 7. " [7] ,Port data direction pin 7" "Input,Output" bitfld.long 0x00 6. " [6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" textline " " bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" textline " " bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK51DX256CMC10")||(cpu()=="MK51DN512CMC10")||(cpu()=="MK50DX256CMC10")||(cpu()=="MK50DN512CMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10") group.long 0x00++0x03 line.long 0x00 "GPIOE_PDOR_SET/CLR,Port Data Output Set/Clear Register" setclrfld.long 0x00 6. 0x04 6. 0x08 6. " PDO[6] ,Port data output pin 6" "Low,High" setclrfld.long 0x00 5. 0x04 5. 0x08 5. " [5] ,Port data output pin 5" "Low,High" setclrfld.long 0x00 4. 0x04 4. 0x08 4. " [4] ,Port data output pin 4" "Low,High" textline " " setclrfld.long 0x00 3. 0x04 3. 0x08 3. " [3] ,Port data output pin 3" "Low,High" setclrfld.long 0x00 2. 0x04 2. 0x08 2. " [2] ,Port data output pin 2" "Low,High" setclrfld.long 0x00 1. 0x04 1. 0x08 1. " [1] ,Port data output pin 1" "Low,High" textline " " setclrfld.long 0x00 0. 0x04 0. 0x08 0. " [0] ,Port data output pin 0" "Low,High" wgroup.long 0x0C++0x03 line.long 0x00 "GPIOE_PTOR,Port Toggle Output Register" bitfld.long 0x00 6. " PTTO[6] ,Port toggle output pin 6" "Not toggled,Toggled" bitfld.long 0x00 5. " [5] ,Port toggle output pin 5" "Not toggled,Toggled" bitfld.long 0x00 4. " [4] ,Port toggle output pin 4" "Not toggled,Toggled" textline " " bitfld.long 0x00 3. " [3] ,Port toggle output pin 3" "Not toggled,Toggled" bitfld.long 0x00 2. " [2] ,Port toggle output pin 2" "Not toggled,Toggled" bitfld.long 0x00 1. " [1] ,Port toggle output pin 1" "Not toggled,Toggled" textline " " bitfld.long 0x00 0. " [0] ,Port toggle output pin 0" "Not toggled,Toggled" rgroup.long 0x10++0x03 line.long 0x00 "GPIOE_PDIR,Port Data Input Register" bitfld.long 0x00 6. " PDI[6] ,Port data input pin 6" "Low,High" bitfld.long 0x00 5. " [5] ,Port data input pin 5" "Low,High" bitfld.long 0x00 4. " [4] ,Port data input pin 4" "Low,High" textline " " bitfld.long 0x00 3. " [3] ,Port data input pin 3" "Low,High" bitfld.long 0x00 2. " [2] ,Port data input pin 2" "Low,High" bitfld.long 0x00 1. " [1] ,Port data input pin 1" "Low,High" textline " " bitfld.long 0x00 0. " [0] ,Port data input pin 0" "Low,High" group.long 0x14++0x03 line.long 0x00 "GPIOE_PDDR,Port Data Direction Register" bitfld.long 0x00 6. " PDD[6] ,Port data direction pin 6" "Input,Output" bitfld.long 0x00 5. " [5] ,Port data direction pin 5" "Input,Output" bitfld.long 0x00 4. " [4] ,Port data direction pin 4" "Input,Output" textline " " bitfld.long 0x00 3. " [3] ,Port data direction pin 3" "Input,Output" bitfld.long 0x00 2. " [2] ,Port data direction pin 2" "Input,Output" bitfld.long 0x00 1. " [1] ,Port data direction pin 1" "Input,Output" textline " " bitfld.long 0x00 0. " [0] ,Port data direction pin 0" "Input,Output" elif (cpu()=="MK53DX256ZCMD10")||(cpu()=="MK51DN256ZCLQ10")||(cpu()=="MK51DN512ZCMD10")||(cpu()=="MK51DX256ZCLL10")||(cpu()=="MK50DN512ZCMD10") group.long 0x00++0x03 line.long 0x00 "PDOR,Port Data Output Register" bitfld.long 0x00 31. " PDO[31] ,Port data output" "Low,High" bitfld.long 0x00 30. " PDO[30] ,Port data output" "Low,High" bitfld.long 0x00 29. " PDO[29] ,Port data output" "Low,High" textline " " bitfld.long 0x00 28. " PDO[28] ,Port data output" "Low,High" bitfld.long 0x00 27. " PDO[27] ,Port data output" "Low,High" bitfld.long 0x00 26. " PDO[26] ,Port data output" "Low,High" textline " " bitfld.long 0x00 25. " PDO[25] ,Port data output" "Low,High" bitfld.long 0x00 24. " PDO[24] ,Port data output" "Low,High" bitfld.long 0x00 23. " PDO[23] ,Port data output" "Low,High" textline " " bitfld.long 0x00 22. " PDO[22] ,Port data output" "Low,High" bitfld.long 0x00 21. " PDO[21] ,Port data output" "Low,High" bitfld.long 0x00 20. " PDO[20] ,Port data output" "Low,High" textline " " bitfld.long 0x00 19. " PDO[19] ,Port data output" "Low,High" bitfld.long 0x00 18. " PDO[18] ,Port data output" "Low,High" bitfld.long 0x00 17. " PDO[17] ,Port data output" "Low,High" textline " " bitfld.long 0x00 16. " PDO[16] ,Port data output" "Low,High" bitfld.long 0x00 15. " PDO[15] ,Port data output" "Low,High" bitfld.long 0x00 14. " PDO[14] ,Port data output" "Low,High" textline " " bitfld.long 0x00 13. " PDO[13] ,Port data output" "Low,High" bitfld.long 0x00 12. " PDO[12] ,Port data output" "Low,High" bitfld.long 0x00 11. " PDO[11] ,Port data output" "Low,High" textline " " bitfld.long 0x00 10. " PDO[10] ,Port data output" "Low,High" bitfld.long 0x00 9. " PDO[9] ,Port data output" "Low,High" bitfld.long 0x00 8. " PDO[8] ,Port data output" "Low,High" textline " " bitfld.long 0x00 7. " PDO[7] ,Port data output" "Low,High" bitfld.long 0x00 6. " PDO[6] ,Port data output" "Low,High" bitfld.long 0x00 5. " PDO[5] ,Port data output" "Low,High" textline " " bitfld.long 0x00 4. " PDO[4] ,Port data output" "Low,High" bitfld.long 0x00 3. " PDO[3] ,Port data output" "Low,High" bitfld.long 0x00 2. " PDO[2] ,Port data output" "Low,High" textline " " bitfld.long 0x00 1. " PDO[1] ,Port data output" "Low,High" bitfld.long 0x00 0. " PDO[0] ,Port data output" "Low,High" wgroup.long (0x00+0x04)++0x0b line.long 0x00 "PSOR,Port Set Output Register" bitfld.long 0x00 31. " PTSO[31] ,Port set output" "No effect,Set" bitfld.long 0x00 30. " PTSO[30] ,Port set output" "No effect,Set" bitfld.long 0x00 29. " PTSO[29] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 28. " PTSO[28] ,Port set output" "No effect,Set" bitfld.long 0x00 27. " PTSO[27] ,Port set output" "No effect,Set" bitfld.long 0x00 26. " PTSO[26] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 25. " PTSO[25] ,Port set output" "No effect,Set" bitfld.long 0x00 24. " PTSO[24] ,Port set output" "No effect,Set" bitfld.long 0x00 23. " PTSO[23] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 22. " PTSO[22] ,Port set output" "No effect,Set" bitfld.long 0x00 21. " PTSO[21] ,Port set output" "No effect,Set" bitfld.long 0x00 20. " PTSO[20] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 19. " PTSO[19] ,Port set output" "No effect,Set" bitfld.long 0x00 18. " PTSO[18] ,Port set output" "No effect,Set" bitfld.long 0x00 17. " PTSO[17] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 16. " PTSO[16] ,Port set output" "No effect,Set" bitfld.long 0x00 15. " PTSO[15] ,Port set output" "No effect,Set" bitfld.long 0x00 14. " PTSO[14] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 13. " PTSO[13] ,Port set output" "No effect,Set" bitfld.long 0x00 12. " PTSO[12] ,Port set output" "No effect,Set" bitfld.long 0x00 11. " PTSO[11] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 10. " PTSO[10] ,Port set output" "No effect,Set" bitfld.long 0x00 9. " PTSO[9] ,Port set output" "No effect,Set" bitfld.long 0x00 8. " PTSO[8] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 7. " PTSO[7] ,Port set output" "No effect,Set" bitfld.long 0x00 6. " PTSO[6] ,Port set output" "No effect,Set" bitfld.long 0x00 5. " PTSO[5] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 4. " PTSO[4] ,Port set output" "No effect,Set" bitfld.long 0x00 3. " PTSO[3] ,Port set output" "No effect,Set" bitfld.long 0x00 2. " PTSO[2] ,Port set output" "No effect,Set" textline " " bitfld.long 0x00 1. " PTSO[1] ,Port set output" "No effect,Set" bitfld.long 0x00 0. " PTSO[0] ,Port set output" "No effect,Set" line.long 0x04 "PCOR,Port Clear Output Register" bitfld.long 0x04 31. " PTCO[31] ,Port clear output" "No effect,Clear" bitfld.long 0x04 30. " PTCO[30] ,Port clear output" "No effect,Clear" bitfld.long 0x04 29. " PTCO[29] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 28. " PTCO[28] ,Port clear output" "No effect,Clear" bitfld.long 0x04 27. " PTCO[27] ,Port clear output" "No effect,Clear" bitfld.long 0x04 26. " PTCO[26] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 25. " PTCO[25] ,Port clear output" "No effect,Clear" bitfld.long 0x04 24. " PTCO[24] ,Port clear output" "No effect,Clear" bitfld.long 0x04 23. " PTCO[23] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 22. " PTCO[22] ,Port clear output" "No effect,Clear" bitfld.long 0x04 21. " PTCO[21] ,Port clear output" "No effect,Clear" bitfld.long 0x04 20. " PTCO[20] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 19. " PTCO[19] ,Port clear output" "No effect,Clear" bitfld.long 0x04 18. " PTCO[18] ,Port clear output" "No effect,Clear" bitfld.long 0x04 17. " PTCO[17] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 16. " PTCO[16] ,Port clear output" "No effect,Clear" bitfld.long 0x04 15. " PTCO[15] ,Port clear output" "No effect,Clear" bitfld.long 0x04 14. " PTCO[14] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 13. " PTCO[13] ,Port clear output" "No effect,Clear" bitfld.long 0x04 12. " PTCO[12] ,Port clear output" "No effect,Clear" bitfld.long 0x04 11. " PTCO[11] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 10. " PTCO[10] ,Port clear output" "No effect,Clear" bitfld.long 0x04 9. " PTCO[9] ,Port clear output" "No effect,Clear" bitfld.long 0x04 8. " PTCO[8] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 7. " PTCO[7] ,Port clear output" "No effect,Clear" bitfld.long 0x04 6. " PTCO[6] ,Port clear output" "No effect,Clear" bitfld.long 0x04 5. " PTCO[5] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 4. " PTCO[4] ,Port clear output" "No effect,Clear" bitfld.long 0x04 3. " PTCO[3] ,Port clear output" "No effect,Clear" bitfld.long 0x04 2. " PTCO[2] ,Port clear output" "No effect,Clear" textline " " bitfld.long 0x04 1. " PTCO[1] ,Port clear output" "No effect,Clear" bitfld.long 0x04 0. " PTCO[0] ,Port clear output" "No effect,Clear" line.long 0x08 "PTOR,Port Toggle Output Register" bitfld.long 0x08 31. " PTTO[31] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 30. " PTTO[30] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 29. " PTTO[29] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 28. " PTTO[28] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 27. " PTTO[27] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 26. " PTTO[26] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 25. " PTTO[25] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 24. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 23. " PTTO[24] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 22. " PTTO[22] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 21. " PTTO[21] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 20. " PTTO[20] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 19. " PTTO[19] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 18. " PTTO[18] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 17. " PTTO[17] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 16. " PTTO[16] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 15. " PTTO[15] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 14. " PTTO[14] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 13. " PTTO[13] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 12. " PTTO[12] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 11. " PTTO[11] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 10. " PTTO[10] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 9. " PTTO[9] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 8. " PTTO[8] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 7. " PTTO[7] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 6. " PTTO[6] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 5. " PTTO[5] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 4. " PTTO[4] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 3. " PTTO[3] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 2. " PTTO[2] ,Port toggle output" "Not toggled,Toggled" textline " " bitfld.long 0x08 1. " PTTO[1] ,Port toggle output" "Not toggled,Toggled" bitfld.long 0x08 0. " PTTO[0] ,Port toggle output" "Not toggled,Toggled" rgroup.long (0x00+0x10)++0x03 line.long 0x00 "PDIR,Port Data Input Register" bitfld.long 0x00 31. " PDI[31] ,Port data input" "Low,High" bitfld.long 0x00 30. " PDI[30] ,Port data input" "Low,High" bitfld.long 0x00 29. " PDI[29] ,Port data input" "Low,High" textline " " bitfld.long 0x00 28. " PDI[28] ,Port data input" "Low,High" bitfld.long 0x00 27. " PDI[27] ,Port data input" "Low,High" bitfld.long 0x00 26. " PDI[26] ,Port data input" "Low,High" textline " " bitfld.long 0x00 25. " PDI[25] ,Port data input" "Low,High" bitfld.long 0x00 24. " PDI[24] ,Port data input" "Low,High" bitfld.long 0x00 23. " PDI[23] ,Port data input" "Low,High" textline " " bitfld.long 0x00 22. " PDI[22] ,Port data input" "Low,High" bitfld.long 0x00 21. " PDI[21] ,Port data input" "Low,High" bitfld.long 0x00 20. " PDI[20] ,Port data input" "Low,High" textline " " bitfld.long 0x00 19. " PDI[19] ,Port data input" "Low,High" bitfld.long 0x00 18. " PDI[18] ,Port data input" "Low,High" bitfld.long 0x00 17. " PDI[17] ,Port data input" "Low,High" textline " " bitfld.long 0x00 16. " PDI[16] ,Port data input" "Low,High" bitfld.long 0x00 15. " PDI[15] ,Port data input" "Low,High" bitfld.long 0x00 14. " PDI[14] ,Port data input" "Low,High" textline " " bitfld.long 0x00 13. " PDI[13] ,Port data input" "Low,High" bitfld.long 0x00 12. " PDI[12] ,Port data input" "Low,High" bitfld.long 0x00 11. " PDI[11] ,Port data input" "Low,High" textline " " bitfld.long 0x00 10. " PDI[10] ,Port data input" "Low,High" bitfld.long 0x00 9. " PDI[9] ,Port data input" "Low,High" bitfld.long 0x00 8. " PDI[8] ,Port data input" "Low,High" textline " " bitfld.long 0x00 7. " PDI[7] ,Port data input" "Low,High" bitfld.long 0x00 6. " PDI[6] ,Port data input" "Low,High" bitfld.long 0x00 5. " PDI[5] ,Port data input" "Low,High" textline " " bitfld.long 0x00 4. " PDI[4] ,Port data input" "Low,High" bitfld.long 0x00 3. " PDI[3] ,Port data input" "Low,High" bitfld.long 0x00 2. " PDI[2] ,Port data input" "Low,High" textline " " bitfld.long 0x00 1. " PDI[1] ,Port data input" "Low,High" bitfld.long 0x00 0. " PDI[0] ,Port data input" "Low,High" group.long (0x00+0x14)++0x03 line.long 0x00 "PDDR,Port Data Direction Register" bitfld.long 0x00 31. " PDD[31] ,Port data direction" "Input,Output" bitfld.long 0x00 30. " PDD[30] ,Port data direction" "Input,Output" bitfld.long 0x00 29. " PDD[29] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 28. " PDD[28] ,Port data direction" "Input,Output" bitfld.long 0x00 27. " PDD[27] ,Port data direction" "Input,Output" bitfld.long 0x00 26. " PDD[26] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 25. " PDD[25] ,Port data direction" "Input,Output" bitfld.long 0x00 24. " PDD[24] ,Port data direction" "Input,Output" bitfld.long 0x00 23. " PDD[23] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 22. " PDD[22] ,Port data direction" "Input,Output" bitfld.long 0x00 21. " PDD[21] ,Port data direction" "Input,Output" bitfld.long 0x00 20. " PDD[20] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 19. " PDD[19] ,Port data direction" "Input,Output" bitfld.long 0x00 18. " PDD[18] ,Port data direction" "Input,Output" bitfld.long 0x00 17. " PDD[17] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 16. " PDD[16] ,Port data direction" "Input,Output" bitfld.long 0x00 15. " PDD[15] ,Port data direction" "Input,Output" bitfld.long 0x00 14. " PDD[14] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 13. " PDD[13] ,Port data direction" "Input,Output" bitfld.long 0x00 12. " PDD[12] ,Port data direction" "Input,Output" bitfld.long 0x00 11. " PDD[11] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 10. " PDD[10] ,Port data direction" "Input,Output" bitfld.long 0x00 9. " PDD[9] ,Port data direction" "Input,Output" bitfld.long 0x00 8. " PDD[8] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 7. " PDD[7] ,Port data direction" "Input,Output" bitfld.long 0x00 6. " PDD[6] ,Port data direction" "Input,Output" bitfld.long 0x00 5. " PDD[5] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 4. " PDD[4] ,Port data direction" "Input,Output" bitfld.long 0x00 3. " PDD[3] ,Port data direction" "Input,Output" bitfld.long 0x00 2. " PDD[2] ,Port data direction" "Input,Output" textline " " bitfld.long 0x00 1. " PDD[1] ,Port data direction" "Input,Output" bitfld.long 0x00 0. " PDD[0] ,Port data direction" "Input,Output" endif width 0x0B tree.end tree.end tree "TSI (Touch sense input)" base ad:0x40045000 width 13. sif cpuis("MK30DX256VLL7*")||cpuis("MK60FN1M0VLQ15")||cpuis("KK26FN2M0CAC18R") if (((per.l(ad:0x40045000)&0x80)==0x80)) group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" rbitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" endif elif cpuis("MK60DN512VMC10R")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") if (((per.l(ad:0x40045000)&0x80)==0x80)) group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" rbitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" rbitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" rbitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline rbitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" rbitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" endif elif cpuis("MK70*") if (((per.l(ad:0x40045000)&0x80)==0x80)) group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" rbitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" rbitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline rbitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" rbitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" endif elif cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10*")||cpuis("MK10DN512ZVMD10*")||cpuis("MK10DN512ZVMC10*")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10*")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" bitfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" bitfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline bitfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" bitfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" bitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" endif elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("KK65FN2M0CAC18R") if (((per.l(ad:0x40045000)&0x80)==0x80)) group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" eventfld.long 0x00 31. " OUTRGF ,Out of Range Flag" "Not occurred,Occurred" bitfld.long 0x00 28. " ESOR ,End-of-scan or Out-of-Range Interrupt Selection" "Out-of-range,End-of-scan" newline bitfld.long 0x00 24.--27. " MODE ,TSI analog modes setup and status bits" "Capacitive sensing(non-noise detection) mode,,,Single threshold noise detection and disabled frequency limitation circuit,,,,Single threshold noise detection and enabled frequency limitation circuit,,,,automatic noise detection mode,,,," newline bitfld.long 0x00 21.--23. " REFCHRG ,Reference oscillator charge and discharge current value" "500 nA,1 uA,2 uA,4 uA,8 uA,16 uA,32 uA,64 uA" bitfld.long 0x00 19.--20. " DVOLT ,the oscillator's voltage rails" "DV = 1.026 V and VP = 1.328 V and Vm = 0.302 V,DV = 0.592 V and VP = 1.111 V and Vm = 0.519 V,DV = 0.342 V and VP = 0.986 V and Vm = 0.644 V,DV = 0.197 V and VP = 0.914 V and Vm = 0.716 V." bitfld.long 0x00 16.--18. " EXTCHRG ,Electrode oscillator charge and discharge current value" "500 nA,1 uA,2 uA,4 uA,8 uA,16 uA,32 uA,64 uA" newline bitfld.long 0x00 13.--15. " PS ,Prescaler of the output of electrode oscillator" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" bitfld.long 0x00 8.--12. " NSCN ,Scan number for each electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" rbitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" newline rbitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" bitfld.long 0x00 5. " STPE ,TSI STOP Enable" "Disabled,Enabled" rbitfld.long 0x00 4. " STM ,Scan Trigger Mode" "Software,Hardware" newline rbitfld.long 0x00 3. " SCNIP ,Scan In Progress Status" "No scan,Scan in progress" eventfld.long 0x00 2. " EOSF ,End of Scan Flag" "No scan,Scan in progress" bitfld.long 0x00 1. " CURSW ,Swapping of current sources of electrode oscillator and reference oscillator" "Not swapped,Swapped" newline bitfld.long 0x00 0. " EOSDMEO ,End-of-Scan DMA Transfer Request Enable Only" "Disabled,Enabled" else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" eventfld.long 0x00 31. " OUTRGF ,Out of Range Flag" "Not occurred,Occurred" bitfld.long 0x00 28. " ESOR ,End-of-scan or Out-of-Range Interrupt Selection" "Out-of-range,End-of-scan" newline bitfld.long 0x00 24.--27. " MODE ,TSI analog modes setup and status bits" "Capacitive sensing(non-noise detection) mode,,,Single threshold noise detection and disabled frequency limitation circuit,,,,Single threshold noise detection and enabled frequency limitation circuit,,,,automatic noise detection mode,,,," newline bitfld.long 0x00 21.--23. " REFCHRG ,Reference oscillator charge and discharge current value" "500 nA,1 uA,2 uA,4 uA,8 uA,16 uA,32 uA,64 uA" bitfld.long 0x00 19.--20. " DVOLT ,the oscillator's voltage rails" "DV = 1.026 V and VP = 1.328 V and Vm = 0.302 V,DV = 0.592 V and VP = 1.111 V and Vm = 0.519 V,DV = 0.342 V and VP = 0.986 V and Vm = 0.644 V,DV = 0.197 V and VP = 0.914 V and Vm = 0.716 V." bitfld.long 0x00 16.--18. " EXTCHRG ,Electrode oscillator charge and discharge current value" "500 nA,1 uA,2 uA,4 uA,8 uA,16 uA,32 uA,64 uA" newline bitfld.long 0x00 13.--15. " PS ,Prescaler of the output of electrode oscillator" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" bitfld.long 0x00 8.--12. " NSCN ,Scan number for each electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" newline bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" bitfld.long 0x00 5. " STPE ,TSI STOP Enable" "Disabled,Enabled" bitfld.long 0x00 4. " STM ,Scan Trigger Mode" "Software,Hardware" newline rbitfld.long 0x00 3. " SCNIP ,Scan In Progress Status" "No scan,Scan in progress" eventfld.long 0x00 2. " EOSF ,End of Scan Flag" "No scan,Scan in progress" bitfld.long 0x00 1. " CURSW ,Swapping of current sources of electrode oscillator and reference oscillator" "Not swapped,Swapped" newline bitfld.long 0x00 0. " EOSDMEO ,End-of-Scan DMA Transfer Request Enable Only" "Disabled,Enabled" endif else group.long 0x00++0x03 line.long 0x00 "GENCS,General Control And Status Register" bitfld.long 0x00 28. " LPCLKS ,Low power mode clock source selection" "LPOCLK,VLPOSCCLK" bitfld.long 0x00 24.--27. " LPSCNITV ,TSI low power mode scan interval" "1 ms,5 ms,10 ms,15 ms,20 ms,30 ms,40 ms,50 ms,75 ms,100 ms,125 ms,150 ms,200 ms,300 ms,400 ms,500 ms" bitfld.long 0x00 19.--23. " NSCN ,Number of consecutive scans per electrode" "1 time,2 times,3 times,4 times,5 times,6 times,7 times,8 times,9 times,10 times,11 times,12 times,13 times,14 times,15 times,16 times,17 times,18 times,19 times,20 times,21 times,22 times,23 times,24 times,25 times,26 times,27 times,28 times,29 times,30 times,31 times,32 times" newline bitfld.long 0x00 16.--18. " PS ,Electrode oscillator prescaler" "Div by 1,Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128" eventfld.long 0x00 15. " EOSF ,End of scan flag" "Not occurred,Occurred" eventfld.long 0x00 14. " OUTRGF ,Out of range flag" "Not occurred,Occurred" newline eventfld.long 0x00 13. " EXTERF ,External electrode error occurred" "Not occurred,Occurred" eventfld.long 0x00 12. " OVRF ,Overrun error flag" "No overrun,Overrun" rbitfld.long 0x00 9. " SCNIP ,Scan in progress status" "Idle,In progress" newline bitfld.long 0x00 8. " SWTS ,Software trigger start" "No effect,Start" bitfld.long 0x00 7. " TSIEN ,Touch sensing input module enable" "Disabled,Enabled" bitfld.long 0x00 6. " TSIIE ,Touch sensing input interrupt module enable" "Disabled,Enabled" newline bitfld.long 0x00 5. " ERIE ,Error interrupt enable" "Disabled,Enabled" bitfld.long 0x00 4. " ESOR ,End-of-Scan or Out-of-Range interrupt select" "Out of range,End of scan" bitfld.long 0x00 1. " STM ,Scan trigger mode" "Software,Periodical" newline bitfld.long 0x00 0. " STPE ,TSI STOP enable while in low power modes" "Not allowed,Allowed" endif sif cpuis("MK*AB10")||cpuis("MK20DN512*AB10R")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DX256VLL7*") group.long 0x04++0x03 line.long 0x00 "SCANC,SCAN Control Register" bitfld.long 0x00 27.--31. " REFCHRG ,Ref OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" bitfld.long 0x00 24.--26. " CAPTRM ,Internal capacitance trim value" "0.5 pF,0.6 pF,0.7 pF,0.8 pF,0.9 pF,1.0 pF,1.1 pF,1.2 pF" bitfld.long 0x00 19.--23. " EXTCHRG ,External OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" newline bitfld.long 0x00 16.--18. " DELVOL ,Delta voltage select applied to analog oscillators" "100 mV,150 mV,200 mV,250 mV,300 mV,400 mV,500 mV,600 mV" hexmask.long.byte 0x00 8.--15. 1. " SMOD ,Scan module" sif (!cpuis("MK30DX256VLL7*")) newline bitfld.long 0x00 5. " AMCLKDIV ,Active mode clock divider" "Set to 1,Set to 2048" endif sif cpuis("MK20DN512*AB10R")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DN512ZVLK10")||cpuis("MK30DX256VLL7*") newline bitfld.long 0x00 3.--4. " AMCLKS ,Active mode clock source" "Bus clock,MCGIRCLK,OSCERCLK,?..." bitfld.long 0x00 0.--2. " AMPSC ,Active mode prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" else newline bitfld.long 0x00 3.--4. " AMCLKS ,Active mode clock source" "LPOSCCLK,MCGIRCLK,OSCERCLK,?..." bitfld.long 0x00 0.--2. " AMPSC ,Active mode prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" endif elif cpuis("MK20*")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK10DN512ZVMC10*")||cpuis("MK10DN512ZVLL10")||cpuis("MK10DN512ZVLL10R")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DX256ZVLQ10")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK10DX256ZVMD10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x04++0x03 line.long 0x00 "SCANC,SCAN Control Register" bitfld.long 0x00 27.--31. " REFCHRG ,Ref OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" bitfld.long 0x00 24.--26. " CAPTRM ,Internal capacitance trim value" "0.5 pF,0.6 pF,0.7 pF,0.8 pF,0.9 pF,1.0 pF,1.1 pF,1.2 pF" bitfld.long 0x00 19.--23. " EXTCHRG ,External OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" newline bitfld.long 0x00 16.--18. " DELVOL ,Delta voltage select applied to analog oscillators" "100 mV,150 mV,200 mV,250 mV,300 mV,400 mV,500 mV,600 mV" hexmask.long.byte 0x00 8.--15. 1. " SMOD ,Scan module" newline bitfld.long 0x00 5. " AMCLKDIV ,Active mode clock divider" "/1,/2048" newline bitfld.long 0x00 3.--4. " AMCLKS ,Active mode clock source" "Bus clock,MCGIRCLK,OSCERCLK,?..." bitfld.long 0x00 0.--2. " AMPSC ,Active mode prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" else group.long 0x04++0x03 line.long 0x00 "SCANC,SCAN Control Register" bitfld.long 0x00 27.--31. " REFCHRG ,Ref OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" bitfld.long 0x00 24.--26. " CAPTRM ,Internal capacitance trim value" "0.5 pF,0.6 pF,0.7 pF,0.8 pF,0.9 pF,1.0 pF,1.1 pF,1.2 pF" bitfld.long 0x00 19.--23. " EXTCHRG ,External OSC charge current select" "1 uA,2 uA,3 uA,4 uA,5 uA,6 uA,7 uA,8 uA,9 uA,10 uA,11 uA,12 uA,13 uA,14 uA,15 uA,16 uA,17 uA,18 uA,19 uA,20 uA,21 uA,22 uA,23 uA,24 uA,25 uA,26 uA,27 uA,28 uA,29 uA,30 uA,31 uA,32 uA" newline bitfld.long 0x00 16.--18. " DELVOL ,Delta voltage select applied to analog oscillators" "100 mV,150 mV,200 mV,250 mV,300 mV,400 mV,500 mV,600 mV" hexmask.long.byte 0x00 8.--15. 1. " SMOD ,Scan module" newline bitfld.long 0x00 5. " AMCLKDIV ,Active mode clock divider" "/1,/2048" newline bitfld.long 0x00 3.--4. " AMCLKS ,Active mode clock source" "Bus clock,MCGIRCLK,OSCERCLK,?..." bitfld.long 0x00 0.--2. " AMPSC ,Active mode prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" endif elif cpuis("KK26FN2M0CAC18R") group.long 0x04++0x03 line.long 0x00 "DATA,DATA Register" bitfld.long 0x00 28.--31. " TSICH ,Current measured channel" "Channel 0,Channel 1,Channel 2,Channel 3,Channel 4,Channel 5,Channel 6,Channel 7,Channel 8,Channel 9,Channel 10,Channel 11,Channel 12,Channel 13,Channel 14,Channel 15" bitfld.long 0x00 23. " DMAEN ,DMA Transfer Enabled" "Selected interrupt,Selected DMA transfer request" bitfld.long 0x00 22. " SWTS ,Software Trigger Start" "No effect,Start a scan" newline hexmask.long.word 0x00 0.--15. 1. " TSICNT ,TSI Conversion Counter Value" else group.long 0x04++0x03 line.long 0x00 "SCANC,SCAN Control Register" bitfld.long 0x00 24.--27. " REFCHRG ,Ref OSC charge current select" "2 uA,4 uA,6 uA,8 uA,10 uA,12 uA,14 uA,16 uA,18 uA,20 uA,22 uA,24 uA,26 uA,28 uA,30 uA,32 uA" bitfld.long 0x00 16.--19. " EXTCHRG ,External OSC charge current select" "2 uA,4 uA,6 uA,8 uA,10 uA,12 uA,14 uA,16 uA,18 uA,20 uA,22 uA,24 uA,26 uA,28 uA,30 uA,32 uA" hexmask.long.byte 0x00 8.--15. 1. " SMOD ,Scan module" newline bitfld.long 0x00 3.--4. " AMCLKS ,Active mode clock source" "LPOSCCLK,MCGIRCLK,OSCERCLK,?..." bitfld.long 0x00 0.--2. " AMPSC ,Active mode prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" endif newline sif cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK53DX256ZCMD10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK20*")||cpuis("MK10DN512ZVLK10*")||cpuis("MK10DN512ZVLL10*")||cpuis("MK10DN512ZVLQ10*")||cpuis("MK10DN512ZVMD10*")||cpuis("MK10DN512ZVMC10*")||cpuis("MK10DX256ZVLQ10*")||cpuis("MK10DX256ZVMD10*")||cpuis("MK60DN512ZVLL10")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x40045000)&0x280)==(0x280||0x200||0x80))) rgroup.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin selection" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" newline bitfld.long 0x00 15. " PEN[15] ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " [14] ,Touch sensing input pin enable register 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " [12] ,Touch sensing input pin enable register 12" "Disabled,Enabled" newline bitfld.long 0x00 11. " [11] ,Touch sensing input pin enable register 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " [9] ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " [7] ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Touch sensing input pin enable register 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Touch sensing input pin enable register 4" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Touch sensing input pin enable register 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,Touch sensing input pin enable register 0" "Disabled,Enabled" else group.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin selection" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" newline bitfld.long 0x00 15. " PEN[15] ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " [14] ,Touch sensing input pin enable register 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " [12] ,Touch sensing input pin enable register 12" "Disabled,Enabled" newline bitfld.long 0x00 11. " [11] ,Touch sensing input pin enable register 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " [9] ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " [7] ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Touch sensing input pin enable register 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Touch sensing input pin enable register 4" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Touch sensing input pin enable register 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,Touch sensing input pin enable register 0" "Disabled,Enabled" endif elif cpuis("MK50DN512ZCLL10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") if (((per.l(ad:0x40045000)&0x280)==(0x280||0x200||0x80))) rgroup.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" bitfld.long 0x00 15. " PEN15 ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,Touch sensing input pin enable register 14" "Disabled,Enabled" newline bitfld.long 0x00 13. " PEN13 ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,Touch sensing input pin enable register 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,Touch sensing input pin enable register 11" "Disabled,Enabled" newline bitfld.long 0x00 10. " PEN10 ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " PEN7 ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,Touch sensing input pin enable register 5" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEN4 ,Touch sensing input pin enable register 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,Touch sensing input pin enable register 2" "Disabled,Enabled" newline bitfld.long 0x00 1. " PEN1 ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,Touch sensing input pin enable register 0" "Disabled,Enabled" else group.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" bitfld.long 0x00 15. " PEN15 ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,Touch sensing input pin enable register 14" "Disabled,Enabled" newline bitfld.long 0x00 13. " PEN13 ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,Touch sensing input pin enable register 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,Touch sensing input pin enable register 11" "Disabled,Enabled" newline bitfld.long 0x00 10. " PEN10 ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " PEN7 ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,Touch sensing input pin enable register 5" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEN4 ,Touch sensing input pin enable register 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,Touch sensing input pin enable register 2" "Disabled,Enabled" newline bitfld.long 0x00 1. " PEN1 ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,Touch sensing input pin enable register 0" "Disabled,Enabled" endif elif cpuis("MK60DN512VMC10R")||cpuis("MK60FN1M0VLQ15")||cpuis("KK60FN1M0VLQ15")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMD10") if (((per.l(ad:0x40045000)&0x80)==(0x80))) rgroup.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin selection" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" newline bitfld.long 0x00 15. " PEN[15] ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " [14] ,Touch sensing input pin enable register 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " [12] ,Touch sensing input pin enable register 12" "Disabled,Enabled" newline bitfld.long 0x00 11. " [11] ,Touch sensing input pin enable register 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " [9] ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " [7] ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Touch sensing input pin enable register 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Touch sensing input pin enable register 4" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Touch sensing input pin enable register 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,Touch sensing input pin enable register 0" "Disabled,Enabled" else group.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin selection" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" newline bitfld.long 0x00 15. " PEN[15] ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " [14] ,Touch sensing input pin enable register 14" "Disabled,Enabled" bitfld.long 0x00 13. " [13] ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " [12] ,Touch sensing input pin enable register 12" "Disabled,Enabled" newline bitfld.long 0x00 11. " [11] ,Touch sensing input pin enable register 11" "Disabled,Enabled" bitfld.long 0x00 10. " [10] ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " [9] ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " [8] ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " [7] ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " [6] ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " [5] ,Touch sensing input pin enable register 5" "Disabled,Enabled" bitfld.long 0x00 4. " [4] ,Touch sensing input pin enable register 4" "Disabled,Enabled" newline bitfld.long 0x00 3. " [3] ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " [2] ,Touch sensing input pin enable register 2" "Disabled,Enabled" bitfld.long 0x00 1. " [1] ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " [0] ,Touch sensing input pin enable register 0" "Disabled,Enabled" endif elif cpuis("MK66FN2M0VLQ18R")||cpuis("MK65FN2M0VMI18R")||cpuis("MK65FN2M0CAC18R")||cpuis("KK65FN2M0CAC18R") group.long 0x08++0x03 line.long 0x00 "TSHD,Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TSI Wakeup Channel High-threshold" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TSI Wakeup Channel Low-threshold" elif cpuis("MK70*") if (((per.l(ad:0x40045000)&0x80)==0x80)) rgroup.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" bitfld.long 0x00 15. " PEN15 ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,Touch sensing input pin enable register 14" "Disabled,Enabled" newline bitfld.long 0x00 13. " PEN13 ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,Touch sensing input pin enable register 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,Touch sensing input pin enable register 11" "Disabled,Enabled" newline bitfld.long 0x00 10. " PEN10 ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " PEN7 ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,Touch sensing input pin enable register 5" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEN4 ,Touch sensing input pin enable register 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,Touch sensing input pin enable register 2" "Disabled,Enabled" newline bitfld.long 0x00 1. " PEN1 ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,Touch sensing input pin enable register 0" "Disabled,Enabled" else group.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" bitfld.long 0x00 15. " PEN15 ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,Touch sensing input pin enable register 14" "Disabled,Enabled" newline bitfld.long 0x00 13. " PEN13 ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,Touch sensing input pin enable register 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,Touch sensing input pin enable register 11" "Disabled,Enabled" newline bitfld.long 0x00 10. " PEN10 ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " PEN7 ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,Touch sensing input pin enable register 5" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEN4 ,Touch sensing input pin enable register 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,Touch sensing input pin enable register 2" "Disabled,Enabled" newline bitfld.long 0x00 1. " PEN1 ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,Touch sensing input pin enable register 0" "Disabled,Enabled" endif else group.long 0x08++0x03 line.long 0x00 "PEN,Pin Enable Register" bitfld.long 0x00 16.--19. " LPSP ,Low power scan pin" "TSI_IN[0],TSI_IN[1],TSI_IN[2],TSI_IN[3],TSI_IN[4],TSI_IN[5],TSI_IN[6],TSI_IN[7],TSI_IN[8],TSI_IN[9],TSI_IN[10],TSI_IN[11],TSI_IN[12],TSI_IN[13],TSI_IN[14],TSI_IN[15]" bitfld.long 0x00 15. " PEN15 ,Touch sensing input pin enable register 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,Touch sensing input pin enable register 14" "Disabled,Enabled" newline bitfld.long 0x00 13. " PEN13 ,Touch sensing input pin enable register 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,Touch sensing input pin enable register 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,Touch sensing input pin enable register 11" "Disabled,Enabled" newline bitfld.long 0x00 10. " PEN10 ,Touch sensing input pin enable register 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,Touch sensing input pin enable register 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,Touch sensing input pin enable register 8" "Disabled,Enabled" newline bitfld.long 0x00 7. " PEN7 ,Touch sensing input pin enable register 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,Touch sensing input pin enable register 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,Touch sensing input pin enable register 5" "Disabled,Enabled" newline bitfld.long 0x00 4. " PEN4 ,Touch sensing input pin enable register 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,Touch sensing input pin enable register 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,Touch sensing input pin enable register 2" "Disabled,Enabled" newline bitfld.long 0x00 1. " PEN1 ,Touch sensing input pin enable register 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,Touch sensing input pin enable register 0" "Disabled,Enabled" endif sif !cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK65FN2M0CAC18R")&&!cpuis("KK65FN2M0CAC18R") sif cpuis("MK*AB10")||cpuis("MK20DN512*AB10R")||cpuis("MK20DX256ZVLL10*")||cpuis("MK20DN512ZVLL10*")||cpuis("MK20DX128ZVLQ10*")||cpuis("MK20DX128ZVMD10*")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10*")||cpuis("MK20DN512ZVLQ10*")||cpuis("MK20DN512ZVMD10*")||cpuis("MK20DX256ZVLK10*")||cpuis("MK20DN512ZVLK10*")||cpuis("MK20DX256ZVMB10*")||cpuis("MK20DN512ZVMB10*")||cpuis("MK20DX256ZVMC10*")||cpuis("MK20DN512ZVMC10*")||cpuis("MK10DN512ZVLL10")||cpuis("MK10DN512ZVLL10R")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DX256ZVLQ10")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK10DX256ZVMD10")||cpuis("MK30D????ZVLQ*")||cpuis("MK30DN512ZVLK10")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK60DN512ZCAB10R")||cpuis("MK10DN512ZVLK10*")||cpuis("KK60DN512ZCAB10R") group.long 0x0C++0x03 line.long 0x00 "STATUS,Status Register" eventfld.long 0x00 31. " ERRORF[15] ,TouchSensing error flag 15" "No error,Error" eventfld.long 0x00 30. " [14] ,TouchSensing error flag 14" "No error,Error" eventfld.long 0x00 29. " [13] ,TouchSensing error flag 13" "No error,Error" eventfld.long 0x00 28. " [12] ,TouchSensing error flag 12" "No error,Error" newline eventfld.long 0x00 27. " [11] ,TouchSensing error flag 11" "No error,Error" eventfld.long 0x00 26. " [10] ,TouchSensing error flag 10" "No error,Error" eventfld.long 0x00 25. " [9] ,TouchSensing error flag 9" "No error,Error" eventfld.long 0x00 24. " [8] ,TouchSensing error flag 8" "No error,Error" newline eventfld.long 0x00 23. " [7] ,TouchSensing error flag 7" "No error,Error" eventfld.long 0x00 22. " [6] ,TouchSensing error flag 6" "No error,Error" eventfld.long 0x00 21. " [5] ,TouchSensing error flag 5" "No error,Error" eventfld.long 0x00 20. " [4] ,TouchSensing error flag 4" "No error,Error" newline eventfld.long 0x00 19. " [3] ,TouchSensing error flag 3" "No error,Error" eventfld.long 0x00 18. " [2] ,TouchSensing error flag 2" "No error,Error" eventfld.long 0x00 17. " [1] ,TouchSensing error flag 1" "No error,Error" eventfld.long 0x00 16. " [0] ,TouchSensing error flag 0" "No error,Error" newline eventfld.long 0x00 15. " ORNGF[15] ,TouchSensing electrode out-of-range flag 15" "No interrupt,Interrupt" eventfld.long 0x00 14. " [14] ,TouchSensing electrode out-of-range flag 14" "No interrupt,Interrupt" eventfld.long 0x00 13. " [13] ,TouchSensing electrode out-of-range flag 13" "No interrupt,Interrupt" eventfld.long 0x00 12. " [12] ,TouchSensing electrode out-of-range flag 12" "No interrupt,Interrupt" newline eventfld.long 0x00 11. " [11] ,TouchSensing electrode out-of-range flag 11" "No interrupt,Interrupt" eventfld.long 0x00 10. " [10] ,TouchSensing electrode out-of-range flag 10" "No interrupt,Interrupt" eventfld.long 0x00 9. " [9] ,TouchSensing electrode out-of-range flag 9" "No interrupt,Interrupt" eventfld.long 0x00 8. " [8] ,TouchSensing electrode out-of-range flag 8" "No interrupt,Interrupt" newline eventfld.long 0x00 7. " [7] ,TouchSensing electrode out-of-range flag 7" "No interrupt,Interrupt" eventfld.long 0x00 6. " [6] ,TouchSensing electrode out-of-range flag 6" "No interrupt,Interrupt" eventfld.long 0x00 5. " [5] ,TouchSensing electrode out-of-range flag 5" "No interrupt,Interrupt" eventfld.long 0x00 4. " [4] ,TouchSensing electrode out-of-range flag 4" "No interrupt,Interrupt" newline eventfld.long 0x00 3. " [3] ,TouchSensing electrode out-of-range flag 3" "No interrupt,Interrupt" eventfld.long 0x00 2. " [2] ,TouchSensing electrode out-of-range flag 2" "No interrupt,Interrupt" eventfld.long 0x00 1. " [1] ,TouchSensing electrode out-of-range flag 1" "No interrupt,Interrupt" eventfld.long 0x00 0. " [0] ,TouchSensing electrode out-of-range flag 0" "No interrupt,Interrupt" else sif !cpuis("KK26FN2M0CAC18R") rgroup.long 0x0C++0x03 line.long 0x00 "WUCNTR,Wake-Up Channel Counter Register" hexmask.long.word 0x00 0.--15. 1. " WUCNT ,TouchSensing Wake-Up channel 16-bit counter value" endif endif endif newline sif !cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK65FN2M0CAC18R")&&!cpuis("KK26FN2M0CAC18R")&&!cpuis("KK65FN2M0CAC18R") rgroup.long 0x100++0x03 line.long 0x00 "CNTR1,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 1 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 0 16-bit counter value" rgroup.long 0x104++0x03 line.long 0x00 "CNTR3,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 3 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 2 16-bit counter value" rgroup.long 0x108++0x03 line.long 0x00 "CNTR5,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 5 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 4 16-bit counter value" rgroup.long 0x10C++0x03 line.long 0x00 "CNTR7,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 7 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 6 16-bit counter value" rgroup.long 0x110++0x03 line.long 0x00 "CNTR9,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 9 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 8 16-bit counter value" rgroup.long 0x114++0x03 line.long 0x00 "CNTR11,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 11 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 10 16-bit counter value" rgroup.long 0x118++0x03 line.long 0x00 "CNTR13,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 13 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 12 16-bit counter value" rgroup.long 0x11C++0x03 line.long 0x00 "CNTR15,Counter Register" hexmask.long.word 0x00 16.--31. 1. " CTN ,TouchSensing channel 15 16-bit counter value" hexmask.long.word 0x00 0.--15. 1. " CTN1 ,TouchSensing channel 14 16-bit counter value" endif sif !cpuis("MK66FN2M0VLQ18R")&&!cpuis("MK65FN2M0VMI18R")&&!cpuis("MK65FN2M0CAC18R")&&!cpuis("KK65FN2M0CAC18R") sif cpuis("MK*AB10")||cpuis("MK10DN512ZVLL10")||cpuis("MK10DN512ZVLL10R")||cpuis("MK10DN512ZVMC10")||cpuis("MK10DN512ZVLQ10")||cpuis("MK10DN512ZVMD10")||cpuis("MK10DX256ZVLQ10")||cpuis("MK10DX256ZVLQ10R")||cpuis("MK10DX256ZVMD10")||cpuis("MK30DN512ZVLK10")||cpuis("MK30D????ZVLQ*")||cpuis("MK10DN512ZVLK10*") group.long 0x120++0x03 line.long 0x00 "THRESHOLD0,Channel 0 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x124++0x03 line.long 0x00 "THRESHOLD1,Channel 1 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x128++0x03 line.long 0x00 "THRESHOLD2,Channel 2 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x12C++0x03 line.long 0x00 "THRESHOLD3,Channel 3 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x130++0x03 line.long 0x00 "THRESHOLD4,Channel 4 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x134++0x03 line.long 0x00 "THRESHOLD5,Channel 5 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x138++0x03 line.long 0x00 "THRESHOLD6,Channel 6 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x13C++0x03 line.long 0x00 "THRESHOLD7,Channel 7 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x140++0x03 line.long 0x00 "THRESHOLD8,Channel 8 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x144++0x03 line.long 0x00 "THRESHOLD9,Channel 9 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x148++0x03 line.long 0x00 "THRESHOLD10,Channel 10 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x14C++0x03 line.long 0x00 "THRESHOLD11,Channel 11 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x150++0x03 line.long 0x00 "THRESHOLD12,Channel 12 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x154++0x03 line.long 0x00 "THRESHOLD13,Channel 13 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x158++0x03 line.long 0x00 "THRESHOLD14,Channel 14 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" group.long 0x15C++0x03 line.long 0x00 "THRESHOLD15,Channel 15 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" elif cpuis("MK20DX256ZVLL10*")||cpuis("MK20DN512ZVLL10*")||cpuis("MK20DX128ZVLQ10*")||cpuis("MK20DX128ZVMD10*")||cpuis("MK20DX256ZVLQ10*")||cpuis("MK20DX256ZVMD10*")||cpuis("MK20DN512ZVLQ10*")||cpuis("MK20DN512ZVMD10*")||cpuis("MK20DX256ZVLK10*")||cpuis("MK20DN512ZVLK10*")||cpuis("MK20DX256ZVMB10*")||cpuis("MK20DN512ZVMB10*")||cpuis("MK40DN512ZVLQ10")||cpuis("MK40DN512ZVMD10")||cpuis("MK40DX128ZVLQ10")||cpuis("MK40DX256ZVLQ10")||cpuis("MK40DX256ZVMD10")||cpuis("MK40DN512ZVLL10")||cpuis("MK50DX256ZCLQ10")||cpuis("MK50DN512ZCLQ10")||cpuis("MK50DN512ZCMD10")||cpuis("MK51DX256ZCLL10")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DN256ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN512ZCMD10")||cpuis("MK52DN512ZCLQ10")||cpuis("MK52DN512ZCMD10")||cpuis("MK50DX256ZCLL10")||cpuis("MK50DN512ZCLL10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")||cpuis("MK53DX256ZCMD10")||cpuis("MK60FN1M0VLQ15")||cpuis("MK60DN512ZCAB10R")||cpuis("KK60DN512ZCAB10R") if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x120++0x03 line.long 0x00 "THRESHOLD0,Channel 0 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x120++0x03 line.long 0x00 "THRESHOLD0,Channel 0 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x124++0x03 line.long 0x00 "THRESHOLD1,Channel 1 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x124++0x03 line.long 0x00 "THRESHOLD1,Channel 1 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x128++0x03 line.long 0x00 "THRESHOLD2,Channel 2 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x128++0x03 line.long 0x00 "THRESHOLD2,Channel 2 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x12C++0x03 line.long 0x00 "THRESHOLD3,Channel 3 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x12C++0x03 line.long 0x00 "THRESHOLD3,Channel 3 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x130++0x03 line.long 0x00 "THRESHOLD4,Channel 4 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x130++0x03 line.long 0x00 "THRESHOLD4,Channel 4 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x134++0x03 line.long 0x00 "THRESHOLD5,Channel 5 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x134++0x03 line.long 0x00 "THRESHOLD5,Channel 5 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x138++0x03 line.long 0x00 "THRESHOLD6,Channel 6 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x138++0x03 line.long 0x00 "THRESHOLD6,Channel 6 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x13C++0x03 line.long 0x00 "THRESHOLD7,Channel 7 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x13C++0x03 line.long 0x00 "THRESHOLD7,Channel 7 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x140++0x03 line.long 0x00 "THRESHOLD8,Channel 8 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x140++0x03 line.long 0x00 "THRESHOLD8,Channel 8 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x144++0x03 line.long 0x00 "THRESHOLD9,Channel 9 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x144++0x03 line.long 0x00 "THRESHOLD9,Channel 9 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x148++0x03 line.long 0x00 "THRESHOLD10,Channel 10 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x148++0x03 line.long 0x00 "THRESHOLD10,Channel 10 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x14C++0x03 line.long 0x00 "THRESHOLD11,Channel 11 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x14C++0x03 line.long 0x00 "THRESHOLD11,Channel 11 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x150++0x03 line.long 0x00 "THRESHOLD12,Channel 12 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x150++0x03 line.long 0x00 "THRESHOLD12,Channel 12 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x154++0x03 line.long 0x00 "THRESHOLD13,Channel 13 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x154++0x03 line.long 0x00 "THRESHOLD13,Channel 13 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x158++0x03 line.long 0x00 "THRESHOLD14,Channel 14 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x158++0x03 line.long 0x00 "THRESHOLD14,Channel 14 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif if (((per.l(ad:0x40045000)&0x200)==0x200)) rgroup.long 0x15C++0x03 line.long 0x00 "THRESHOLD15,Channel 15 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x15C++0x03 line.long 0x00 "THRESHOLD15,Channel 15 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif elif cpuis("KK60FN1M0VLQ15")||cpuis("MK60DN256ZVLQ10")||cpuis("MK60DN512VMC10R")||cpuis("MK60DN512ZVLL10")||cpuis("MK60DN512ZVLQ10")||cpuis("MK60DN512ZVLQ10R")||cpuis("MK60DN512ZVMC10")||cpuis("MK60DN512ZVMD10")||cpuis("MK60DX256ZVLL10")||cpuis("MK60DX256ZVLQ10")||cpuis("MK60DX256ZVMC10")||cpuis("MK60DX256ZVMD10") rgroup.long 0x120++0x03 line.long 0x00 "THRESHOLD0,Channel 0 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x124++0x03 line.long 0x00 "THRESHOLD1,Channel 1 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x128++0x03 line.long 0x00 "THRESHOLD2,Channel 2 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x12C++0x03 line.long 0x00 "THRESHOLD3,Channel 3 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x130++0x03 line.long 0x00 "THRESHOLD4,Channel 4 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x134++0x03 line.long 0x00 "THRESHOLD5,Channel 5 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x138++0x03 line.long 0x00 "THRESHOLD6,Channel 6 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x13C++0x03 line.long 0x00 "THRESHOLD7,Channel 7 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x140++0x03 line.long 0x00 "THRESHOLD8,Channel 8 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x144++0x03 line.long 0x00 "THRESHOLD9,Channel 9 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x148++0x03 line.long 0x00 "THRESHOLD10,Channel 10 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x14C++0x03 line.long 0x00 "THRESHOLD11,Channel 11 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x150++0x03 line.long 0x00 "THRESHOLD12,Channel 12 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x154++0x03 line.long 0x00 "THRESHOLD13,Channel 13 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x158++0x03 line.long 0x00 "THRESHOLD14,Channel 14 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" rgroup.long 0x15C++0x03 line.long 0x00 "THRESHOLD15,Channel 15 Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" else group.long 0x120++0x03 line.long 0x00 "THRESHOLD,Channel Threshold Register" hexmask.long.word 0x00 16.--31. 1. " LTHH ,TouchSensing channel low threshold value" hexmask.long.word 0x00 0.--15. 1. " HTHH ,TouchSensing channel high threshold value" endif endif width 0x0B tree.end sif !cpuis("MK50D*")&&!cpuis("MK52D*") tree "SLCD (LCD Controller)" base ad:0x400BE000 width 5. sif cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")||cpuis("MKM14Z128CHH5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")||cpuis("MKM33Z128CLH5*") if (((per.l(ad:0x400BE000))&0x80)==0x80) if (((per.l(ad:0x400BE000))&0x800000)==0x000000) group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "2000pF,2000pF,8000pF,8000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" textline " " sif !cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7") bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" sif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/64,/256,/512" else textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" endif textline " " bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Disabled,Enabled" bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " rbitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" rbitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" rbitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" else group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "8000pF,4000pF,2000pF,1000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" textline " " sif !cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7") bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" sif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/64,/256,/512" else textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" endif textline " " bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Disabled,Enabled" bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " rbitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" rbitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" rbitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" endif else if (((per.l(ad:0x400BE000))&0x800000)==0x000000) group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "2000pF,2000pF,8000pF,8000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" textline " " sif !cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7") bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" sif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/64,/256,/512" else textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" endif textline " " bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Disabled,Enabled" bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" bitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" else group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "8000pF,4000pF,2000pF,1000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" textline " " sif !cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7") bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " endif bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" sif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM34Z256VLL7*")||cpuis("MKM34Z256VLQ7")) textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/64,/256,/512" else textline " " bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" endif textline " " bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Disabled,Enabled" bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" bitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" endif endif else if (((per.l(ad:0x400BE000))&0x800000)==0x000000) group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " sif (cpuis("MKM33Z128CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z64CLH5")) bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "2000pF,2000pF,8000pF,8000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Enabled,Disabled" textline " " else bitfld.long 0x00 22. " HREFSEL ,High reference select " "Vireg = 1.0 for 3V glass,Vireg = 1.67 for 5V glass" textline " " bitfld.long 0x00 20.--21. " LADJ ,Load adjust (Adjust the resistor bias network for different LCD glass capacitance)" "2000pF,2000pF,8000pF,8000pF" textline " " bitfld.long 0x00 16.--17. " VSUPPLY ,Voltage supply control" "Vll2 internally from Vdd,Vll3 internally from Vdd,,Vll3 externally from Vdd/Vll1 internally from Vireg" textline " " bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" textline " " bitfld.long 0x00 9. " LCDWAIT ,LCD driver/charge pump/resistor bias network/voltage regulator stop while in wait mode" "Allowed,Not allowed" textline " " endif bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" bitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" else group.long 0x00++0x03 line.long 0x00 "GCR,LCD General Control Register" bitfld.long 0x00 31. " RVEN ,Regulated voltage enable" "Disabled,Enabled" bitfld.long 0x00 24.--27. " RVTRIM ,Regulated voltage trim" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" bitfld.long 0x00 23. " CPSEL ,Charge pump or resistor bias select" "Resistor network,Charge pump" textline " " sif (cpuis("MKM33Z128CLL5")||cpuis("MKM34Z128CLL5")||cpuis("MKM33Z64CLH5")) bitfld.long 0x00 21.--22. " LADJ ,Load adjust" "8000pF,4000pF,2000pF,1000pF" bitfld.long 0x00 17. " VSUPPLY ,Voltage supply control" "Int. Vdd,Ext. Vdd/Int. Vireg" bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" textline " " bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" bitfld.long 0x00 9. " LCDDOZE ,LCD doze enable" "Enabled,Disabled" textline " " else bitfld.long 0x00 22. " HREFSEL ,High reference select " "Vireg = 1.0 for 3 V glass,Vireg =1.67 for 5V glass" textline " " bitfld.long 0x00 20.--21. " LADJ ,Load adjust (Adjust the clock source for the charge pump)" "8000pF,6000pF,4000pF,2000pF" textline " " bitfld.long 0x00 16.--17. " VSUPPLY ,Voltage supply control" "Vll2 internally from Vdd,Vll3 internally from Vdd,,Vll3 externally from Vdd/Vll1 internally from Vireg" textline " " bitfld.long 0x00 15. " LCDIEN ,LCD frame frequency interrupt enable" "Disabled,Enabled" bitfld.long 0x00 14. " FDCIEN ,LCD fault detection complete interrupt enable" "Disabled,Enabled" bitfld.long 0x00 12.--13. " ALTDIV ,LCD alternate clock divider" "/1,/8,/64,/512" textline " " bitfld.long 0x00 9. " LCDWAIT ,LCD driver/charge pump/resistor bias network/and voltage regulator stop while in wait mode" "Allowed,Not allowed" textline " " endif bitfld.long 0x00 8. " LCDSTP ,LCD driver/charge pump/resistor bias network/and voltage regulator while in stop mode" "Allowed,Not allowed" bitfld.long 0x00 7. " LCDEN ,LCD driver enable" "Disabled,Enabled" textline " " bitfld.long 0x00 6. " SOURCE ,LCD clock source select" "Default,Alternate" bitfld.long 0x00 3.--5. " LCLK ,LCD clock prescaler" "0,1,2,3,4,5,6,7" bitfld.long 0x00 0.--2. " DUTY ,LCD duty select" "1 BP,2 BP,3 BP,4 BP,5 BP,6 BP,7 BP,8 BP" endif endif textline " " width 6. group.long 0x04++0x0B line.long 0x00 "AR,LCD Auxiliary Register" sif (!cpuis("MKM34Z256VLL7*")&&!cpuis("MKM34Z256VLQ7")) eventfld.long 0x00 15. " LCDIF ,LCD frame frequency interrupt flag" "Not occurred,Occurred" textline " " endif bitfld.long 0x00 7. " BLINK ,Blink command" "Stop blinking,Start blinking" bitfld.long 0x00 6. " ALT ,Alternate display mode" "Normal,Alternate" bitfld.long 0x00 5. " BLANK ,Blank display mode" "Normal,Blank" textline " " bitfld.long 0x00 3. " BMODE ,Blink mode" "Blank,Alternate" bitfld.long 0x00 0.--2. " BRATE ,Blink-rate configuration" "0,1,2,3,4,5,6,7" line.long 0x04 "FDCR,LCD Fault Detect Control Register" bitfld.long 0x04 12.--14. " FDPRS ,Fault detect clock prescaler" "/1,/2,/4,/8,/16,/32,/64,/128" bitfld.long 0x04 9.--11. " FDSWW ,Fault detect sample window width" "4,8,16,32,64,128,256,512" bitfld.long 0x04 7. " FDEN ,Fault detect enable" "Disabled,Enabled" textline " " bitfld.long 0x04 6. " FDBPEN ,Fault detect backplane enable" "Disabled,Enabled" textline " " sif ((cpuis("MKM34Z128CLL5"))||(cpuis("MKM33Z64CLL5"))||(cpuis("MKM33Z128CLL5"))||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")) bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,LCD_P39,LCD_P40,LCD_P41,LCD_P42,LCD_P43,?..." elif ((cpuis("MKM33Z128CLH5*"))||(cpuis("MKM33Z64CLH5"))||cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")) bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,,,,,,,,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,,LCD_P27,LCD_P28,LCD_P29,LCD_P30,,,,,,,,LCD_P38,LCD_P39,LCD_P40,LCD_P41,LCD_P42,?..." elif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM14Z128CHH5*")) bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,,,,,,,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,,,,,,,,,,,,,,,LCD_P27,LCD_P28,LCD_P29,LCD_P30,?..." elif ((cpu()=="MK40DN512ZVLQ10")||(cpu()=="MK40DN512ZVMD10")||(cpu()=="MK40DX128ZVLQ10")||(cpu()=="MK40DX256ZVLQ10")||(cpu()=="MK40DX256ZVMD10")) bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,LCD_P39,LCD_P40,LCD_P41,LCD_P42,LCD_P43,LCD_P44,LCD_P45,LCD_P46,LCD_P47,?..." elif cpuis("MKM34Z256VLL7*") bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,LCD_P39,LCD_P40,LCD_P41,LCD_P42,LCD_P43,,,,,,,,,,,,,,,,,LCD_P60,LCD_P61,LCD_P62,LCD_P63" elif (cpuis("MKM34Z256VLQ7")) bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,LCD_P39,LCD_P40,LCD_P41,LCD_P42,LCD_P43,LCD_P44,LCD_P45,LCD_P46,LCD_P47,LCD_P48,LCD_P49,LCD_P50,LCD_P51,LCD_P52,LCD_P53,LCD_P54,LCD_P55,LCD_P56,LCD_P57,LCD_P58,LCD_P59,LCD_P60,LCD_P61,LCD_P62,LCD_P63" elif (cpu()=="MK40DN512ZVLL10")||cpuis("MK51DN512ZCLL10") bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,,,,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,,,,,LCD_P36,LCD_P37,LCD_P38,,LCD_P40,LCD_P41,LCD_P42,LCD_P43,LCD_P44,LCD_P45,LCD_P46,LCD_P47,?..." elif cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10") bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,,,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,,LCD_P40,LCD_P41,LCD_P42,LCD_P43,LCD_P44,LCD_P45,LCD_P46,LCD_P47,?..." elif cpuis("MK51DN512ZCLQ10")||cpuis("MK51DN256ZCMD10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10") bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "LCD_P0,LCD_P1,LCD_P2,LCD_P3,LCD_P4,LCD_P5,LCD_P6,LCD_P7,LCD_P8,LCD_P9,LCD_P10,LCD_P11,LCD_P12,LCD_P13,LCD_P14,LCD_P15,LCD_P16,LCD_P17,LCD_P18,LCD_P19,LCD_P20,LCD_P21,LCD_P22,LCD_P23,LCD_P24,LCD_P25,LCD_P26,LCD_P27,LCD_P28,LCD_P29,LCD_P30,LCD_P31,LCD_P32,LCD_P33,LCD_P34,LCD_P35,LCD_P36,LCD_P37,LCD_P38,,LCD_P40,LCD_P41,LCD_P42,LCD_P43,LCD_P44,LCD_P45,LCD_P46,LCD_P47,?..." else bitfld.long 0x04 0.--5. " FDPINID ,Fault detect pin ID" "P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18,P19,P20,P21,P22,P23,P24,P25,P26,P27,P28,P29,P30,P31,P32,P33,P34,P35,P36,P37,P38,P39,P40,P41,P42,P43,P44,P45,P46,P47,P48,P49,P50,P51,P52,P53,P54,P55,P56,P57,P58,P59,P60,P61,P62,P63" endif line.long 0x08 "FDSR,LCD Fault Detect Status Register" eventfld.long 0x08 15. " FDCF ,Fault detection complete flag" "Not completed,Completed" hexmask.long.byte 0x08 0.--7. 1. " FDCNT ,Fault detect counter" textline " " width 14. sif ((cpuis("MKM34Z128CLL5"))||(cpuis("MKM33Z64CLL5"))||(cpuis("MKM33Z128CLL5"))||cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*")) group.long 0x10++0x0F line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 31. " PEN_31 ,LCD pin 31" "Disabled,Enabled" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" textline " " bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 26. " PEN_26 ,LCD pin 26" "Disabled,Enabled" textline " " bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" textline " " bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" bitfld.long 0x00 20. " PEN_20 ,LCD pin 20" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " PEN_19 ,LCD pin 19" "Disabled,Enabled" bitfld.long 0x00 18. " PEN_18 ,LCD pin 18" "Disabled,Enabled" bitfld.long 0x00 17. " PEN_17 ,LCD pin 17" "Disabled,Enabled" textline " " bitfld.long 0x00 16. " PEN_16 ,LCD pin 16" "Disabled,Enabled" bitfld.long 0x00 15. " PEN_15 ,LCD pin 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN_14 ,LCD pin 14" "Disabled,Enabled" textline " " bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN_6 ,LCD pin 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN_5 ,LCD pin 5" "Disabled,Enabled" textline " " bitfld.long 0x00 4. " PEN_4 ,LCD pin 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" bitfld.long 0x04 11. " PEN_43 ,LCD pin 43" "Disabled,Enabled" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" textline " " bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" bitfld.long 0x04 7. " PEN_39 ,LCD pin 39" "Disabled,Enabled" bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" textline " " bitfld.long 0x04 5. " PEN_37 ,LCD pin 37" "Disabled,Enabled" bitfld.long 0x04 4. " PEN_36 ,LCD pin 36" "Disabled,Enabled" bitfld.long 0x04 3. " PEN_35 ,LCD pin 35" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " PEN_34 ,LCD pin 34" "Disabled,Enabled" bitfld.long 0x04 1. " PEN_33 ,LCD pin 33" "Disabled,Enabled" bitfld.long 0x04 0. " PEN_32 ,LCD pin 32" "Disabled,Enabled" line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 31. " BPEN_31 ,Back plane pin 31" "Front,Back" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" textline " " bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 26. " BPEN_26 ,Back plane pin 26" "Front,Back" textline " " bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" textline " " bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back Plane Pin 21" "Front,Back" bitfld.long 0x08 20. " BPEN_20 ,Back Plane Pin 20" "Front,Back" textline " " bitfld.long 0x08 19. " BPEN_19 ,Back plane pin 19" "Front,Back" bitfld.long 0x08 18. " BPEN_18 ,Back plane pin 18" "Front,Back" bitfld.long 0x08 17. " BPEN_17 ,Back plane pin 17" "Front,Back" textline " " bitfld.long 0x08 16. " BPEN_16 ,Back plane pin 16" "Front,Back" bitfld.long 0x08 15. " BPEN_15 ,Back plane pin 15" "Front,Back" bitfld.long 0x08 14. " BPEN_14 ,Back plane pin 14" "Front,Back" textline " " bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" textline " " bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" bitfld.long 0x08 6. " BPEN_6 ,Back plane pin 6" "Front,Back" bitfld.long 0x08 5. " BPEN_5 ,Back plane pin 5" "Front,Back" textline " " bitfld.long 0x08 4. " BPEN_4 ,Back plane pin 4" "Front,Back" bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" textline " " bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" bitfld.long 0x0C 11. " BPEN_43 ,Back plane pin 43" "Front,Back" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" textline " " bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" bitfld.long 0x0C 7. " BPEN_39 ,Back plane pin 39" "Front,Back" bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" textline " " bitfld.long 0x0C 5. " BPEN_37 ,Back plane pin 37" "Front,Back" bitfld.long 0x0C 4. " BPEN_36 ,Back plane pin 36" "Front,Back" bitfld.long 0x0C 3. " BPEN_35 ,Back plane pin 35" "Front,Back" textline " " bitfld.long 0x0C 2. " BPEN_34 ,Back plane pin 34" "Front,Back" bitfld.long 0x0C 1. " BPEN_33 ,Back plane pin 33" "Front,Back" bitfld.long 0x0C 0. " BPEN_32 ,Back plane pin 32" "Front,Back" textline " " sif cpuis("MKM33Z64ACLL5*")||cpuis("MKM33Z128ACLL5")||cpuis("MKM34Z128ACLL5*")||cpuis("MKM33Z64CLL5*") group.long 0x20++0x2B line.long 0x00 "LCD_WF3TO0,LCD Waveform Register" bitfld.long 0x00 31. " WF3[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF2[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF1[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF0[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF7TO4,LCD Waveform Register" bitfld.long 0x04 31. " WF7[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 23. " WF6[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF5[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF4[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x08 "LCD_WF11TO8,LCD Waveform Register" bitfld.long 0x08 31. " WF11[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 23. " WF10[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 15. " WF9[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 7. " WF8[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x0C "LCD_WF15TO12,LCD Waveform Register" bitfld.long 0x0C 31. " WF15[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 23. " WF14[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 15. " WF13[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 7. " WF12[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x0C 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x0C 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x10 "LCD_WF19TO16,LCD Waveform Register" bitfld.long 0x10 31. " WF19[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 23. " WF18[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 15. " WF17[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 7. " WF16[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x14 "LCD_WF23TO20,LCD Waveform Register" bitfld.long 0x14 31. " WF23[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 23. " WF22[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 15. " WF21[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 7. " WF20[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x18 "LCD_WF27TO24,LCD Waveform Register" bitfld.long 0x18 31. " WF27[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 23. " WF26[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 15. " WF25[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 7. " WF24[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x1C "LCD_WF31TO28,LCD Waveform Register" bitfld.long 0x1C 31. " WF31[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 23. " WF30[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 15. " WF29[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 7. " WF28[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x20 "LCD_WF35TO32,LCD Waveform Register" bitfld.long 0x20 31. " WF35[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 23. " WF34[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 15. " WF33[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 7. " WF32[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x24 "LCD_WF39TO36,LCD Waveform Register" bitfld.long 0x24 31. " WF39[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 23. " WF38[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 15. " WF37[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 7. " WF36[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x28 "LCD_WF43TO40,LCD Waveform Register" bitfld.long 0x28 31. " WF43[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 23. " WF42[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 15. " WF41[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 7. " WF40[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " else group.long 0x20++0x2B line.long 0x00 "LCD_WF3TO0,LCD Waveform Register" hexmask.long.byte 0x00 24.--31. 1. " WF3 ,Waveform pin 3" hexmask.long.byte 0x00 16.--23. 1. " WF2 ,Waveform pin 2" hexmask.long.byte 0x00 8.--15. 1. " WF1 ,Waveform pin 1" textline " " hexmask.long.byte 0x00 0.--7. 1. " WF0 ,Waveform pin 0" line.long 0x04 "LCD_WF7TO4,LCD Waveform Register" hexmask.long.byte 0x04 24.--31. 1. " WF7 ,Waveform pin 7" hexmask.long.byte 0x04 16.--23. 1. " WF6 ,Waveform pin 6" hexmask.long.byte 0x04 8.--15. 1. " WF5 ,Waveform pin 5" textline " " hexmask.long.byte 0x04 0.--7. 1. " WF4 ,Waveform pin 4" line.long 0x08 "LCD_WF11TO8,LCD Waveform Register" hexmask.long.byte 0x08 24.--31. 1. " WF11 ,Waveform pin 11" hexmask.long.byte 0x08 16.--23. 1. " WF10 ,Waveform pin 10" hexmask.long.byte 0x08 8.--15. 1. " WF9 ,Waveform pin 9" textline " " hexmask.long.byte 0x08 0.--7. 1. " WF8 ,Waveform pin 8" line.long 0x0C "LCD_WF15TO12,LCD Waveform Register" hexmask.long.byte 0x0C 24.--31. 1. " WF15 ,Waveform pin 15" hexmask.long.byte 0x0C 16.--23. 1. " WF14 ,Waveform pin 14" hexmask.long.byte 0x0C 8.--15. 1. " WF13 ,Waveform pin 13" textline " " hexmask.long.byte 0x0C 0.--7. 1. " WF12 ,Waveform pin 12" line.long 0x10 "LCD_WF19TO16,LCD Waveform Register" hexmask.long.byte 0x10 24.--31. 1. " WF19 ,Waveform pin 19" hexmask.long.byte 0x10 16.--23. 1. " WF18 ,Waveform pin 18" hexmask.long.byte 0x10 8.--15. 1. " WF17 ,Waveform pin 17" textline " " hexmask.long.byte 0x10 0.--7. 1. " WF16 ,Waveform pin 16" line.long 0x14 "LCD_WF23TO20,LCD Waveform Register" hexmask.long.byte 0x14 24.--31. 1. " WF23 ,Waveform pin 23" hexmask.long.byte 0x14 16.--23. 1. " WF22 ,Waveform pin 22" hexmask.long.byte 0x14 8.--15. 1. " WF21 ,Waveform pin 21" textline " " hexmask.long.byte 0x14 0.--7. 1. " WF20 ,Waveform pin 20" line.long 0x18 "LCD_WF27TO24,LCD Waveform Register" hexmask.long.byte 0x18 24.--31. 1. " WF27 ,Waveform pin 27" hexmask.long.byte 0x18 16.--23. 1. " WF26 ,Waveform pin 26" hexmask.long.byte 0x18 8.--15. 1. " WF25 ,Waveform pin 25" textline " " hexmask.long.byte 0x18 0.--7. 1. " WF24 ,Waveform pin 24" line.long 0x1C "LCD_WF31TO28,LCD Waveform Register" hexmask.long.byte 0x1C 24.--31. 1. " WF31 ,Waveform pin 31" hexmask.long.byte 0x1C 16.--23. 1. " WF30 ,Waveform pin 30" hexmask.long.byte 0x1C 8.--15. 1. " WF29 ,Waveform pin 29" textline " " hexmask.long.byte 0x1C 0.--7. 1. " WF28 ,Waveform pin 28" line.long 0x20 "LCD_WF35TO32,LCD Waveform Register" hexmask.long.byte 0x20 24.--31. 1. " WF35 ,Waveform pin 35" hexmask.long.byte 0x20 16.--23. 1. " WF34 ,Waveform pin 34" hexmask.long.byte 0x20 8.--15. 1. " WF33 ,Waveform pin 33" textline " " hexmask.long.byte 0x20 0.--7. 1. " WF32 ,Waveform pin 32" line.long 0x24 "LCD_WF39TO36,LCD Waveform Register" hexmask.long.byte 0x24 24.--31. 1. " WF39 ,Waveform pin 39" hexmask.long.byte 0x24 16.--23. 1. " WF38 ,Waveform pin 38" hexmask.long.byte 0x24 8.--15. 1. " WF37 ,Waveform pin 37" textline " " hexmask.long.byte 0x24 0.--7. 1. " WF36 ,Waveform pin 36" line.long 0x28 "LCD_WF43TO40,LCD Waveform Register" hexmask.long.byte 0x28 24.--31. 1. " WF43 ,Waveform pin 43" hexmask.long.byte 0x28 16.--23. 1. " WF42 ,Waveform pin 42" hexmask.long.byte 0x28 8.--15. 1. " WF41 ,Waveform pin 41" textline " " hexmask.long.byte 0x28 0.--7. 1. " WF40 ,Waveform pin 40" endif elif ((cpuis("MKM33Z128CLH5*"))||(cpuis("MKM33Z64CLH5"))) group.long 0x10++0x33 line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" textline " " bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" textline " " bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" textline " " bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN_6 ,LCD pin 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN_5 ,LCD pin 5" "Disabled,Enabled" textline " " bitfld.long 0x00 4. " PEN_4 ,LCD pin 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" textline " " bitfld.long 0x04 7. " PEN_39 ,LCD pin 39" "Disabled,Enabled" bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" textline " " bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" textline " " bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back plane pin 21" "Front,Back" textline " " bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" textline " " bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" bitfld.long 0x08 6. " BPEN_6 ,Back plane pin 6" "Front,Back" bitfld.long 0x08 5. " BPEN_5 ,Back plane pin 5" "Front,Back" textline " " bitfld.long 0x08 4. " BPEN_4 ,Back plane pin 4" "Front,Back" bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" textline " " bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" textline " " bitfld.long 0x0C 7. " BPEN_39 ,Back plane pin 39" "Front,Back" bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" line.long 0x10 "LCD_WF3TO0,LCD Waveform Register" hexmask.long.byte 0x10 24.--31. 1. " WF3 ,Waveform pin 3" hexmask.long.byte 0x10 16.--23. 1. " WF2 ,Waveform pin 2" hexmask.long.byte 0x10 8.--15. 1. " WF1 ,Waveform pin 1" textline " " hexmask.long.byte 0x10 0.--7. 1. " WF0 ,Waveform pin 0" line.long 0x14 "LCD_WF7TO4,LCD Waveform Register" hexmask.long.byte 0x14 24.--31. 1. " WF7 ,Waveform pin 7" hexmask.long.byte 0x14 16.--23. 1. " WF6 ,Waveform pin 6" hexmask.long.byte 0x14 8.--15. 1. " WF5 ,Waveform pin 5" textline " " hexmask.long.byte 0x14 0.--7. 1. " WF4 ,Waveform pin 4" line.long 0x18 "LCD_WF11TO8,LCD Waveform Register" hexmask.long.byte 0x18 24.--31. 1. " WF11 ,Waveform pin 11" hexmask.long.byte 0x18 16.--23. 1. " WF10 ,Waveform pin 10" hexmask.long.byte 0x18 8.--15. 1. " WF9 ,Waveform pin 9" textline " " hexmask.long.byte 0x18 0.--7. 1. " WF8 ,Waveform pin 8" line.long 0x1C "LCD_WF15TO12,LCD Waveform Register" hexmask.long.byte 0x1C 8.--15. 1. " WF13 ,Waveform pin 13" hexmask.long.byte 0x1C 0.--7. 1. " WF12 ,Waveform pin 12" line.long 0x20 "LCD_WF23TO20,LCD Waveform Register" hexmask.long.byte 0x20 24.--31. 1. " WF23 ,Waveform pin 23" hexmask.long.byte 0x20 16.--23. 1. " WF22 ,Waveform pin 22" hexmask.long.byte 0x20 8.--15. 1. " WF21 ,Waveform pin 21" line.long 0x24 "LCD_WF27TO24,LCD Waveform Register" hexmask.long.byte 0x24 24.--31. 1. " WF27 ,Waveform pin 27" hexmask.long.byte 0x24 8.--15. 1. " WF25 ,Waveform pin 25" hexmask.long.byte 0x24 0.--7. 1. " WF24 ,Waveform pin 24" line.long 0x28 "LCD_WF31TO28,LCD Waveform Register" hexmask.long.byte 0x28 16.--23. 1. " WF30 ,Waveform pin 30" hexmask.long.byte 0x28 8.--15. 1. " WF29 ,Waveform pin 29" hexmask.long.byte 0x28 0.--7. 1. " WF28 ,Waveform pin 28" line.long 0x2C "LCD_WF39TO36,LCD Waveform Register" hexmask.long.byte 0x2C 24.--31. 1. " WF39 ,Waveform pin 39" hexmask.long.byte 0x2C 16.--23. 1. " WF38 ,Waveform pin 38" line.long 0x30 "LCD_WF43TO40,LCD Waveform Register" hexmask.long.byte 0x30 16.--23. 1. " WF42 ,Waveform pin 42" hexmask.long.byte 0x30 8.--15. 1. " WF41 ,Waveform pin 41" hexmask.long.byte 0x30 0.--7. 1. " WF40 ,Waveform pin 40" elif (cpuis("MKM33Z128ACLH5*")||cpuis("MKM33Z64ACLH5*")) group.long 0x10++0x1F line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" textline " " bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" textline " " bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" textline " " bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN_6 ,LCD pin 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN_5 ,LCD pin 5" "Disabled,Enabled" textline " " bitfld.long 0x00 4. " PEN_4 ,LCD pin 4" "Disabled,Enabled" bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" textline " " bitfld.long 0x04 7. " PEN_39 ,LCD pin 39" "Disabled,Enabled" bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" textline " " bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" textline " " bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back plane pin 21" "Front,Back" textline " " bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" textline " " bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" bitfld.long 0x08 6. " BPEN_6 ,Back plane pin 6" "Front,Back" bitfld.long 0x08 5. " BPEN_5 ,Back plane pin 5" "Front,Back" textline " " bitfld.long 0x08 4. " BPEN_4 ,Back plane pin 4" "Front,Back" bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" textline " " bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" textline " " bitfld.long 0x0C 7. " BPEN_39 ,Back plane pin 39" "Front,Back" bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" textline " " line.long 0x10 "LCD_WF3TO0,LCD Waveform Register" bitfld.long 0x10 31. " WF3[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 23. " WF2[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 15. " WF1[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 7. " WF0[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x14 "LCD_WF7TO4,LCD Waveform Register" bitfld.long 0x14 31. " WF7[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 23. " WF6[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 15. " WF5[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 7. " WF4[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x18 "LCD_WF11TO8,LCD Waveform Register" bitfld.long 0x18 31. " WF11[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 23. " WF10[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 15. " WF9[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 7. " WF8[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x1C "LCD_WF15TO12,LCD Waveform Register" bitfld.long 0x1C 15. " WF13[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 7. " WF12[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x34++0x0B line.long 0x00 "LCD_WF23TO20,LCD Waveform Register" bitfld.long 0x00 31. " WF23[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF22[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF21[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF27TO24,LCD Waveform Register" bitfld.long 0x04 31. " WF27[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF25[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF24[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x08 "LCD_WF31TO28,LCD Waveform Register" bitfld.long 0x08 23. " WF30[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 15. " WF29[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 7. " WF28[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x44++0x07 line.long 0x00 "LCD_WF39TO36,LCD Waveform Register" bitfld.long 0x00 31. " WF39[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF38[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF43TO40,LCD Waveform Register" bitfld.long 0x04 23. " WF42[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF41[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF40[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " elif (cpuis("MKM14Z128ACHH5*")||cpuis("MKM14Z64ACHH5")||cpuis("MKM14Z128CHH5*")) group.long 0x10++0x03 line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" textline " " bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" group.long 0x18++0x03 line.long 0x00 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x00 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x00 29. " BPEN_29 ,Back plane pin 29" "Front,Back" bitfld.long 0x00 28. " BPEN_28 ,Back plane pin 28" "Front,Back" textline " " bitfld.long 0x00 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x00 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x00 11. " BPEN_11 ,Back plane pin 11" "Front,Back" textline " " bitfld.long 0x00 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x00 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x00 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x00 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x00 0. " BPEN_0 ,Back plane pin 0" "Front,Back" textline " " group.long 0x20++0x03 line.long 0x00 "LCD_WF3TO0,LCD Waveform Register" bitfld.long 0x00 15. " WF1[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF0[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x28++0x07 line.long 0x00 "LCD_WF11TO8,LCD Waveform Register" bitfld.long 0x00 31. " WF11[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF10[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF9[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF8[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF15TO12,LCD Waveform Register" bitfld.long 0x04 7. " WF12[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x38++0x07 line.long 0x00 "LCD_WF27TO24,LCD Waveform Register" bitfld.long 0x00 31. " WF27[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF31TO28,LCD Waveform Register" bitfld.long 0x04 23. " WF30[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF29[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF28[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " elif (cpuis("MKM34Z256VLQ7")||cpuis("MKM34Z256VLL7*")||cpuis("MK51DN512ZCLL10")||cpuis("MK51DN512ZCMC10")||cpuis("MK51DX256ZCMC10")||cpuis("MK51DN256ZCMD10")||cpuis("MK51DN512ZCLQ10")||cpuis("MK53DN512ZCLQ10")||cpuis("MK53DN512ZCMD10")||cpuis("MK53DX256ZCLQ10")) group.long 0x10++0x2F line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 31. " PEN_31 ,LCD pin 31" "Disabled,Enabled" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" textline " " bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 26. " PEN_26 ,LCD pin 26" "Disabled,Enabled" textline " " bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" textline " " bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" bitfld.long 0x00 20. " PEN_20 ,LCD pin 20" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " PEN_19 ,LCD pin 19" "Disabled,Enabled" bitfld.long 0x00 18. " PEN_18 ,LCD pin 18" "Disabled,Enabled" bitfld.long 0x00 17. " PEN_17 ,LCD pin 17" "Disabled,Enabled" textline " " bitfld.long 0x00 16. " PEN_16 ,LCD pin 16" "Disabled,Enabled" bitfld.long 0x00 15. " PEN_15 ,LCD pin 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN_14 ,LCD pin 14" "Disabled,Enabled" textline " " bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 6. " PEN_6 ,LCD pin 6" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x00 5. " PEN_5 ,LCD pin 5" "Disabled,Enabled" bitfld.long 0x00 4. " PEN_4 ,LCD pin 4" "Disabled,Enabled" textline " " endif endif bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x04 31. " PEN_63 ,LCD pin 63" "Disabled,Enabled" bitfld.long 0x04 30. " PEN_62 ,LCD pin 62" "Disabled,Enabled" bitfld.long 0x04 29. " PEN_61 ,LCD pin 61" "Disabled,Enabled" textline " " bitfld.long 0x04 28. " PEN_60 ,LCD pin 60" "Disabled,Enabled" textline " " endif sif !cpuis("MKM34Z256VLL7*") sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x04 27. " PEN_59 ,LCD pin 59" "Disabled,Enabled" bitfld.long 0x04 26. " PEN_58 ,LCD pin 58" "Disabled,Enabled" bitfld.long 0x04 25. " PEN_57 ,LCD pin 57" "Disabled,Enabled" textline " " bitfld.long 0x04 24. " PEN_56 ,LCD pin 56" "Disabled,Enabled" bitfld.long 0x04 23. " PEN_55 ,LCD pin 55" "Disabled,Enabled" bitfld.long 0x04 22. " PEN_54 ,LCD pin 54" "Disabled,Enabled" textline " " bitfld.long 0x04 21. " PEN_53 ,LCD pin 53" "Disabled,Enabled" bitfld.long 0x04 20. " PEN_52 ,LCD pin 52" "Disabled,Enabled" bitfld.long 0x04 19. " PEN_51 ,LCD pin 51" "Disabled,Enabled" textline " " bitfld.long 0x04 18. " PEN_50 ,LCD pin 50" "Disabled,Enabled" bitfld.long 0x04 17. " PEN_49 ,LCD pin 49" "Disabled,Enabled" bitfld.long 0x04 16. " PEN_48 ,LCD pin 48" "Disabled,Enabled" textline " " endif bitfld.long 0x04 15. " PEN_47 ,LCD pin 47" "Disabled,Enabled" bitfld.long 0x04 14. " PEN_46 ,LCD pin 46" "Disabled,Enabled" bitfld.long 0x04 13. " PEN_45 ,LCD pin 45" "Disabled,Enabled" textline " " bitfld.long 0x04 12. " PEN_44 ,LCD pin 44" "Disabled,Enabled" textline " " endif bitfld.long 0x04 11. " PEN_43 ,LCD pin 43" "Disabled,Enabled" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" textline " " bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x04 7. " PEN_39 ,LCD pin 39" "Disabled,Enabled" textline " " endif bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" bitfld.long 0x04 5. " PEN_37 ,LCD pin 37" "Disabled,Enabled" bitfld.long 0x04 4. " PEN_36 ,LCD pin 36" "Disabled,Enabled" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x04 3. " PEN_35 ,LCD pin 35" "Disabled,Enabled" bitfld.long 0x04 2. " PEN_34 ,LCD pin 34" "Disabled,Enabled" bitfld.long 0x04 1. " PEN_33 ,LCD pin 33" "Disabled,Enabled" textline " " bitfld.long 0x04 0. " PEN_32 ,LCD pin 32" "Disabled,Enabled" endif line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 31. " BPEN_31 ,Back plane pin 31" "Front,Back" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" textline " " bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 26. " BPEN_26 ,Back plane pin 26" "Front,Back" textline " " bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" textline " " bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back plane pin 21" "Front,Back" bitfld.long 0x08 20. " BPEN_20 ,Back plane pin 20" "Front,Back" textline " " bitfld.long 0x08 19. " BPEN_19 ,Back plane pin 19" "Front,Back" bitfld.long 0x08 18. " BPEN_18 ,Back plane pin 18" "Front,Back" bitfld.long 0x08 17. " BPEN_17 ,Back plane pin 17" "Front,Back" textline " " bitfld.long 0x08 16. " BPEN_16 ,Back plane pin 16" "Front,Back" bitfld.long 0x08 15. " BPEN_15 ,Back plane pin 15" "Front,Back" bitfld.long 0x08 14. " BPEN_14 ,Back plane pin 14" "Front,Back" textline " " bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" textline " " bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x08 6. " BPEN_6 ,Back plane pin 6" "Front,Back" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x08 5. " BPEN_5 ,Back plane pin 5" "Front,Back" bitfld.long 0x08 4. " BPEN_4 ,Back plane pin 4" "Front,Back" textline " " endif endif bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" textline " " bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x0C 31. " BPEN_63 ,Back plane pin 63" "Front,Back" bitfld.long 0x0C 30. " BPEN_62 ,Back plane pin 62" "Front,Back" bitfld.long 0x0C 29. " BPEN_61 ,Back plane pin 61" "Front,Back" textline " " bitfld.long 0x0C 28. " BPEN_60 ,Back plane pin 60" "Front,Back" textline " " endif sif !cpuis("MKM34Z256VLL7*") sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x0C 27. " BPEN_59 ,Back plane pin 59" "Front,Back" bitfld.long 0x0C 26. " BPEN_58 ,Back plane pin 58" "Front,Back" bitfld.long 0x0C 25. " BPEN_57 ,Back plane pin 57" "Front,Back" textline " " bitfld.long 0x0C 24. " BPEN_56 ,Back plane pin 56" "Front,Back" bitfld.long 0x0C 23. " BPEN_55 ,Back plane pin 55" "Front,Back" bitfld.long 0x0C 22. " BPEN_54 ,Back plane pin 54" "Front,Back" textline " " bitfld.long 0x0C 21. " BPEN_53 ,Back plane pin 53" "Front,Back" bitfld.long 0x0C 20. " BPEN_52 ,Back plane pin 52" "Front,Back" bitfld.long 0x0C 19. " BPEN_51 ,Back plane pin 51" "Front,Back" textline " " bitfld.long 0x0C 18. " BPEN_50 ,Back plane pin 50" "Front,Back" bitfld.long 0x0C 17. " BPEN_49 ,Back plane pin 49" "Front,Back" bitfld.long 0x0C 16. " BPEN_48 ,Back plane pin 48" "Front,Back" textline " " endif bitfld.long 0x0C 15. " BPEN_47 ,Back plane pin 47" "Front,Back" bitfld.long 0x0C 14. " BPEN_46 ,Back plane pin 46" "Front,Back" bitfld.long 0x0C 13. " BPEN_45 ,Back plane pin 45" "Front,Back" textline " " bitfld.long 0x0C 12. " BPEN_44 ,Back plane pin 44" "Front,Back" textline " " endif bitfld.long 0x0C 11. " BPEN_43 ,Back plane pin 43" "Front,Back" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" textline " " bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x0C 7. " BPEN_39 ,Back plane pin 39" "Front,Back" textline " " endif bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" bitfld.long 0x0C 5. " BPEN_37 ,Back plane pin 37" "Front,Back" bitfld.long 0x0C 4. " BPEN_36 ,Back plane pin 36" "Front,Back" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x0C 3. " BPEN_35 ,Back plane pin 35" "Front,Back" bitfld.long 0x0C 2. " BPEN_34 ,Back plane pin 34" "Front,Back" bitfld.long 0x0C 1. " BPEN_33 ,Back plane pin 33" "Front,Back" textline " " bitfld.long 0x0C 0. " BPEN_32 ,Back plane pin 32" "Front,Back" endif line.long 0x10 "LCD_WF3TO0,LCD Waveform Register" bitfld.long 0x10 31. " WF3[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 23. " WF2[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 15. " WF1[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 7. " WF0[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x10 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x10 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x14 "LCD_WF7TO4,LCD Waveform Register" bitfld.long 0x14 31. " WF7[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x14 23. " WF6[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " sif !cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10") bitfld.long 0x14 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 15. " WF5[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 7. " WF4[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x14 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x14 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" endif endif line.long 0x18 "LCD_WF11TO8,LCD Waveform Register" bitfld.long 0x18 31. " WF11[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 23. " WF10[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 15. " WF9[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 7. " WF8[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x18 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x18 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x1C "LCD_WF15TO12,LCD Waveform Register" bitfld.long 0x1C 31. " WF15[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 23. " WF14[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 15. " WF13[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 7. " WF12[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x1C 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x1C 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x20 "LCD_WF19TO16,LCD Waveform Register" bitfld.long 0x20 31. " WF19[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 23. " WF18[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 15. " WF17[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 7. " WF16[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x20 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x20 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x24 "LCD_WF23TO20,LCD Waveform Register" bitfld.long 0x24 31. " WF23[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 23. " WF22[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 15. " WF21[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 7. " WF20[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x24 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x24 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x28 "LCD_WF27TO24,LCD Waveform Register" bitfld.long 0x28 31. " WF27[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 23. " WF26[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 15. " WF25[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 7. " WF24[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x28 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x28 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x2C "LCD_WF31TO28,LCD Waveform Register" bitfld.long 0x2C 31. " WF31[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 23. " WF30[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 15. " WF29[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 7. " WF28[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x2C 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x2C 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" sif !cpuis("MK51DN512ZCLL10") group.long 0x40++0x03 line.long 0x00 "LCD_WF35TO32,LCD Waveform Register" bitfld.long 0x00 31. " WF35[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF34[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF33[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF32[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" endif group.long 0x44++0x07 line.long 0x00 "LCD_WF39TO36,LCD Waveform Register" sif !cpuis("MK51DN512ZCLL10") bitfld.long 0x00 31. " WF39[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " endif bitfld.long 0x00 23. " WF38[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF37[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF36[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF43TO40,LCD Waveform Register" bitfld.long 0x04 31. " WF43[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 23. " WF42[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF41[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF40[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" sif !cpuis("MKM34Z256VLL7*") group.long 0x4C++0x03 line.long 0x00 "LCD_WF47TO44,LCD Waveform Register" bitfld.long 0x00 31. " WF47[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF46[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF45[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF44[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") group.long 0x50++0x0B line.long 0x00 "LCD_WF51TO48,LCD Waveform Register" bitfld.long 0x00 31. " WF51[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF50[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF49[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF48[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x04 "LCD_WF55TO52,LCD Waveform Register" bitfld.long 0x04 31. " WF55[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 23. " WF54[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 15. " WF53[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 7. " WF52[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x04 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x04 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" line.long 0x08 "LCD_WF59TO56,LCD Waveform Register" bitfld.long 0x08 31. " WF59[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 23. " WF58[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 15. " WF57[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 7. " WF56[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x08 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x08 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" endif endif sif !cpuis("MK51DN512ZCLL10")&&!cpuis("MK51DN512ZCMC10")&&!cpuis("MK51DX256ZCMC10")&&!cpuis("MK51DN512ZCLQ10")&&!cpuis("MK51DN256ZCMD10")&&!cpuis("MK53DN512ZCLQ10")&&!cpuis("MK53DN512ZCMD10")&&!cpuis("MK53DX256ZCLQ10") group.long 0x5C++0x03 line.long 0x00 "LCD_WF59TO56,LCD Waveform Register" bitfld.long 0x00 31. " WF63[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 28. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 27. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 25. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 23. " WF62[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 22. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 16. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 15. " WF61[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 13. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 11. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 10. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF60[7] ,Segment H backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " [6] ,Segment G backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " [5] ,Segment F backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 4. " [4] ,Segment E backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 3. " [3] ,Segment D backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " [2] ,Segment C backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 1. " [1] ,Segment B backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " [0] ,Segment A backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " endif elif (cpu()=="MK40DN512ZVLQ10")||(cpu()=="MK40DN512ZVMD10")||(cpu()=="MK40DX128ZVLQ10")||(cpu()=="MK40DX256ZVLQ10")||(cpu()=="MK40DX256ZVMD10") group.long 0x10++0x3F line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 31. " PEN_31 ,LCD pin 31" "Disabled,Enabled" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" textline " " bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 26. " PEN_26 ,LCD pin 26" "Disabled,Enabled" bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" textline " " bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" bitfld.long 0x00 20. " PEN_20 ,LCD pin 20" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " PEN_19 ,LCD pin 19" "Disabled,Enabled" bitfld.long 0x00 18. " PEN_18 ,LCD pin 18" "Disabled,Enabled" bitfld.long 0x00 17. " PEN_17 ,LCD pin 17" "Disabled,Enabled" bitfld.long 0x00 16. " PEN_16 ,LCD pin 16" "Disabled,Enabled" textline " " bitfld.long 0x00 15. " PEN_15 ,LCD pin 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN_14 ,LCD pin 14" "Disabled,Enabled" bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" textline " " bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" bitfld.long 0x00 6. " PEN_6 ,LCD pin 6" "Disabled,Enabled" bitfld.long 0x00 5. " PEN_5 ,LCD pin 5" "Disabled,Enabled" bitfld.long 0x00 4. " PEN_4 ,LCD pin 4" "Disabled,Enabled" textline " " bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" bitfld.long 0x04 15. " PEN_47 ,LCD pin 47" "Disabled,Enabled" bitfld.long 0x04 14. " PEN_46 ,LCD pin 46" "Disabled,Enabled" bitfld.long 0x04 13. " PEN_45 ,LCD pin 45" "Disabled,Enabled" bitfld.long 0x04 12. " PEN_44 ,LCD pin 44" "Disabled,Enabled" textline " " bitfld.long 0x04 11. " PEN_43 ,LCD pin 43" "Disabled,Enabled" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" textline " " bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" bitfld.long 0x04 5. " PEN_37 ,LCD pin 37" "Disabled,Enabled" bitfld.long 0x04 4. " PEN_36 ,LCD pin 36" "Disabled,Enabled" bitfld.long 0x04 3. " PEN_35 ,LCD pin 35" "Disabled,Enabled" textline " " bitfld.long 0x04 2. " PEN_34 ,LCD pin 34" "Disabled,Enabled" bitfld.long 0x04 1. " PEN_33 ,LCD pin 33" "Disabled,Enabled" bitfld.long 0x04 0. " PEN_32 ,LCD pin 32" "Disabled,Enabled" line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 31. " BPEN_31 ,Back plane pin 31" "Front,Back" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" textline " " bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 26. " BPEN_26 ,Back plane pin 26" "Front,Back" bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" textline " " bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back plane pin 21" "Front,Back" bitfld.long 0x08 20. " BPEN_20 ,Back plane pin 20" "Front,Back" textline " " bitfld.long 0x08 19. " BPEN_19 ,Back plane pin 19" "Front,Back" bitfld.long 0x08 18. " BPEN_18 ,Back plane pin 18" "Front,Back" bitfld.long 0x08 17. " BPEN_17 ,Back plane pin 17" "Front,Back" bitfld.long 0x08 16. " BPEN_16 ,Back plane pin 16" "Front,Back" textline " " bitfld.long 0x08 15. " BPEN_15 ,Back plane pin 15" "Front,Back" bitfld.long 0x08 14. " BPEN_14 ,Back plane pin 14" "Front,Back" bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" textline " " bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" textline " " bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" bitfld.long 0x08 6. " BPEN_6 ,Back plane pin 6" "Front,Back" bitfld.long 0x08 5. " BPEN_5 ,Back plane pin 5" "Front,Back" bitfld.long 0x08 4. " BPEN_4 ,Back plane pin 4" "Front,Back" textline " " bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" bitfld.long 0x0C 15. " BPEN_47 ,Back plane pin 47" "Front,Back" bitfld.long 0x0C 14. " BPEN_46 ,Back plane pin 46" "Front,Back" bitfld.long 0x0C 13. " BPEN_45 ,Back plane pin 45" "Front,Back" bitfld.long 0x0C 12. " BPEN_44 ,Back plane pin 44" "Front,Back" textline " " bitfld.long 0x0C 11. " BPEN_43 ,Back plane pin 43" "Front,Back" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" textline " " bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" bitfld.long 0x0C 5. " BPEN_37 ,Back plane pin 37" "Front,Back" bitfld.long 0x0C 4. " BPEN_36 ,Back plane pin 36" "Front,Back" bitfld.long 0x0C 3. " BPEN_35 ,Back plane pin 35" "Front,Back" textline " " bitfld.long 0x0C 2. " BPEN_34 ,Back plane pin 34" "Front,Back" bitfld.long 0x0C 1. " BPEN_33 ,Back plane pin 33" "Front,Back" bitfld.long 0x0C 0. " BPEN_32 ,Back plane pin 32" "Front,Back" line.long 0x10 "LCD_WF3TO0,LCD Waveform Register" hexmask.long.byte 0x10 24.--31. 1. " WF3 ,Waveform pin 3" hexmask.long.byte 0x10 16.--23. 1. " WF2 ,Waveform pin 2" hexmask.long.byte 0x10 8.--15. 1. " WF1 ,Waveform pin 1" hexmask.long.byte 0x10 0.--7. 1. " WF0 ,Waveform pin 0" line.long 0x14 "LCD_WF7TO4,LCD Waveform Register" hexmask.long.byte 0x14 24.--31. 1. " WF7 ,Waveform pin 7" hexmask.long.byte 0x14 16.--23. 1. " WF6 ,Waveform pin 6" hexmask.long.byte 0x14 8.--15. 1. " WF5 ,Waveform pin 5" hexmask.long.byte 0x14 0.--7. 1. " WF4 ,Waveform pin 4" line.long 0x18 "LCD_WF11TO8,LCD Waveform Register" hexmask.long.byte 0x18 24.--31. 1. " WF11 ,Waveform pin 11" hexmask.long.byte 0x18 16.--23. 1. " WF10 ,Waveform pin 10" hexmask.long.byte 0x18 8.--15. 1. " WF9 ,Waveform pin 9" hexmask.long.byte 0x18 0.--7. 1. " WF8 ,Waveform pin 8" line.long 0x1C "LCD_WF15TO12,LCD Waveform Register" hexmask.long.byte 0x1C 24.--31. 1. " WF15 ,Waveform pin 15" hexmask.long.byte 0x1C 16.--23. 1. " WF14 ,Waveform pin 14" hexmask.long.byte 0x1C 8.--15. 1. " WF13 ,Waveform pin 13" hexmask.long.byte 0x1C 0.--7. 1. " WF12 ,Waveform pin 12" line.long 0x20 "LCD_WF19TO16,LCD Waveform Register" hexmask.long.byte 0x20 24.--31. 1. " WF19 ,Waveform pin 19" hexmask.long.byte 0x20 16.--23. 1. " WF18 ,Waveform pin 18" hexmask.long.byte 0x20 8.--15. 1. " WF17 ,Waveform pin 17" hexmask.long.byte 0x20 0.--7. 1. " WF16 ,Waveform pin 16" line.long 0x24 "LCD_WF23TO20,LCD Waveform Register" hexmask.long.byte 0x24 24.--31. 1. " WF23 ,Waveform pin 23" hexmask.long.byte 0x24 16.--23. 1. " WF22 ,Waveform pin 22" hexmask.long.byte 0x24 8.--15. 1. " WF21 ,Waveform pin 21" hexmask.long.byte 0x24 0.--7. 1. " WF20 ,Waveform pin 20" line.long 0x28 "LCD_WF27TO24,LCD Waveform Register" hexmask.long.byte 0x28 24.--31. 1. " WF27 ,Waveform pin 27" hexmask.long.byte 0x28 16.--23. 1. " WF26 ,Waveform pin 26" hexmask.long.byte 0x28 8.--15. 1. " WF25 ,Waveform pin 25" hexmask.long.byte 0x28 0.--7. 1. " WF24 ,Waveform pin 24" line.long 0x2C "LCD_WF31TO28,LCD Waveform Register" hexmask.long.byte 0x2C 24.--31. 1. " WF31 ,Waveform pin 31" hexmask.long.byte 0x2C 16.--23. 1. " WF30 ,Waveform pin 30" hexmask.long.byte 0x2C 8.--15. 1. " WF29 ,Waveform pin 29" hexmask.long.byte 0x2C 0.--7. 1. " WF28 ,Waveform pin 28" line.long 0x30 "LCD_WF35TO32,LCD Waveform Register" hexmask.long.byte 0x30 24.--31. 1. " WF35 ,Waveform pin 35" hexmask.long.byte 0x30 16.--23. 1. " WF34 ,Waveform pin 34" hexmask.long.byte 0x30 8.--15. 1. " WF33 ,Waveform pin 33" hexmask.long.byte 0x30 0.--7. 1. " WF32 ,Waveform pin 32" line.long 0x34 "LCD_WF39TO36,LCD Waveform Register" hexmask.long.byte 0x34 24.--31. 1. " WF39 ,Waveform pin 39" hexmask.long.byte 0x34 16.--23. 1. " WF38 ,Waveform pin 38" hexmask.long.byte 0x34 8.--15. 1. " WF37 ,Waveform pin 37" hexmask.long.byte 0x34 0.--7. 1. " WF36 ,Waveform pin 36" line.long 0x38 "LCD_WF43TO40,LCD Waveform Register" hexmask.long.byte 0x38 24.--31. 1. " WF43 ,Waveform pin 43" hexmask.long.byte 0x38 16.--23. 1. " WF42 ,Waveform pin 42" hexmask.long.byte 0x38 8.--15. 1. " WF41 ,Waveform pin 41" hexmask.long.byte 0x38 0.--7. 1. " WF40 ,Waveform pin 40" line.long 0x3C "LCD_WF47TO44,LCD Waveform Register" hexmask.long.byte 0x3C 24.--31. 1. " WF47 ,Waveform pin 47" hexmask.long.byte 0x3C 16.--23. 1. " WF46 ,Waveform pin 46" hexmask.long.byte 0x3C 8.--15. 1. " WF45 ,Waveform pin 45" hexmask.long.byte 0x3C 0.--7. 1. " WF44 ,Waveform pin 44" textline " " elif (cpu()=="MK40DN512ZVLL10") group.long 0x10++0x3F line.long 0x00 "LCD_PENL,LCD Pin Enable Register Low" bitfld.long 0x00 31. " PEN_31 ,LCD pin 31" "Disabled,Enabled" bitfld.long 0x00 30. " PEN_30 ,LCD pin 30" "Disabled,Enabled" bitfld.long 0x00 28. " PEN_28 ,LCD pin 28" "Disabled,Enabled" bitfld.long 0x00 29. " PEN_29 ,LCD pin 29" "Disabled,Enabled" textline " " bitfld.long 0x00 27. " PEN_27 ,LCD pin 27" "Disabled,Enabled" bitfld.long 0x00 26. " PEN_26 ,LCD pin 26" "Disabled,Enabled" bitfld.long 0x00 25. " PEN_25 ,LCD pin 25" "Disabled,Enabled" bitfld.long 0x00 24. " PEN_24 ,LCD pin 24" "Disabled,Enabled" textline " " bitfld.long 0x00 23. " PEN_23 ,LCD pin 23" "Disabled,Enabled" bitfld.long 0x00 22. " PEN_22 ,LCD pin 22" "Disabled,Enabled" bitfld.long 0x00 21. " PEN_21 ,LCD pin 21" "Disabled,Enabled" bitfld.long 0x00 20. " PEN_20 ,LCD pin 20" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " PEN_19 ,LCD pin 19" "Disabled,Enabled" bitfld.long 0x00 18. " PEN_18 ,LCD pin 18" "Disabled,Enabled" bitfld.long 0x00 17. " PEN_17 ,LCD pin 17" "Disabled,Enabled" bitfld.long 0x00 16. " PEN_16 ,LCD pin 16" "Disabled,Enabled" textline " " bitfld.long 0x00 15. " PEN_15 ,LCD pin 15" "Disabled,Enabled" bitfld.long 0x00 14. " PEN_14 ,LCD pin 14" "Disabled,Enabled" bitfld.long 0x00 13. " PEN_13 ,LCD pin 13" "Disabled,Enabled" bitfld.long 0x00 12. " PEN_12 ,LCD pin 12" "Disabled,Enabled" textline " " bitfld.long 0x00 11. " PEN_11 ,LCD pin 11" "Disabled,Enabled" bitfld.long 0x00 10. " PEN_10 ,LCD pin 10" "Disabled,Enabled" bitfld.long 0x00 9. " PEN_9 ,LCD pin 9" "Disabled,Enabled" bitfld.long 0x00 8. " PEN_8 ,LCD pin 8" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN_7 ,LCD pin 7" "Disabled,Enabled" bitfld.long 0x00 3. " PEN_3 ,LCD pin 3" "Disabled,Enabled" bitfld.long 0x00 2. " PEN_2 ,LCD pin 2" "Disabled,Enabled" bitfld.long 0x00 1. " PEN_1 ,LCD pin 1" "Disabled,Enabled" textline " " bitfld.long 0x00 0. " PEN_0 ,LCD pin 0" "Disabled,Enabled" line.long 0x04 "LPC_PENH,LCD Pin Enable Register High" bitfld.long 0x04 15. " PEN_47 ,LCD pin 47" "Disabled,Enabled" bitfld.long 0x04 14. " PEN_46 ,LCD pin 46" "Disabled,Enabled" bitfld.long 0x04 13. " PEN_45 ,LCD pin 45" "Disabled,Enabled" bitfld.long 0x04 12. " PEN_44 ,LCD pin 44" "Disabled,Enabled" textline " " bitfld.long 0x04 11. " PEN_43 ,LCD pin 43" "Disabled,Enabled" bitfld.long 0x04 10. " PEN_42 ,LCD pin 42" "Disabled,Enabled" bitfld.long 0x04 9. " PEN_41 ,LCD pin 41" "Disabled,Enabled" bitfld.long 0x04 8. " PEN_40 ,LCD pin 40" "Disabled,Enabled" textline " " bitfld.long 0x04 6. " PEN_38 ,LCD pin 38" "Disabled,Enabled" bitfld.long 0x04 5. " PEN_37 ,LCD pin 37" "Disabled,Enabled" bitfld.long 0x04 4. " PEN_36 ,LCD pin 36" "Disabled,Enabled" line.long 0x08 "LCD_BPENL,LCD Back Plane Enable Register Low" bitfld.long 0x08 31. " BPEN_31 ,Back plane pin 31" "Front,Back" bitfld.long 0x08 30. " BPEN_30 ,Back plane pin 30" "Front,Back" bitfld.long 0x08 29. " BPEN_29 ,Back plane pin 29" "Front,Back" bitfld.long 0x08 28. " BPEN_28 ,Back plane pin 28" "Front,Back" textline " " bitfld.long 0x08 27. " BPEN_27 ,Back plane pin 27" "Front,Back" bitfld.long 0x08 26. " BPEN_26 ,Back plane pin 26" "Front,Back" bitfld.long 0x08 25. " BPEN_25 ,Back plane pin 25" "Front,Back" bitfld.long 0x08 24. " BPEN_24 ,Back plane pin 24" "Front,Back" textline " " bitfld.long 0x08 23. " BPEN_23 ,Back plane pin 23" "Front,Back" bitfld.long 0x08 22. " BPEN_22 ,Back plane pin 22" "Front,Back" bitfld.long 0x08 21. " BPEN_21 ,Back plane pin 21" "Front,Back" textline " " bitfld.long 0x08 20. " BPEN_20 ,Back plane pin 20" "Front,Back" bitfld.long 0x08 19. " BPEN_19 ,Back plane pin 19" "Front,Back" bitfld.long 0x08 18. " BPEN_18 ,Back plane pin 18" "Front,Back" bitfld.long 0x08 17. " BPEN_17 ,Back plane pin 17" "Front,Back" textline " " bitfld.long 0x08 16. " BPEN_16 ,Back plane pin 16" "Front,Back" bitfld.long 0x08 15. " BPEN_15 ,Back plane pin 15" "Front,Back" bitfld.long 0x08 14. " BPEN_14 ,Back plane pin 14" "Front,Back" bitfld.long 0x08 13. " BPEN_13 ,Back plane pin 13" "Front,Back" textline " " bitfld.long 0x08 12. " BPEN_12 ,Back plane pin 12" "Front,Back" bitfld.long 0x08 11. " BPEN_11 ,Back plane pin 11" "Front,Back" bitfld.long 0x08 10. " BPEN_10 ,Back plane pin 10" "Front,Back" bitfld.long 0x08 9. " BPEN_9 ,Back plane pin 9" "Front,Back" textline " " bitfld.long 0x08 8. " BPEN_8 ,Back plane pin 8" "Front,Back" bitfld.long 0x08 7. " BPEN_7 ,Back plane pin 7" "Front,Back" bitfld.long 0x08 3. " BPEN_3 ,Back plane pin 3" "Front,Back" bitfld.long 0x08 2. " BPEN_2 ,Back plane pin 2" "Front,Back" textline " " bitfld.long 0x08 1. " BPEN_1 ,Back plane pin 1" "Front,Back" bitfld.long 0x08 0. " BPEN_0 ,Back plane pin 0" "Front,Back" line.long 0x0C "LCD_BPENH,LCD Back Plane Enable Register High" bitfld.long 0x0C 15. " BPEN_47 ,Back plane pin 47" "Front,Back" bitfld.long 0x0C 14. " BPEN_46 ,Back plane pin 46" "Front,Back" bitfld.long 0x0C 13. " BPEN_45 ,Back plane pin 45" "Front,Back" bitfld.long 0x0C 12. " BPEN_44 ,Back plane pin 44" "Front,Back" textline " " bitfld.long 0x0C 11. " BPEN_43 ,Back plane pin 43" "Front,Back" bitfld.long 0x0C 10. " BPEN_42 ,Back plane pin 42" "Front,Back" bitfld.long 0x0C 9. " BPEN_41 ,Back plane pin 41" "Front,Back" bitfld.long 0x0C 8. " BPEN_40 ,Back plane pin 40" "Front,Back" textline " " bitfld.long 0x0C 6. " BPEN_38 ,Back plane pin 38" "Front,Back" bitfld.long 0x0C 5. " BPEN_37 ,Back plane pin 37" "Front,Back" bitfld.long 0x0C 4. " BPEN_36 ,Back plane pin 36" "Front,Back" line.long 0x10 "LCD_WF3TO0,LCD Waveform Register" hexmask.long.byte 0x10 24.--31. 1. " WF3 ,Waveform pin 3" hexmask.long.byte 0x10 16.--23. 1. " WF2 ,Waveform pin 2" hexmask.long.byte 0x10 8.--15. 1. " WF1 ,Waveform pin 1" hexmask.long.byte 0x10 0.--7. 1. " WF0 ,Waveform pin 0" line.long 0x14 "LCD_WF7TO4,LCD Waveform Register" hexmask.long.byte 0x14 24.--31. 1. " WF7 ,Waveform pin 7" line.long 0x18 "LCD_WF11TO8,LCD Waveform Register" hexmask.long.byte 0x18 24.--31. 1. " WF11 ,Waveform pin 11" hexmask.long.byte 0x18 16.--23. 1. " WF10 ,Waveform pin 10" hexmask.long.byte 0x18 8.--15. 1. " WF9 ,Waveform pin 9" hexmask.long.byte 0x18 0.--7. 1. " WF8 ,Waveform pin 8" line.long 0x1C "LCD_WF15TO12,LCD Waveform Register" hexmask.long.byte 0x1C 24.--31. 1. " WF15 ,Waveform pin 15" hexmask.long.byte 0x1C 16.--23. 1. " WF14 ,Waveform pin 14" hexmask.long.byte 0x1C 8.--15. 1. " WF13 ,Waveform pin 13" hexmask.long.byte 0x1C 0.--7. 1. " WF12 ,Waveform pin 12" line.long 0x20 "LCD_WF19TO16,LCD Waveform Register" hexmask.long.byte 0x20 24.--31. 1. " WF19 ,Waveform pin 19" hexmask.long.byte 0x20 16.--23. 1. " WF18 ,Waveform pin 18" hexmask.long.byte 0x20 8.--15. 1. " WF17 ,Waveform pin 17" hexmask.long.byte 0x20 0.--7. 1. " WF16 ,Waveform pin 16" line.long 0x24 "LCD_WF23TO20,LCD Waveform Register" hexmask.long.byte 0x24 24.--31. 1. " WF23 ,Waveform pin 23" hexmask.long.byte 0x24 16.--23. 1. " WF22 ,Waveform pin 22" hexmask.long.byte 0x24 8.--15. 1. " WF21 ,Waveform pin 21" hexmask.long.byte 0x24 0.--7. 1. " WF20 ,Waveform pin 20" line.long 0x28 "LCD_WF27TO24,LCD Waveform Register" hexmask.long.byte 0x28 24.--31. 1. " WF27 ,Waveform pin 27" hexmask.long.byte 0x28 16.--23. 1. " WF26 ,Waveform pin 26" hexmask.long.byte 0x28 8.--15. 1. " WF25 ,Waveform pin 25" hexmask.long.byte 0x28 0.--7. 1. " WF24 ,Waveform pin 24" line.long 0x2C "LCD_WF31TO28,LCD Waveform Register" hexmask.long.byte 0x2C 24.--31. 1. " WF31 ,Waveform pin 31" hexmask.long.byte 0x2C 16.--23. 1. " WF30 ,Waveform pin 30" hexmask.long.byte 0x2C 8.--15. 1. " WF29 ,Waveform pin 29" hexmask.long.byte 0x2C 0.--7. 1. " WF28 ,Waveform pin 28" group.long 0x44++0x0B line.long 0x00 "LCD_WF39TO36,LCD Waveform Register" hexmask.long.byte 0x00 16.--23. 1. " WF38 ,Waveform pin 38" hexmask.long.byte 0x00 8.--15. 1. " WF37 ,Waveform pin 37" hexmask.long.byte 0x00 0.--7. 1. " WF36 ,Waveform pin 36" line.long 0x04 "LCD_WF43TO40,LCD Waveform Register" hexmask.long.byte 0x04 24.--31. 1. " WF43 ,Waveform pin 43" hexmask.long.byte 0x04 16.--23. 1. " WF42 ,Waveform pin 42" hexmask.long.byte 0x04 8.--15. 1. " WF41 ,Waveform pin 41" hexmask.long.byte 0x04 0.--7. 1. " WF40 ,Waveform pin 40" line.long 0x08 "LCD_WF47TO44,LCD Waveform Register" hexmask.long.byte 0x08 24.--31. 1. " WF47 ,Waveform pin 47" hexmask.long.byte 0x08 16.--23. 1. " WF46 ,Waveform pin 46" hexmask.long.byte 0x08 8.--15. 1. " WF45 ,Waveform pin 45" hexmask.long.byte 0x08 0.--7. 1. " WF44 ,Waveform pin 44" textline " " else width 7. group.long 0x10++0x0F line.long 0x00 "PENL,LCD Pin Enable Low Register" bitfld.long 0x00 31. " PEN31 ,LCD pin 31 enable" "Disabled,Enabled" bitfld.long 0x00 30. " PEN30 ,LCD pin 30 enable" "Disabled,Enabled" bitfld.long 0x00 29. " PEN29 ,LCD pin 29 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 28. " PEN28 ,LCD pin 28 enable" "Disabled,Enabled" bitfld.long 0x00 27. " PEN27 ,LCD pin 27 enable" "Disabled,Enabled" bitfld.long 0x00 26. " PEN26 ,LCD pin 26 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 25. " PEN25 ,LCD pin 25 enable" "Disabled,Enabled" bitfld.long 0x00 24. " PEN24 ,LCD pin 24 enable" "Disabled,Enabled" bitfld.long 0x00 23. " PEN23 ,LCD pin 23 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 22. " PEN22 ,LCD pin 22 enable" "Disabled,Enabled" bitfld.long 0x00 21. " PEN21 ,LCD pin 21 enable" "Disabled,Enabled" bitfld.long 0x00 20. " PEN20 ,LCD pin 20 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 19. " PEN19 ,LCD pin 19 enable" "Disabled,Enabled" bitfld.long 0x00 18. " PEN18 ,LCD pin 18 enable" "Disabled,Enabled" bitfld.long 0x00 17. " PEN17 ,LCD pin 17 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 16. " PEN16 ,LCD pin 16 enable" "Disabled,Enabled" bitfld.long 0x00 15. " PEN15 ,LCD pin 15 enable" "Disabled,Enabled" bitfld.long 0x00 14. " PEN14 ,LCD pin 14 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 13. " PEN13 ,LCD pin 13 enable" "Disabled,Enabled" bitfld.long 0x00 12. " PEN12 ,LCD pin 12 enable" "Disabled,Enabled" bitfld.long 0x00 11. " PEN11 ,LCD pin 11 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 10. " PEN10 ,LCD pin 10 enable" "Disabled,Enabled" bitfld.long 0x00 9. " PEN9 ,LCD pin 9 enable" "Disabled,Enabled" bitfld.long 0x00 8. " PEN8 ,LCD pin 8 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 7. " PEN7 ,LCD pin 7 enable" "Disabled,Enabled" bitfld.long 0x00 6. " PEN6 ,LCD pin 6 enable" "Disabled,Enabled" bitfld.long 0x00 5. " PEN5 ,LCD pin 5 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 4. " PEN4 ,LCD pin 4 enable" "Disabled,Enabled" bitfld.long 0x00 3. " PEN3 ,LCD pin 3 enable" "Disabled,Enabled" bitfld.long 0x00 2. " PEN2 ,LCD pin 2 enable" "Disabled,Enabled" textline " " bitfld.long 0x00 1. " PEN1 ,LCD pin 1 enable" "Disabled,Enabled" bitfld.long 0x00 0. " PEN0 ,LCD pin 0 enable" "Disabled,Enabled" line.long 0x04 "PENH,LCD Pin Enable High Register" bitfld.long 0x04 31. " PEN63 ,LCD pin 63 enable" "Disabled,Enabled" bitfld.long 0x04 30. " PEN62 ,LCD pin 62 enable" "Disabled,Enabled" bitfld.long 0x04 29. " PEN61 ,LCD pin 61 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 28. " PEN60 ,LCD pin 60 enable" "Disabled,Enabled" bitfld.long 0x04 27. " PEN59 ,LCD pin 59 enable" "Disabled,Enabled" bitfld.long 0x04 26. " PEN58 ,LCD pin 58 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 25. " PEN57 ,LCD pin 57 enable" "Disabled,Enabled" bitfld.long 0x04 24. " PEN56 ,LCD pin 56 enable" "Disabled,Enabled" bitfld.long 0x04 23. " PEN55 ,LCD pin 55 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 22. " PEN54 ,LCD pin 54 enable" "Disabled,Enabled" bitfld.long 0x04 21. " PEN53 ,LCD pin 53 enable" "Disabled,Enabled" bitfld.long 0x04 20. " PEN52 ,LCD pin 52 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 19. " PEN51 ,LCD pin 51 enable" "Disabled,Enabled" bitfld.long 0x04 18. " PEN50 ,LCD pin 50 enable" "Disabled,Enabled" bitfld.long 0x04 17. " PEN49 ,LCD pin 49 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 16. " PEN48 ,LCD pin 48 enable" "Disabled,Enabled" bitfld.long 0x04 15. " PEN47 ,LCD pin 47 enable" "Disabled,Enabled" bitfld.long 0x04 14. " PEN46 ,LCD pin 46 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 13. " PEN45 ,LCD pin 45 enable" "Disabled,Enabled" bitfld.long 0x04 12. " PEN44 ,LCD pin 44 enable" "Disabled,Enabled" bitfld.long 0x04 11. " PEN43 ,LCD pin 43 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 10. " PEN42 ,LCD pin 42 enable" "Disabled,Enabled" bitfld.long 0x04 9. " PEN41 ,LCD pin 41 enable" "Disabled,Enabled" bitfld.long 0x04 8. " PEN40 ,LCD pin 40 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 7. " PEN39 ,LCD pin 39 enable" "Disabled,Enabled" bitfld.long 0x04 6. " PEN38 ,LCD pin 38 enable" "Disabled,Enabled" bitfld.long 0x04 5. " PEN37 ,LCD pin 37 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 4. " PEN36 ,LCD pin 36 enable" "Disabled,Enabled" bitfld.long 0x04 3. " PEN35 ,LCD pin 35 enable" "Disabled,Enabled" bitfld.long 0x04 2. " PEN34 ,LCD pin 34 enable" "Disabled,Enabled" textline " " bitfld.long 0x04 1. " PEN33 ,LCD pin 33 enable" "Disabled,Enabled" bitfld.long 0x04 0. " PEN32 ,LCD pin 32 enable" "Disabled,Enabled" line.long 0x08 "BPENL,LCD Backplane Enable Low Register" bitfld.long 0x08 31. " BPEN31 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 30. " BPEN30 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 29. " BPEN29 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 28. " BPEN28 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 27. " BPEN27 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 26. " BPEN26 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 25. " BPEN25 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 24. " BPEN24 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 23. " BPEN23 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 22. " BPEN22 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 21. " BPEN21 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 20. " BPEN20 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 19. " BPEN19 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 18. " BPEN18 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 17. " BPEN17 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 16. " BPEN16 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 15. " BPEN15 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 14. " BPEN14 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 13. " BPEN13 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 12. " BPEN12 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 11. " BPEN11 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 10. " BPEN10 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 9. " BPEN9 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 8. " BPEN8 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 7. " BPEN7 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 6. " BPEN6 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 5. " BPEN5 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 4. " BPEN4 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 3. " BPEN3 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 2. " BPEN2 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x08 1. " BPEN1 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x08 0. " BPEN0 ,Backplane enable" "Disabled,Enabled" line.long 0x0C "BPENH,LCD Backplane Enable High Register" bitfld.long 0x0C 31. " BPEN63 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 30. " BPEN62 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 29. " BPEN61 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 28. " BPEN60 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 27. " BPEN59 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 26. " BPEN58 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 25. " BPEN57 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 24. " BPEN56 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 23. " BPEN55 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 22. " BPEN54 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 21. " BPEN53 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 20. " BPEN52 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 19. " BPEN51 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 18. " BPEN50 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 17. " BPEN49 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 16. " BPEN48 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 15. " BPEN47 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 14. " BPEN46 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 13. " BPEN45 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 12. " BPEN44 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 11. " BPEN43 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 10. " BPEN42 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 9. " BPEN41 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 8. " BPEN40 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 7. " BPEN39 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 6. " BPEN38 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 5. " BPEN37 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 4. " BPEN36 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 3. " BPEN35 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 2. " BPEN34 ,Backplane enable" "Disabled,Enabled" textline " " bitfld.long 0x0C 1. " BPEN33 ,Backplane enable" "Disabled,Enabled" bitfld.long 0x0C 0. " BPEN32 ,Backplane enable" "Disabled,Enabled" width 10. textline " " tree "LCD Waveform Registers" group.long 0x20++0x03 line.long 0x00 "WF3TO0,LCD waveform register" bitfld.long 0x00 31. " WF3[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF3[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF3[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF3[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF3[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF3[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF3[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF3[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF2[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF2[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF2[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF2[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF2[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF2[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF2[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF2[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF1[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF1[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF1[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF1[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF1[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF1[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF1[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF1[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF0[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF0[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF0[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF0[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF0[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF0[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF0[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF0[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x24++0x03 line.long 0x00 "WF7TO4,LCD waveform register" bitfld.long 0x00 31. " WF7[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF7[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF7[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF7[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF7[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF7[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF7[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF7[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF6[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF6[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF6[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF6[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF6[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF6[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF6[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF6[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF5[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF5[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF5[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF5[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF5[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF5[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF5[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF5[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF4[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF4[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF4[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF4[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF4[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF4[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF4[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF4[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x28++0x03 line.long 0x00 "WF11TO8,LCD waveform register" bitfld.long 0x00 31. " WF11[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF11[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF11[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF11[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF11[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF11[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF11[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF11[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF10[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF10[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF10[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF10[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF10[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF10[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF10[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF10[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF9[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF9[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF9[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF9[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF9[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF9[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF9[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF9[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF8[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF8[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF8[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF8[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF8[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF8[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF8[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF8[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x2C++0x03 line.long 0x00 "WF15TO12,LCD waveform register" bitfld.long 0x00 31. " WF15[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF15[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF15[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF15[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF15[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF15[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF15[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF15[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF14[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF14[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF14[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF14[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF14[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF14[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF14[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF14[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF13[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF13[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF13[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF13[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF13[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF13[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF13[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF13[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF12[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF12[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF12[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF12[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF12[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF12[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF12[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF12[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x30++0x03 line.long 0x00 "WF19TO16,LCD waveform register" bitfld.long 0x00 31. " WF19[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF19[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF19[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF19[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF19[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF19[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF19[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF19[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF18[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF18[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF18[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF18[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF18[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF18[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF18[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF18[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF17[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF17[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF17[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF17[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF17[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF17[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF17[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF17[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF16[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF16[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF16[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF16[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF16[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF16[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF16[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF16[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x34++0x03 line.long 0x00 "WF23TO20,LCD waveform register" bitfld.long 0x00 31. " WF23[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF23[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF23[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF23[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF23[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF23[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF23[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF23[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF22[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF22[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF22[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF22[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF22[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF22[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF22[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF22[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF21[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF21[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF21[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF21[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF21[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF21[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF21[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF21[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF20[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF20[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF20[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF20[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF20[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF20[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF20[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF20[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x38++0x03 line.long 0x00 "WF27TO24,LCD waveform register" bitfld.long 0x00 31. " WF27[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF27[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF27[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF27[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF27[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF27[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF27[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF27[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF26[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF26[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF26[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF26[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF26[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF26[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF26[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF26[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF25[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF25[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF25[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF25[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF25[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF25[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF25[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF25[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF24[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF24[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF24[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF24[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF24[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF24[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF24[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF24[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x3C++0x03 line.long 0x00 "WF31TO28,LCD waveform register" bitfld.long 0x00 31. " WF31[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF31[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF31[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF31[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF31[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF31[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF31[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF31[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF30[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF30[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF30[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF30[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF30[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF30[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF30[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF30[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF29[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF29[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF29[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF29[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF29[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF29[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF29[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF29[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF28[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF28[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF28[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF28[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF28[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF28[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF28[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF28[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x40++0x03 line.long 0x00 "WF35TO32,LCD waveform register" bitfld.long 0x00 31. " WF35[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF35[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF35[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF35[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF35[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF35[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF35[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF35[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF34[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF34[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF34[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF34[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF34[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF34[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF34[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF34[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF33[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF33[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF33[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF33[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF33[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF33[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF33[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF33[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF32[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF32[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF32[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF32[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF32[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF32[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF32[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF32[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x44++0x03 line.long 0x00 "WF39TO36,LCD waveform register" bitfld.long 0x00 31. " WF39[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF39[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF39[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF39[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF39[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF39[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF39[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF39[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF38[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF38[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF38[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF38[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF38[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF38[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF38[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF38[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF37[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF37[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF37[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF37[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF37[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF37[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF37[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF37[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF36[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF36[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF36[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF36[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF36[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF36[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF36[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF36[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x48++0x03 line.long 0x00 "WF43TO40,LCD waveform register" bitfld.long 0x00 31. " WF43[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF43[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF43[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF43[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF43[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF43[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF43[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF43[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF42[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF42[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF42[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF42[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF42[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF42[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF42[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF42[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF41[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF41[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF41[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF41[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF41[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF41[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF41[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF41[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF40[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF40[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF40[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF40[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF40[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF40[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF40[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF40[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x4C++0x03 line.long 0x00 "WF47TO44,LCD waveform register" bitfld.long 0x00 31. " WF47[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF47[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF47[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF47[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF47[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF47[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF47[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF47[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF46[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF46[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF46[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF46[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF46[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF46[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF46[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF46[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF45[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF45[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF45[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF45[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF45[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF45[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF45[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF45[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF44[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF44[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF44[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF44[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF44[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF44[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF44[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF44[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x50++0x03 line.long 0x00 "WF51TO48,LCD waveform register" bitfld.long 0x00 31. " WF51[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF51[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF51[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF51[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF51[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF51[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF51[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF51[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF50[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF50[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF50[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF50[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF50[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF50[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF50[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF50[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF49[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF49[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF49[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF49[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF49[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF49[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF49[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF49[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF48[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF48[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF48[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF48[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF48[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF48[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF48[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF48[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x54++0x03 line.long 0x00 "WF55TO52,LCD waveform register" bitfld.long 0x00 31. " WF55[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF55[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF55[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF55[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF55[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF55[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF55[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF55[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF54[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF54[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF54[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF54[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF54[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF54[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF54[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF54[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF53[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF53[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF53[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF53[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF53[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF53[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF53[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF53[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF52[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF52[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF52[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF52[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF52[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF52[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF52[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF52[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x58++0x03 line.long 0x00 "WF59TO56,LCD waveform register" bitfld.long 0x00 31. " WF59[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF59[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF59[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF59[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF59[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF59[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF59[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF59[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF58[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF58[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF58[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF58[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF58[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF58[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF58[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF58[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF57[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF57[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF57[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF57[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF57[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF57[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF57[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF57[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF56[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF56[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF56[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF56[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF56[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF56[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF56[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF56[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" group.long 0x5C++0x03 line.long 0x00 "WF63TO60,LCD waveform register" bitfld.long 0x00 31. " WF63[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 30. " WF63[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 29. " WF63[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 28. " WF63[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 27. " WF63[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 26. " WF63[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 25. " WF63[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 24. " WF63[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 23. " WF62[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 22. " WF62[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 21. " WF62[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 20. " WF62[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 19. " WF62[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 18. " WF62[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 17. " WF62[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 16. " WF62[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 15. " WF61[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 14. " WF61[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 13. " WF61[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 12. " WF61[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 11. " WF61[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 10. " WF61[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 9. " WF61[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 8. " WF61[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 7. " WF60[H] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 6. " WF60[G] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 5. " WF60[F] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 4. " WF60[E] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 3. " WF60[D] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 2. " WF60[C] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" textline " " bitfld.long 0x00 1. " WF60[B] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" bitfld.long 0x00 0. " WF60[A] ,Segment-on backplane operation (backplane: Disabled/Enabled)" "Segment off/Phase deactivated,Segment on/Phase activated" tree.end endif width 0xB tree.end endif tree.end textline ""